/* ==========================================================
   FaberSync — stiluri globale
   Temă deschisă, caldă și aerisită. Accent coral, carduri pastel.
   Secțiunile cu .theme-dark (CTA, footer) sunt închise.
   ========================================================== */

:root {
  --bg: #f7f7f5;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0efeb;
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.15);
  --text: #1d1d1f;
  --text-2: #55565d;
  --muted: #8b8c93;
  --head-soft: #a3a4aa;

  --coral: #ec736c;
  --coral-ink: #c4473f;
  --coral-soft: #fde9e5;
  --peach: #fdebe5;
  --lilac: #eeecfd;
  --mint: #e2f3ea;
  --sky: #e5effc;
  --butter: #fcf3da;
  --success: #1f9d63;

  --btn-bg: #1d1d1f;
  --btn-ink: #ffffff;

  --shadow-sm: 0 1px 2px rgba(29, 29, 31, 0.05), 0 8px 20px -12px rgba(29, 29, 31, 0.16);
  --shadow: 0 1px 2px rgba(29, 29, 31, 0.04), 0 20px 44px -24px rgba(29, 29, 31, 0.24);
  --shadow-lg: 0 2px 6px rgba(29, 29, 31, 0.05), 0 40px 80px -36px rgba(29, 29, 31, 0.34);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 62px;
  --nav-top: 14px;
  --header-h: calc(var(--nav-h) + var(--nav-top));

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --font-logo: "Montserrat", "Inter", sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.5, 0.64, 1);
}

.theme-dark {
  --bg: #18181b;
  --bg-2: #1f1f23;
  --surface: #242428;
  --surface-2: #2c2c31;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f4;
  --text-2: #c4c4c9;
  --muted: #8e8e95;
  --head-soft: #8e8e95;
  --coral: #f08a83;
  --coral-ink: #f6a39d;
  --btn-bg: #ffffff;
  --btn-ink: #1d1d1f;
  background: var(--bg);
  color: var(--text);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

::selection { background: var(--coral); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tipografie ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25; font-weight: 600; }

/* Titluri în două tonuri: a doua parte e mai deschisă */
.serif { color: var(--head-soft); }

p { margin: 0; color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text-2); max-width: 56ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-ink);
}

/* Cuvântul subliniat „de mână” (linia SVG e adăugată din main.js) */
.mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: inherit;
}
.mark-line {
  position: absolute;
  left: -4%;
  top: 90%;
  width: 108%;
  height: auto;
  aspect-ratio: 200 / 18;
  overflow: visible;
  pointer-events: none;
}
.mark-line path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s var(--ease) 0.55s;
}
.in .mark-line path,
.mark.in .mark-line path { stroke-dashoffset: 0; }

/* ---------- Butoane ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }

.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-accent { background: var(--coral); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: var(--bg-2); }
.theme-dark .btn-ghost { background: transparent; }

.btn-sm { height: 44px; padding: 0 20px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }

/* Hover doar pe dispozitive cu mouse, ca să nu rămână „lipit” pe touch */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(29, 29, 31, 0.55); }
  .theme-dark .btn-primary:hover { box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.4); }
  .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(236, 115, 108, 0.6); }
  .btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
  .theme-dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
  .link-arrow:hover svg { transform: translate(3px, -3px); }
}

/* Feedback la atingere pe telefon/tabletă */
@media (hover: none) {
  .btn:active { transform: scale(0.96); transition-duration: 0.12s; }
}

/* ---------- Header: bară „pastilă” plutitoare ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: var(--nav-top) var(--gutter) 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease);
}

.nav {
  pointer-events: auto;
  position: relative;
  max-width: var(--container);
  height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 9px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled .nav { background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-symbol { width: 27px; height: auto; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-word b { font-weight: 700; }
.logo-word span { font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(29, 29, 31, 0.06); }
@media (hover: hover) {
  .nav-links a:hover { color: var(--text); background: rgba(29, 29, 31, 0.05); }
}

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Butonul de limbă (RO / EN) */
.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .lang-switch:hover { color: var(--text); background: rgba(29, 29, 31, 0.05); border-color: transparent; }
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--btn-bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease);
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--btn-ink);
  transition: transform 0.45s var(--ease-spring), top 0.3s var(--ease), width 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 24px; width: 10px; }
.menu-toggle:active { transform: scale(0.9); }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; width: 16px; transform: rotate(-45deg); }

/* Meniul mobil: card mic care se deschide din colțul butonului */
.mobile-menu {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  right: var(--gutter);
  width: min(270px, calc(100vw - var(--gutter) * 2));
  padding: 8px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform-origin: calc(100% - 30px) -10px;
  transform: translateY(-8px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.45s;
}
.menu-open .mobile-menu {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.55s var(--ease-spring), opacity 0.25s var(--ease), visibility 0s;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mobile-menu .m-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-2);
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), background 0.2s, color 0.2s;
}
.mobile-menu .m-link::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.3;
}
.mobile-menu .m-link:active { background: var(--surface-2); color: var(--text); }
.mobile-menu .m-link[aria-current="page"] { color: var(--text); background: var(--coral-soft); }
.mobile-menu .m-link[aria-current="page"]::after {
  width: 7px; height: 7px; border: 0; border-radius: 50%;
  background: var(--coral); transform: none; opacity: 1;
}
.menu-open .mobile-menu .m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) .m-link { transition-delay: 0.05s; }
.menu-open .mobile-menu li:nth-child(2) .m-link { transition-delay: 0.08s; }
.menu-open .mobile-menu li:nth-child(3) .m-link { transition-delay: 0.11s; }
.menu-open .mobile-menu li:nth-child(4) .m-link { transition-delay: 0.14s; }
.menu-open .mobile-menu li:nth-child(5) .m-link { transition-delay: 0.17s; }

.m-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.menu-open .m-foot { opacity: 1; transform: none; transition-delay: 0.2s; }
.m-foot .btn { flex: 1; height: 44px; padding: 0 16px; font-size: 0.92rem; }
.m-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.m-icon svg { width: 19px; height: 19px; }
.m-icon.wa { background: #e3f8eb; color: #149c4b; }
.m-icon:active { transform: scale(0.9); }

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(29, 29, 31, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  -webkit-tap-highlight-color: transparent;
}
.menu-open .menu-scrim { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }

/* ---------- Secțiuni ---------- */

.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-tight { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section-alt,
.section-soft { background: var(--bg-2); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section-head .titles { display: grid; gap: 18px; max-width: 760px; }
.section-head p { max-width: 46ch; }
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.section-head.center h2 { max-width: 18ch; text-wrap: balance; }
.section-head.center p { max-width: 54ch; font-size: 1.08rem; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Pete de culoare moi, fără filter: blur (mai ușor pe telefoane) */
.blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; contain: paint; z-index: 0; }
.blobs i {
  position: absolute;
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.blobs .b1 { width: 620px; height: 620px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(236, 115, 108, 0.16), transparent 66%); }
.blobs .b2 { width: 560px; height: 560px; top: -200px; right: -200px; background: radial-gradient(circle, rgba(139, 124, 246, 0.14), transparent 66%); animation-delay: -6s; }
.blobs .b3 { width: 480px; height: 480px; bottom: -280px; left: 35%; background: radial-gradient(circle, rgba(246, 196, 83, 0.13), transparent 66%); animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

/* ---------- Hero (pagina principală) ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 10vw, 130px)) 0 clamp(70px, 9vw, 120px);
  text-align: center;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-title {
  margin-top: 24px;
  max-width: 1100px;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.hero-title .line { display: block; }

.hero-lead {
  margin-top: clamp(26px, 3vw, 34px);
  max-width: 48ch;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1.6s 2; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(16deg); }
  20%, 40% { transform: rotate(-8deg); }
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

.hero-trust {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--coral); }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(31, 157, 99, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(31, 157, 99, 0); } }

/* Etichetele care plutesc în jurul titlului (doar pe ecrane late) */
.hero-stickers { display: none; }
@media (min-width: 1200px) {
  .hero-stickers { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero-sticker {
    position: absolute;
    transform: translate3d(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px), 0);
    transition: transform 0.6s var(--ease);
  }
  .hero-sticker.s1 { top: calc(var(--header-h) + 70px); left: 6%; }
  .hero-sticker.s2 { top: calc(var(--header-h) + 110px); right: 6%; }
  .hero-sticker.s3 { bottom: 120px; left: 9%; }
  .hero-sticker.s4 { bottom: 150px; right: 8%; }
  .sticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    animation: stickerIn 0.9s var(--ease-spring) both, bob 6s ease-in-out infinite;
  }
  .s1 .sticker { rotate: -6deg; animation-delay: 0.9s, 1.8s; }
  .s2 .sticker { rotate: 5deg; animation-delay: 1.05s, 2.4s; }
  .s3 .sticker { rotate: 4deg; animation-delay: 1.2s, 3s; }
  .s4 .sticker { rotate: -4deg; animation-delay: 1.35s, 2.1s; }
}
.sticker .ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c, var(--peach));
  color: var(--text);
}
.sticker .ic svg { width: 16px; height: 16px; }
@keyframes stickerIn { from { opacity: 0; transform: translateY(16px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Page hero (sub-pagini): același stil, centrat */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 17ch; text-wrap: balance; }
.page-hero .lead { max-width: 52ch; text-wrap: pretty; }
.page-hero + .section-tight,
.page-hero + .section { padding-top: clamp(30px, 4vw, 50px); }

/* ---------- Panglici cu servicii (marquee) ---------- */

.ribbon {
  position: relative;
  padding: clamp(34px, 5vw, 56px) 0;
  overflow: hidden;
  contain: paint;
}
.ribbon-band {
  position: relative;
  width: 110%;
  margin-left: -5%;
  padding: 16px 0;
  overflow: hidden;
}
.ribbon-band.front { background: var(--text); color: #fff; transform: rotate(-2.2deg); z-index: 1; }
.ribbon-band.back { position: absolute; top: 50%; left: 0; margin-top: -28px; background: var(--coral-soft); color: var(--coral-ink); transform: rotate(2deg); }
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 46s; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: 0.8em; color: var(--coral); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Bento servicii ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--card, var(--bg-2));
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.bento-card.big { grid-column: span 3; min-height: 500px; }
.bento-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.bento-card.big h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.bento-card p { max-width: 44ch; }
.bento-card .link-arrow { margin-top: 4px; }
.bento-ico {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(29, 29, 31, 0.05);
}
.bento-ico svg { width: 23px; height: 23px; }
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.83rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.6);
}

/* Vizual „site care se construiește singur” */
.bento-visual { margin-top: auto; padding-top: 18px; }
.bv-browser {
  border-radius: 16px 16px 0 0;
  margin-bottom: calc(clamp(26px, 3vw, 38px) * -1);
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-bottom: 0;
  box-shadow: 0 30px 50px -30px rgba(29, 29, 31, 0.4);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.7s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .bv-browser { transform: translateY(0); }
}
.bv-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #f3f2ef; }
.bv-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdad5; }
.bv-bar em { margin-left: 10px; height: 14px; width: 38%; border-radius: 6px; background: #fff; font-style: normal; font-size: 9px; line-height: 14px; padding: 0 8px; color: #9a9aa0; overflow: hidden; white-space: nowrap; }
.bv-body { padding: 18px 20px 26px; display: grid; gap: 16px; }
.bv-nav { display: flex; align-items: center; gap: 10px; }
.bv-nav b { width: 54px; height: 8px; border-radius: 4px; background: var(--text); }
.bv-nav span { margin-left: auto; display: flex; gap: 8px; }
.bv-nav span i { width: 26px; height: 5px; border-radius: 3px; background: #e1e0dc; }
.bv-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; }
.bv-lines { display: grid; gap: 8px; }
.bv-lines i { height: 12px; border-radius: 4px; background: var(--text); transform-origin: left; }
.bv-lines i:nth-child(2) { width: 70%; background: var(--coral); }
.bv-lines i.p { height: 5px; background: #e4e3df; }
.bv-lines i.p.s { width: 80%; }
.bv-lines .btn-mock { margin-top: 6px; width: 74px; height: 20px; border-radius: 999px; background: var(--text); }
.bv-img { aspect-ratio: 1.15; border-radius: 12px; background: linear-gradient(135deg, #f7c1b2, var(--coral)); }
.bv-body.bv-shot { padding: 0; display: block; aspect-ratio: 16 / 9.4; overflow: hidden; background: #faf3ea; }
.bv-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.js .bv-shot img { opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 1.1s var(--ease); }
.in .bv-shot img { opacity: 1; transform: none; transition-delay: 0.3s; }

.js .bv-lines > *,
.js .bv-img,
.js .bv-nav { opacity: 0; transform: scaleX(0.4); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.js .bv-img { transform: scale(0.85); }
.in .bv-nav { opacity: 1; transform: none; transition-delay: 0.3s; }
.in .bv-lines > * { opacity: 1; transform: none; }
.in .bv-lines > :nth-child(1) { transition-delay: 0.45s; }
.in .bv-lines > :nth-child(2) { transition-delay: 0.55s; }
.in .bv-lines > :nth-child(3) { transition-delay: 0.65s; }
.in .bv-lines > :nth-child(4) { transition-delay: 0.72s; }
.in .bv-lines > :nth-child(5) { transition-delay: 0.85s; }
.in .bv-img { opacity: 1; transform: none; transition-delay: 0.6s; }

/* Vizual „asistent AI” */
.bv-chat {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.06);
}
.bv-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bv-ai {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #8b7cf6, var(--coral));
}
.bv-chat-head strong { display: block; font-size: 13.5px; line-height: 1.2; }
.bv-chat-head small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.bv-chat-head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.bv-msg { font-size: 13.5px; line-height: 1.45; padding: 9px 13px; border-radius: 16px; max-width: 86%; color: var(--text); }
.bv-msg.them { background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.06); }
.bv-reply { display: grid; justify-items: end; }
.bv-reply > * { grid-area: 1 / 1; }
.bv-msg.me { background: var(--text); color: #fff; border-bottom-right-radius: 5px; }
.bv-typing { display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-bottom-right-radius: 5px; background: #fff; align-self: end; }
.bv-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s ease-in-out infinite; }
.bv-typing i:nth-child(2) { animation-delay: 0.15s; }
.bv-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

.js .bv-msg, .js .bv-typing { opacity: 0; }
.in .bv-msg.them { animation: bubble 0.6s var(--ease-spring) 0.5s both; }
.in .bv-typing { animation: typing 1.5s ease 1.1s both; }
.in .bv-msg.me { animation: bubble 0.6s var(--ease-spring) 2.5s both; }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes typing { 0% { opacity: 0; transform: scale(0.8); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(0.9); } }

/* ---------- Cifre ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
  align-content: start;
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat strong small { font-size: 0.55em; color: var(--coral); margin-left: 2px; letter-spacing: -0.02em; }
.stat > span { font-size: 0.93rem; color: var(--text-2); line-height: 1.45; }

/* ---------- Cum lucrăm: carduri care se suprapun la derulare ---------- */

.steps-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.steps-head {
  position: sticky;
  top: calc(var(--header-h) + 50px);
  display: grid;
  gap: 20px;
  justify-items: start;
}
.steps-head h2 { max-width: 12ch; }
.steps-head p { max-width: 40ch; }
.steps-head .btn { margin-top: 10px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.step-card {
  --stack: 0;
  position: sticky;
  top: calc(var(--header-h) + 30px + var(--i, 0) * 18px);
  min-height: 340px;
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--card, var(--peach));
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--stack) * 0.06));
  box-shadow: 0 -12px 34px -22px rgba(29, 29, 31, 0.3);
  will-change: transform;
}
.step-card > * { transition: opacity 0.2s linear; opacity: calc(1 - var(--stack) * 0.55); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-n {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--text);
}
.step-tag {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.step-card h3 { margin-top: auto; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.step-card p { max-width: 44ch; color: var(--text-2); }

/* ---------- Proiecte ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.project { display: grid; gap: 18px; align-content: start; }
.project.wide { grid-column: span 2; }
.project.hidden { display: none; }

.project-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--p-bg, linear-gradient(135deg, #fdebe5, #fbf6f3));
  display: grid;
  place-items: center;
  padding: 7% 8% 0;
  align-items: end;
  -webkit-tap-highlight-color: transparent;
}
.project.wide .project-media { aspect-ratio: 16 / 8; padding: 5% 14% 0; }
.project-media > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* Mockup browser */
.browser {
  width: 100%;
  border-radius: 14px 14px 0 0;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(29, 29, 31, 0.4);
  overflow: hidden;
  transform: translateY(6%);
  transition: transform 0.8s var(--ease);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .project:hover .browser { transform: translateY(0); }
}
/* Pe touch, mockup-ul urcă singur când proiectul apare pe ecran */
@media (hover: none) {
  .in .browser, .project.in .browser { transform: translateY(0); transition-delay: 0.3s; transition-duration: 1s; }
}
.browser-bar {
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f1f0ed;
  border-bottom: 1px solid #e6e4df;
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d4cf; }
.browser-bar .url {
  margin-left: 10px;
  height: 14px;
  flex: 1;
  max-width: 40%;
  border-radius: 4px;
  background: #fff;
  font-size: 9px;
  line-height: 14px;
  padding: 0 8px;
  color: #8a8f98;
  font-style: normal;
  overflow: hidden;
  white-space: nowrap;
}
.browser-body {
  flex: 1;
  position: relative;
  background: var(--m-bg, #fff);
  color: var(--m-ink, #111);
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
  gap: 7%;
  overflow: hidden;
}
.mk-nav { display: flex; justify-content: space-between; align-items: center; }
.mk-nav b { width: 18%; height: 7px; border-radius: 3px; background: currentColor; opacity: 0.85; }
.mk-nav span { display: flex; gap: 8px; width: 40%; justify-content: flex-end; }
.mk-nav span i { flex: 1; height: 4px; border-radius: 2px; background: currentColor; opacity: 0.3; }
.mk-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8%; align-items: center; flex: 1; }
.mk-text { display: grid; gap: 7px; }
.mk-text .t { height: 12px; border-radius: 3px; background: currentColor; }
.mk-text .t.s { width: 70%; }
.mk-text .p { height: 4px; border-radius: 2px; background: currentColor; opacity: 0.3; }
.mk-text .p.s { width: 80%; }
.mk-text .b { margin-top: 6px; width: 34%; height: 13px; border-radius: 999px; background: var(--m-acc, var(--coral)); }
.mk-img { height: 100%; min-height: 60px; border-radius: 8px; background: var(--m-img, linear-gradient(135deg, #f7c1b2, var(--coral))); }
.mk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.mk-row i { height: 28px; border-radius: 6px; background: currentColor; opacity: 0.08; }

.mk-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.mk-chat i { height: 16px; border-radius: 10px; background: currentColor; opacity: 0.1; width: 55%; }
.mk-chat i.me { align-self: flex-end; background: var(--m-acc); opacity: 1; width: 42%; }
.mk-chat i.l { width: 68%; height: 26px; }

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 4px;
}
.project-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.project-info p { font-size: 0.93rem; color: var(--muted); }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.project-tags .chip { padding: 5px 11px; font-size: 0.78rem; background: var(--bg-2); }

.placeholder-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.filter-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.filter-btn.active { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.filter-btn sup { font-size: 0.7em; margin-left: 4px; opacity: 0.6; }
.filter-btn:active { transform: scale(0.95); }
@media (hover: hover) {
  .filter-btn:not(.active):hover { color: var(--text); border-color: var(--text); }
}
.project.filter-in { animation: filterIn 0.55s var(--ease) both; }
@keyframes filterIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- De ce noi ---------- */

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk {
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.perk-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c, var(--peach));
  color: var(--text);
  margin-bottom: 6px;
}
.perk-ico svg { width: 22px; height: 22px; }
.perk h3 { font-size: 1.15rem; }
.perk p { font-size: 0.95rem; }
@media (hover: hover) and (pointer: fine) {
  .perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .perk:hover .perk-ico { animation: jelly 0.6s var(--ease-spring); }
}
@keyframes jelly { 0% { transform: scale(1); } 40% { transform: scale(1.15) rotate(-6deg); } 100% { transform: scale(1); } }

/* ---------- Carduri servicii, icon box (folosite pe sub-pagini) ---------- */

.icon-box {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-ink);
  flex-shrink: 0;
}
.icon-box svg { width: 23px; height: 23px; }

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }

/* ---------- Detaliu servicii ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--card, var(--bg-2));
  margin-bottom: 20px;
}
.service-detail:nth-of-type(1) { --card: var(--peach); }
.service-detail:nth-of-type(2) { --card: var(--lilac); }
.service-detail:nth-of-type(3) { --card: var(--mint); }
.service-detail .left { display: grid; gap: 20px; align-content: start; justify-items: start; }
.service-detail .tagline { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.3rem; line-height: 1.35; color: var(--text); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}
.check-list li svg {
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
}
.check-list strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; color: var(--text); }
.check-list p { font-size: 0.95rem; }

/* ---------- Pachete ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.4s var(--ease);
}
.plan.featured { background: #1d1d1f; border-color: #1d1d1f; --text: #f5f5f4; --text-2: #c4c4c9; --btn-bg: #fff; --btn-ink: #1d1d1f; color: var(--text); box-shadow: var(--shadow-lg); }
.plan .plan-name {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--coral-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.plan.featured .plan-name { background: var(--coral); color: #fff; }
.plan .price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--coral); font-weight: 700; }
.plan .btn { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}

/* ---------- Despre ---------- */

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}
.member-photo {
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(circle at 50% 38%, rgba(29, 29, 31, 0.08) 0 16%, transparent 16.5%),
    radial-gradient(ellipse 34% 30% at 50% 88%, rgba(29, 29, 31, 0.07) 0 99%, transparent 100%),
    linear-gradient(160deg, var(--peach), var(--lilac));
  position: relative;
}
.member:nth-child(2) .member-photo {
  background:
    radial-gradient(circle at 50% 38%, rgba(29, 29, 31, 0.08) 0 16%, transparent 16.5%),
    radial-gradient(ellipse 34% 30% at 50% 88%, rgba(29, 29, 31, 0.07) 0 99%, transparent 100%),
    linear-gradient(160deg, var(--mint), var(--sky));
}
.member-info { padding: 26px 28px 30px; display: grid; gap: 6px; }
.member-info h3 { font-size: 1.4rem; }
.member-info .role { color: var(--coral-ink); font-size: 0.9rem; font-weight: 500; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--card, var(--peach)); display: grid; gap: 10px; align-content: start; }
.value:nth-child(2) { --card: var(--lilac); }
.value:nth-child(3) { --card: var(--mint); }
.value:nth-child(4) { --card: var(--butter); }
.value h3 { font-size: 1.3rem; }

.quote-block {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--text);
  max-width: 22ch;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.contact-card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.contact-card small { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-card strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; word-break: break-word; color: var(--text); }
.contact-card > svg { width: 18px; height: 18px; color: var(--muted); }
.contact-card .icon-box.wa { background: #e3f8eb; color: #149c4b; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 46px);
}
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; color: var(--text); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b8c93' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--coral); background: var(--bg-2); box-shadow: 0 0 0 4px rgba(236, 115, 108, 0.15); }

.pill-options { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pill-options input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.pill-options label {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  color: var(--text-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.pill-options label:active { transform: scale(0.95); }
.pill-options input:checked + label { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.pill-options input:focus-visible + label { box-shadow: 0 0 0 3px rgba(236, 115, 108, 0.4); }
@media (hover: hover) {
  .pill-options input:not(:checked) + label:hover { border-color: var(--text); }
}

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; flex-shrink: 0; padding: 0; margin: 2px 0 0; accent-color: var(--coral); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; grid-column: 1 / -1; margin-top: 8px; }
.form-status { font-size: 0.9rem; color: var(--success); display: none; }
.form-status.show { display: block; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); padding: 0 24px; transition: background 0.3s var(--ease); }
.faq details[open] { background: var(--peach); border-color: transparent; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  font-weight: 400; font-size: 1.3rem; line-height: 1;
  color: var(--text);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: #fff; }
.faq details p { padding: 0 0 22px; max-width: 70ch; }
.faq details[open] p { animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(236, 115, 108, 0.28), transparent 62%),
    radial-gradient(ellipse 45% 65% at 0% 100%, rgba(139, 124, 246, 0.22), transparent 62%),
    var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta h2 { max-width: 16ch; text-wrap: balance; }
.cta .lead { max-width: 46ch; }
.cta .cta-symbol {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: clamp(200px, 30vw, 380px);
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 90px 0 36px;
  margin: clamp(20px, 3vw, 40px) var(--footer-inset, 12px) var(--footer-inset, 12px);
  border-radius: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.footer-brand p { font-size: 0.93rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-word {
  font-family: var(--font-logo);
  font-size: clamp(4rem, 16vw, 14rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  margin-top: 70px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  user-select: none;
  text-align: center;
}
.footer-word b { font-weight: 700; }
.footer-word span { font-weight: 300; }

/* WhatsApp plutitor */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease-spring), opacity 0.3s var(--ease);
  animation: waIn 0.7s var(--ease-spring) 1.4s both;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waRing 2.4s ease-out 2.4s 3;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(0.9); }
@media (hover: hover) { .wa-float:hover { transform: scale(1.08); } }
.menu-open .wa-float { opacity: 0; pointer-events: none; transform: scale(0.6); }
@keyframes waIn { from { opacity: 0; transform: scale(0.4) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes waRing { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Animații la apariție ---------- */
/* Ascunse doar când JS rulează (clasa .js pe <html>), ca site-ul să fie vizibil și fără JS */

.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* Elemente create doar pe mobil (indicatorul de swipe) */
.swipe-dots { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1080px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .bento-card.big { min-height: 460px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans .plan:last-child { grid-column: 1 / -1; }
}

/* Tabletă și telefon: meniul compact înlocuiește linkurile din bară */
@media (max-width: 900px) {
  .nav { padding: 0 8px 0 18px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.big { grid-column: span 1; }
  .bento-card:last-child { grid-column: 1 / -1; }

  .steps-wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps-head { position: static; }
  .steps-head h2 { max-width: none; }
  /* Safari 26 (iOS) umple bara de jos cu o culoare plină când un element sticky lat de ≥ 90% din ecran
     atinge marginea de jos. Cardurile rămân sub prag, ca bara să rămână transparentă. */
  .steps { width: min(100%, 86vw); margin-inline: auto; }

  .split, .service-detail, .contact-layout, .team { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .projects-grid { grid-template-columns: 1fr; }
  .project.wide { grid-column: auto; }
  .project.wide .project-media { aspect-ratio: 16 / 11; padding: 7% 8% 0; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Telefon (≤ 640px) ---------- */

@media (max-width: 640px) {
  :root { --gutter: 18px; --nav-h: 58px; --nav-top: 10px; }

  h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  h2 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); line-height: 1.12; }
  .lead { font-size: 1.04rem; }

  .section { padding: 80px 0; }
  .section-tight { padding: 60px 0; }
  .section-head { margin-bottom: 36px; gap: 16px; }
  .section-head .titles { gap: 14px; }
  .section-head.center { gap: 16px; }
  .section-head.center p { font-size: 1rem; }

  /* Apariții mai scurte, fără întârzieri în cascadă pe o singură coloană */
  .js .reveal { transform: translate3d(0, 18px, 0); transition-duration: 0.7s; }
  .js .reveal.d1, .js .reveal.d2, .js .reveal.d3 { transition-delay: 0.06s; }

  /* Header: se ascunde la derulare în jos, revine la derulare în sus */
  .site-header.nav-hidden { transform: translate3d(0, calc(-100% - 12px), 0); }
  .nav { padding: 0 7px 0 16px; }
  .logo-word { font-size: 1.18rem; }
  .logo-symbol { width: 24px; }
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { left: 13px; }
  .menu-toggle span:nth-child(1) { top: 17px; }
  .menu-toggle span:nth-child(2) { top: 23px; }
  .menu-open .menu-toggle span:nth-child(1),
  .menu-open .menu-toggle span:nth-child(2) { top: 20px; }

  /* Hero: titlul mare rămâne vedeta, butoanele pe toată lățimea */
  .hero { padding: calc(var(--header-h) + 54px) 0 56px; }
  /* Pe telefon doar întrebarea e mare; restul frazei vine dedesubt, ca subtitlu */
  .hero-title { margin-top: 18px; font-size: clamp(2.6rem, 14vw, 3.6rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: wrap; }
  .hero-title .rest {
    display: block;
    margin-top: 20px;
    font-size: clamp(1.3rem, 6.2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text-2);
    text-wrap: balance;
  }
  .hero-title .rest .mark { color: var(--text); }
  .hero-lead { display: none; }
  .hero-actions { width: 100%; margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { margin-top: 24px; gap: 8px 16px; font-size: 0.82rem; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.16em; }
  .blobs .b1 { width: 420px; height: 420px; top: -180px; left: -200px; }
  .blobs .b2 { width: 380px; height: 380px; top: -120px; right: -220px; }
  .blobs .b3 { display: none; }

  .page-hero { padding: calc(var(--header-h) + 48px) 0 40px; }
  .page-hero .container { gap: 18px; }
  .page-hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .page-hero + .section-tight,
  .page-hero + .section { padding-top: 20px; }

  .ribbon { padding: 26px 0; }
  .ribbon-band { padding: 12px 0; }
  .ribbon-band.back { margin-top: -22px; }
  .marquee-track, .marquee-track span { gap: 26px; }
  .marquee-track { animation-duration: 26s; }
  .marquee-track.reverse { animation-duration: 32s; }

  /* Carusele cu swipe (servicii, proiecte, pachete) */
  [data-carousel] {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  }
  [data-carousel].is-swiping > :not(.current) { transform: scale(0.96); opacity: 0.7; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
  .swipe-dots button {
    position: relative;
    width: 8px; height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line-strong);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: width 0.4s var(--ease), background 0.4s var(--ease);
  }
  .swipe-dots button.active { width: 26px; background: var(--coral); }
  .swipe-dots button::after { content: ""; position: absolute; inset: -14px -6px; }

  /* Bento ca slide-uri */
  .bento-card, .bento-card.big { min-height: 0; padding: 26px 22px; border-radius: 28px; }
  .bento-card.big h3 { font-size: 1.6rem; }
  .bento-card h3 { font-size: 1.35rem; }
  .bento-card p { font-size: 0.96rem; }
  .bv-browser { margin-bottom: -26px; transform: none; }
  .bv-chat { padding: 14px; }
  .bv-msg { font-size: 13px; }
  .chip { padding: 6px 12px; font-size: 0.8rem; }

  /* Cifre: card unic 2×2 */
  .stats { gap: 0; border-radius: 28px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
  .stat { border: 0; border-radius: 0; padding: 24px 20px; background: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .stat strong { font-size: 2.4rem; }
  .stat > span { font-size: 0.85rem; }

  /* Pașii: se stivuiesc unul peste altul la derulare */
  .steps { gap: 16px; }
  .step-card { top: calc(var(--header-h) + 18px + var(--i, 0) * 12px); min-height: 300px; padding: 28px 24px; border-radius: 28px; gap: 12px; }
  .step-n { font-size: 3.2rem; }
  .step-tag { font-size: 0.78rem; padding: 6px 12px; }
  .step-card h3 { font-size: 1.6rem; }

  /* Proiecte */
  .project { gap: 14px; }
  .project-media { border-radius: 24px; }
  .project-info { flex-direction: column; gap: 10px; }
  .project-tags { justify-content: flex-start; }
  .project-info h3 { font-size: 1.18rem; }
  [data-carousel] > .project.wide { grid-column: auto; }
  [data-carousel] .project-media,
  [data-carousel] .project.wide .project-media { aspect-ratio: 4 / 3.4; padding: 9% 7% 0; }

  /* Filtre: rând orizontal care se derulează cu degetul */
  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1) 28px;
    padding: 2px var(--gutter);
    scroll-snap-type: x proximity;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; scroll-snap-align: start; }

  /* De ce noi: listă compactă cu iconiță în stânga */
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .perk { grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px; border-radius: 22px; }
  .perk-ico { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .perk h3 { align-self: end; font-size: 1.05rem; }
  .perk p { font-size: 0.92rem; line-height: 1.5; }

  /* Sub-pagini */
  .service-detail { gap: 26px; padding: 28px 20px; border-radius: 28px; margin-bottom: 14px; }
  .service-detail .tagline { font-size: 1.15rem; }
  .check-list li { padding: 16px; gap: 12px; grid-template-columns: 28px 1fr; }
  .check-list li svg { width: 28px; height: 28px; padding: 6px; }
  .plan { padding: 28px 24px; }
  .values { grid-template-columns: 1fr; gap: 10px; }
  .member-info { padding: 22px 22px 26px; }
  .quote-block { font-size: 1.6rem; }

  /* Contact */
  .contact-card { grid-template-columns: 46px 1fr; gap: 14px; padding: 16px; }
  .contact-card > svg { display: none; }
  .contact-card .icon-box { width: 46px; height: 46px; }
  .form-card { padding: 26px 20px; border-radius: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  /* 16px previne zoom-ul automat al iOS la focus */
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px 15px; }
  .pill-options label { padding: 11px 16px; }
  .form-footer .btn { width: 100%; }
  .faq details { padding: 0 18px; border-radius: 18px; }
  .faq summary { padding: 18px 0; font-size: 1rem; }

  /* CTA */
  .cta { border-radius: 30px; padding: 56px 22px; gap: 18px; }
  .cta-actions { display: grid; width: 100%; gap: 10px; }
  .cta-actions .btn { width: 100%; }
  .cta .cta-symbol { width: 200px; right: -50px; bottom: -50px; }

  /* Footer */
  .site-footer { --footer-inset: 8px; padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); border-radius: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col ul { gap: 0; }
  .footer-col a { display: inline-block; padding: 7px 0; }
  .footer-word { font-size: calc((100vw - var(--gutter) * 2 - 16px) / 5.2); margin-top: 48px; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 28px; }

  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

/* Telefoane mici (≤ 380px) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .logo-word { font-size: 1.08rem; }
  .hero-title { font-size: 2.15rem; }
  .footer-top { grid-template-columns: 1fr; }
  .stat strong { font-size: 2.1rem; }
}

/* Telefon în landscape: hero mai compact */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .step-card { position: relative; top: 0; }
}

/* ---------- Mișcare redusă ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
  .mark-line path { stroke-dashoffset: 0; }
  .step-card { transform: none; }
  .step-card > * { opacity: 1; }
}

/* Proiect real: captura întregii pagini se derulează încet în fereastra de browser, de sus până jos și înapoi.
   Galeria foto (.shot-reel) e o bandă separată peste captură, care rulează singură ca pe site-ul real. */
.browser-body.shot { padding: 0; gap: 0; container-type: size; }
.shot-page {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  will-change: transform;
  animation: shot-scroll 50s ease-in-out infinite alternate;
}
.shot-page > img { width: 100%; height: auto; display: block; }
.shot-reel { position: absolute; left: 0; right: 0; top: var(--top); height: var(--h); overflow: hidden; }
.shot-reel-track { display: flex; height: 100%; width: max-content; animation: reel-loop 140s linear infinite; will-change: transform; }
.shot-reel-track img { height: 100%; width: auto; flex: none; display: block; }
@keyframes shot-scroll {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
@keyframes reel-loop { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .shot-page, .shot-reel-track { animation: none; }
}

/* Tur prin aplicație: un cursor deschide pe rând secțiunile, cu un mic zoom la click (animat din main.js) */
.tour { container-type: size; }
.browser-body.tour { padding: 0; gap: 0; background: #f6f5f1; }

/* Afiș (proiectul Sion): pagina afișului rulează live într-un iframe și se scalează singură */
.poster-frame {
  align-self: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(60, 10, 10, 0.4);
  transform: translateY(-2%);
  transition: transform 0.8s var(--ease);
}
.poster-frame iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .project:hover .poster-frame { transform: translateY(-4%) scale(1.01); }
}

/* Mockup telefon, pentru site-urile gândite pe mobil */
.phone {
  position: relative;
  width: clamp(170px, 34%, 340px);
  padding: 9px;
  border-radius: 40px;
  background: #16171a;
  box-shadow: 0 30px 60px -24px rgba(29, 29, 31, 0.45), inset 0 0 0 1.5px #2c2d31;
  transform: translateY(9%);
  transition: transform 0.8s var(--ease);
}
.phone::after {
  content: "";
  position: absolute;
  top: 17px; left: 50%;
  width: 30%; height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #16171a;
  z-index: 5;
}
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 31px; overflow: hidden; background: #f1ece4; }
@media (hover: hover) and (pointer: fine) {
  .project:hover .phone { transform: translateY(3%); }
}
@media (hover: none) {
  .project.in .phone { transform: translateY(3%); transition-delay: 0.3s; transition-duration: 1s; }
}
.tour-stage { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.tour-screen {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: transform, opacity;
}
.tour-screen.is-active { opacity: 1; }
.tour-cursor {
  position: absolute;
  top: 0; left: 0;
  width: clamp(12px, 2.3cqw, 22px);
  height: auto;
  z-index: 3;
  opacity: 0;
  transform-origin: 20% 12%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}
.tour-ripple {
  position: absolute;
  top: 0; left: 0;
  width: clamp(26px, 5cqw, 44px);
  aspect-ratio: 1;
  margin: calc(clamp(26px, 5cqw, 44px) / -2) 0 0 calc(clamp(26px, 5cqw, 44px) / -2);
  border-radius: 50%;
  background: rgba(232, 108, 84, 0.35);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
