:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --surface: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.88);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 52px rgba(35, 54, 80, 0.12);
  --scroll-y: 0px;
  --premium-x: 0px;
  --premium-y: 0px;
  --premium-x-alt: 0px;
  --premium-y-alt: 0px;
  --premium-fog-rotate: -10deg;
  --premium-fog-rotate-alt: 12deg;
  --premium-fog-scale: 1;
  --premium-fog-scale-alt: 1;
  --galaxy-edge: #020304;
}

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

html {
  background: #f5f5f7;
  scroll-behavior: auto;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(145deg, #fff 0%, #f4f5f7 52%, #edf3f9 100%);
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.47059;
}

h1,
h2,
h3,
h4,
.title,
.eyebrow,
.price,
.stat b,
.vip-card-title,
.location-city {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

b,
strong {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
h1:hover,
h2:hover,
h3:hover {
  text-decoration: none;
}

a::before,
a::after,
h1::before,
h1::after,
h2::before,
h2::after,
h3::before,
h3::after {
  text-decoration: none;
}

button,
input {
  font: inherit;
}

:where(h1, h2, h3, h4, p, a, button, .eyebrow, .title, .sub, .price, .price-emphasis, .zoom-line, .zoom-gradient, .stat, .locations, .legal) {
  text-shadow: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.44);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  transform: translateY(-150%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: none;
}

.ambient-depth {
  position: fixed;
  z-index: -1;
  inset: -18vh -12vw;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.depth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.depth-blob.one {
  top: -12vh;
  left: -14vw;
  width: 52vw;
  height: 52vw;
  background: rgba(255, 255, 255, 0.98);
  transform: translate3d(0, calc(var(--scroll-y) * 0.02), 0);
}

.depth-blob.two {
  top: 8vh;
  right: -12vw;
  width: 46vw;
  height: 46vw;
  background: rgba(0, 113, 227, 0.18);
  transform: translate3d(0, calc(var(--scroll-y) * -0.03), 0);
}

.depth-blob.three {
  top: 72vh;
  left: 22vw;
  width: 48vw;
  height: 48vw;
  background: rgba(132, 151, 181, 0.18);
  transform: translate3d(calc(var(--scroll-y) * 0.006), calc(var(--scroll-y) * 0.016), 0);
}

.depth-blob.four {
  top: 170vh;
  right: 2vw;
  width: 42vw;
  height: 42vw;
  background: rgba(90, 200, 250, 0.15);
  transform: translate3d(0, calc(var(--scroll-y) * -0.018), 0);
}

.depth-blob.five {
  top: 280vh;
  left: -8vw;
  width: 44vw;
  height: 44vw;
  background: rgba(0, 113, 227, 0.11);
  transform: translate3d(0, calc(var(--scroll-y) * -0.012), 0);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.center {
  text-align: center;
}

section {
  position: relative;
  padding: 82px 0;
}

section[id] {
  scroll-margin-top: 62px;
}

.seminar-premium-continuum {
  --galaxy-transition-visual: clamp(260px, 26vw, 460px);
  --galaxy-card-clearance: clamp(18px, 2vw, 28px);
  --galaxy-transition-span: calc(var(--galaxy-card-clearance) + var(--galaxy-transition-visual));
  --galaxy-content-clearance: 50px;
  --signup-background-fade: clamp(150px, 16vw, 180px);
  position: relative;
  isolation: isolate;
  background: #020508;
}

#seminarii {
  position: relative;
  padding-bottom: var(--galaxy-transition-span);
  margin-bottom: 0;
  border-bottom: 0;
  background: linear-gradient(
    180deg,
    #f5f5f7 0%,
    #f5f5f7 calc(100% - var(--galaxy-transition-span) - var(--signup-background-fade)),
    #fff calc(100% - var(--galaxy-transition-span)),
    #fff 100%
  );
}

#seminarii > .wrap {
  position: relative;
  z-index: 4;
}

#seminarii .wide-card {
  position: relative;
  z-index: 5;
  margin-top: clamp(68px, 6vw, 86px);
  translate: 0 clamp(26px, 2.4vw, 36px);
}


.nav-shell {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0;
  background: rgba(250, 250, 252, 0.384);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 5px 22px rgba(30, 45, 65, 0.07);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  backdrop-filter: blur(28px) saturate(185%);
  transition:
    background-color 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1.45s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-shell::before {
  position: absolute;
  inset: 1px 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  content: "";
  opacity: 0.76;
  pointer-events: none;
  transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pe toate platformele, sticla întunecată intră prin transparență. Astfel
   gradientul nu mai este schimbat brusc când bara ajunge în zona Premium. */
.nav-shell::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 170% at 28% -34%, rgba(255, 255, 255, 0.14), transparent 66%),
    linear-gradient(148deg, rgba(35, 43, 54, 0.364), rgba(7, 11, 17, 0.322));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-shell nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 32px));
  min-height: 48px;
  margin-inline: auto;
  padding: 0 8px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.logo {
  display: block;
  width: auto;
  height: 34px;
  filter: brightness(0) contrast(1.45) drop-shadow(0 0 0.45px #000);
  transform: scale(1.04);
  transition: filter 0.6s var(--ease);
}

.navlinks {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.1vw, 16px);
  min-width: 0;
}

.navlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 6px;
  color: var(--ink);
  font-size: clamp(12.075px, 1.012vw, 14.375px);
  font-weight: 480;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.45s var(--ease), transform 0.55s var(--ease), scale 0.55s var(--ease);
  transform-origin: center;
}

.navlinks a:hover {
  color: #08090b;
  transform: none;
  scale: 1.2;
}

.nav-shell.nav-shell-premium {
  border-bottom: 0;
  background: rgba(8, 12, 18, 0.112);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 14px 36px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}

.nav-shell.nav-shell-premium::after {
  opacity: 0.656;
}

.nav-shell.nav-shell-premium::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  opacity: 0;
}

.nav-shell.nav-shell-premium .navlinks a {
  color: rgba(255, 255, 255, 0.92);
}

.nav-shell.nav-shell-premium .navlinks a:hover {
  color: #fff;
}

.nav-shell.nav-shell-premium .logo {
  filter: invert(1) brightness(1.22) drop-shadow(0 0 0.45px rgba(255, 255, 255, 0.7));
}

.nav-shell .navlinks a,
.nav-shell .logo {
  transition-duration: 1.25s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-word {
  display: inline-block;
  margin-inline: 0.11em;
  white-space: nowrap;
}

.hero-letter {
  display: inline-block;
}

.hero-baseline-marker {
  display: inline-block;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  vertical-align: baseline;
}

.hero-particle-title {
  position: relative;
  opacity: 0;
  backface-visibility: hidden;
  transform-origin: center;
  transition:
    opacity 0.22s ease-out,
    scale 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, scale;
}

.hero-particle-title.is-assembled {
  opacity: 1;
}

/* Cât timp stelele se asamblează, titlul rămâne blocat la geometria lui
   originală chiar dacă săgeata se află deja deasupra zonei. */
.apple-panel-hero .hero-particle-title:not(.is-interactive),
.apple-panel-hero .hero-particle-title:not(.is-interactive):hover {
  letter-spacing: -0.045em;
  scale: 1;
}

@media (any-hover: hover) {
  .apple-panel-hero .hero-particle-title.is-assembled.is-interactive:hover {
    letter-spacing: -0.032em;
    scale: 1.06;
  }
}

.hero-confetti-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  contain: strict;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity;
}

.hero-confetti-canvas.is-complete {
  opacity: 0;
}

@keyframes unlock-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.brand,
.navlinks a,
.apple-panel-hero .apple-panel-copy > :not(h1) {
  animation: unlock-in 1.25s cubic-bezier(0.22, 0.8, 0.24, 1) backwards;
}

.brand { animation-delay: 0.04s; }
.navlinks a:nth-child(1) { animation-delay: 0.08s; }
.navlinks a:nth-child(2) { animation-delay: 0.12s; }
.navlinks a:nth-child(3) { animation-delay: 0.16s; }
.navlinks a:nth-child(4) { animation-delay: 0.2s; }
.navlinks a:nth-child(5) { animation-delay: 0.24s; }
.navlinks a:nth-child(6) { animation-delay: 0.28s; }
.navlinks a:nth-child(7) { animation-delay: 0.32s; }
.navlinks a:nth-child(8) { animation-delay: 0.36s; }
.navlinks a:nth-child(9) { animation-delay: 0.4s; }
.apple-panel-hero .apple-panel-copy > :nth-child(1) { animation-delay: 0.18s; }
.apple-panel-hero .apple-panel-copy > :nth-child(2) { animation-delay: 0.3s; }
.apple-panel-hero .apple-panel-copy > :nth-child(3) { animation-delay: 0.42s; }

.apple-panel {
  display: grid;
  place-items: end center;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #dfe3e8;
  text-align: center;
  isolation: isolate;
}

.apple-panel-hero {
  min-height: 100svh;
}

.apple-panel-copy {
  position: relative;
  z-index: 3;
  grid-area: 1 / 1;
  align-self: end;
  width: 100%;
  margin: 0;
  padding: clamp(100px, 18vh, 180px) max(20px, 4vw) clamp(40px, 8vh, 84px);
  text-shadow: none;
}

.apple-panel-copy .sub {
  max-width: 800px;
  color: rgba(29, 29, 31, 0.82);
}

.apple-panel::after {
  position: absolute;
  z-index: 2;
  inset: 58% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(246, 247, 249, 0.34) 40%, rgba(246, 247, 249, 0.94) 100%);
  content: "";
  pointer-events: none;
}

.apple-panel:nth-of-type(2)::after {
  inset: 70% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(246, 247, 249, 0.3) 46%, rgba(246, 247, 249, 0.92) 100%);
}

.apple-panel:nth-of-type(3)::after {
  inset: 60% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(246, 247, 249, 0.32) 44%, rgba(246, 247, 249, 0.93) 100%);
}

.apple-panel:not(.apple-panel-hero) .apple-panel-copy,
.apple-panel:not(.apple-panel-hero) .apple-panel-copy .title,
.apple-panel:not(.apple-panel-hero) .apple-panel-copy .sub {
  color: #1d1d1f;
  filter: none;
  text-shadow: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
.title,
.card h3,
.contact-zoom,
.locations-title {
  transition: transform 0.6s var(--ease), scale 0.6s var(--ease);
  transform-origin: center;
}

.title,
.card h3,
.vip-card-title,
.location-city,
.price-emphasis,
.zoom-line,
.zoom-gradient,
.stat b {
  position: relative;
}

.title::after,
.card h3::after,
.vip-card-title::after,
.location-city::after,
.price-emphasis::after,
.zoom-line::after,
.zoom-gradient::after,
.stat b::after {
  position: absolute;
  inset: -10px -18px;
  content: "";
}

h1:hover,
.title:hover,
.card h3:hover,
.contact-zoom:hover,
.locations-title:hover {
  transform: none;
  scale: 1.0245;
}

h1 {
  max-width: 1000px;
  margin: 0 auto 22px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  font-weight: 600;
}

.title {
  display: inline-block;
  width: 100%;
  max-width: 980px;
  margin: 0 0 20px;
  font-size: clamp(32px, 4.3vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 600;
  transition: letter-spacing 0.7s var(--ease), transform 0.7s var(--ease), scale 0.7s var(--ease);
}

.title:hover {
  letter-spacing: -0.012em;
  transform: none;
  scale: 1.0315;
}

.eyebrow {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: -10px auto -1px;
  padding: 12px 24px;
  color: var(--blue);
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(14.7px, 1.645vw, 21px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: letter-spacing 0.7s var(--ease), transform 0.7s var(--ease), scale 0.7s var(--ease);
  transform-origin: center;
}

.eyebrow:hover {
  letter-spacing: 0.012em;
  transform: none;
  scale: 1.056;
}

.apple-panel .eyebrow {
  font-size: clamp(11.2px, 1.26vw, 15.4px);
}

.sub {
  max-width: 780px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
}

.apple-photo-frame {
  position: absolute;
  z-index: 1;
  grid-area: 1 / 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e9edf2;
  box-shadow: none;
}

.apple-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.apple-panel:nth-of-type(2) .apple-photo-frame img {
  object-position: center;
}

.apple-panel:nth-of-type(3) .apple-photo-frame img {
  object-position: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 20px;
  text-align: center;
  text-shadow: none;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn:hover {
  border-color: transparent;
  background: #0077ed;
  box-shadow: none;
  color: #fff;
  filter: none;
  text-shadow: none;
  transform: none;
}

.btn.action,
.btn.outline,
.package-link {
  border-color: #0066cc;
  background: transparent;
  color: #0066cc;
}

.btn,
.btn:hover,
.btn:focus-visible {
  filter: none !important;
  text-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.btn.action:hover,
.btn.outline:hover,
.package-link:hover {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
  box-shadow: none;
  text-shadow: none;
  transform: none;
}

.btn:disabled {
  border-color: transparent;
  background: #0071e3;
  box-shadow: none;
  color: #fff;
  cursor: not-allowed;
  filter: none;
  opacity: 1;
  transform: none;
}

#cursuri-online .btn:disabled {
  border-color: #b8b8bd;
  background: #d2d2d7;
  color: #515154;
  opacity: 1;
}

.signup-button {
  -webkit-appearance: none;
  appearance: none;
  border-color: transparent !important;
  background: var(--blue) !important;
  box-shadow: none;
  color: #fff !important;
  filter: none;
  transform: none;
}

.signup-button {
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.signup-button:hover {
  border-color: #005bb8 !important;
  background: #005bb8 !important;
  color: #fff !important;
  text-shadow: none;
}

.about-text-only {
  display: block;
  max-width: 940px;
  text-align: center;
}

.about-text-only > div,
.card,
.contact-lines > div {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48));
  box-shadow: inset 0 1px 0 #fff, var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.about-text-only > div {
  padding: 46px;
  border-radius: 30px;
  transition: box-shadow 0.8s var(--ease), transform 0.8s var(--ease);
}

.about-text-only > div:hover {
  box-shadow: inset 0 1px 0 #fff, 0 30px 72px rgba(31, 52, 78, 0.2);
  transform: translateY(-6px) scale(1.018);
}

.about-copy {
  margin-inline: auto !important;
  font-size: 19px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.stats-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 470px;
  margin-inline: auto;
}

.stat b {
  display: inline-block;
  padding: 2px 5px;
  border: 0;
  background: linear-gradient(145deg, rgba(20, 24, 30, 0.8) 0%, rgba(92, 101, 112, 0.58) 46%, rgba(8, 11, 15, 0.76) 100%);
  color: transparent;
  font-size: 50px;
  font-weight: 650;
  line-height: 1.1;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 9px 8px rgba(0, 0, 0, 0.2));
  transition: filter 0.65s var(--ease), transform 0.65s var(--ease), scale 0.65s var(--ease);
  transform-origin: center;
}

.stat:hover b,
.stat b:hover {
  filter: drop-shadow(0 14px 11px rgba(0, 0, 0, 0.3));
  transform: none;
  scale: 1.21;
}

.locations-block {
  margin-top: 32px;
}

.locations-title {
  display: block;
  width: 100%;
}

.locations {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin-top: 52px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border-radius: 28px;
  text-align: left;
  transition: border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}

.card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.44), transparent 28%, transparent 76%, rgba(0, 113, 227, 0.05));
  content: "";
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 28px 68px rgba(31, 52, 78, 0.2);
  transform: translateY(-6px);
}

@keyframes gentle-urgency {
  0%, 22%, 100% { transform: translateY(-6px) scale(1); }
  34% { transform: translateY(-4px) scale(0.986); }
  48% { transform: translateY(-7px) scale(1.012); }
  62% { transform: translateY(-4px) scale(0.992); }
  76% { transform: translateY(-6px) scale(1.008); }
}

@keyframes premium-urgency-relaxed {
  0%, 18.5%, 100% { transform: translateY(-6px) scale(1); }
  28.6% { transform: translateY(-4.5px) scale(0.9895); }
  40.4% { transform: translateY(-6.75px) scale(1.009); }
  52.2% { transform: translateY(-4.5px) scale(0.994); }
  64% { transform: translateY(-6px) scale(1.006); }
}

#servicii .card:hover,
#seminarii .grid .card:hover {
  animation: premium-urgency-relaxed 3.8s ease-in-out 7s infinite;
}

#premium-vip .premium-section .card:hover {
  animation: premium-urgency-relaxed 3.8s ease-in-out 8s infinite;
}

#curs-individual .card:hover {
  animation: premium-urgency-relaxed 3.8s ease-in-out 14s infinite;
}

.card h3 {
  align-self: stretch;
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

#seminarii .wide-card > h3 {
  transition: font-weight 0.45s var(--ease), transform 0.6s var(--ease), scale 0.6s var(--ease);
}

#seminarii .wide-card > h3:hover {
  font-weight: 650;
  letter-spacing: inherit;
  transform: none;
  scale: 1;
}

#servicii .card h3,
#seminarii .grid .card h3 {
  width: calc(100% + 24px);
  margin: -12px -12px 0;
  padding: 12px;
  transition: letter-spacing 0.75s var(--ease), transform 0.75s var(--ease), scale 0.75s var(--ease);
  transform-origin: left center;
}

#servicii .card h3:hover,
#seminarii .grid .card h3:hover {
  letter-spacing: 0.012em;
  transform: none;
  scale: 1.098;
}

.card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.card > p:last-of-type {
  flex-grow: 1;
}

.card .note {
  flex-grow: 0;
  margin-bottom: 14px;
}

.price {
  min-height: 34px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 720;
}

.price-emphasis {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  transition: color 0.65s var(--ease), filter 0.65s var(--ease), transform 0.65s var(--ease), scale 0.65s var(--ease);
  transform-origin: center;
}

.card p:hover .price-emphasis:not(.haircut-price),
.price-emphasis:hover {
  color: var(--blue);
  background: none;
  filter: none;
  transform: none;
  scale: 1.168;
}

.haircut-price {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  overflow-wrap: anywhere;
  transform-origin: left center;
}

.haircut-price:hover {
  transform: none;
  scale: 1.049;
}

.card > .btn {
  align-self: flex-start;
  margin-top: auto;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.wide-card {
  max-width: 900px;
  min-height: auto;
  margin: 50px auto 0;
}

.signup-form {
  align-items: center;
  margin-top: 6px;
}

.signup-form input {
  min-width: min(300px, 100%);
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(29, 29, 31, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.email-field {
  position: relative;
  display: inline-flex;
  min-width: min(300px, 100%);
}

.email-field input {
  width: 100%;
}

.typing-dots {
  position: absolute;
  top: 59%;
  left: 105px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  gap: 2.5px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.typing-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  font-size: 0;
  font-style: normal;
  opacity: 0.18;
}

.email-field:hover .typing-dots {
  opacity: 1;
}

.email-field:hover .typing-dots i {
  animation: typing-dot 1.15s ease-in-out infinite;
}

.email-field:hover .typing-dots i:nth-child(2) { animation-delay: 0.16s; }
.email-field:hover .typing-dots i:nth-child(3) { animation-delay: 0.32s; }

.email-field.has-content .typing-dots,
.email-field:has(input:not(:placeholder-shown)) .typing-dots {
  opacity: 0;
}

.email-field.has-content .typing-dots i,
.email-field:has(input:not(:placeholder-shown)) .typing-dots i {
  animation: none;
}

@keyframes typing-dot {
  0%, 65%, 100% { opacity: 0.18; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-2px); }
}

.signup-button:hover {
  border-color: #004f9f;
  background: #005bb8;
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.24),
    0 6px 14px rgba(0, 76, 153, 0.2);
  transform: translateY(1px);
}

.form-status {
  width: 100%;
  min-height: 1.5em;
  margin: 4px 0 0 !important;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.dark {
  background:
    radial-gradient(680px 620px at -6% 88%, rgba(0, 82, 166, 0.54), transparent 68%),
    radial-gradient(680px 600px at 106% 18%, rgba(0, 67, 143, 0.54), transparent 70%),
    radial-gradient(760px 450px at 50% -12%, rgba(255, 255, 255, 0.1), transparent 68%),
    linear-gradient(145deg, #020405 0%, #071014 48%, #020304 100%);
  color: #fff;
}

.premium-course-zone {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  background: #020508;
}

.zone-galaxy {
  position: absolute;
  z-index: 0;
  top: calc(0px - var(--galaxy-transition-span));
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  contain: layout paint style;
  background: linear-gradient(
    180deg,
    #020508 0%,
    #020304 17%,
    #050b10 50%,
    #020304 83%,
    #020508 100%
  );
  pointer-events: none;
}

.premium-course-zone::before {
  position: absolute;
  z-index: 3;
  top: calc(0px - var(--galaxy-transition-span) - 2px);
  right: 0;
  left: 0;
  height: calc(var(--galaxy-transition-span) + 2px);
  background: #fff;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    0deg,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.008) 16%,
    rgba(0, 0, 0, 0.025) 24%,
    rgba(0, 0, 0, 0.06) 32%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.36) 56%,
    rgba(0, 0, 0, 0.52) 64%,
    rgba(0, 0, 0, 0.68) 72%,
    rgba(0, 0, 0, 0.82) 80%,
    rgba(0, 0, 0, 0.92) 87%,
    rgba(0, 0, 0, 0.975) 93%,
    #000 97%,
    #000 100%
  );
  mask-image: linear-gradient(
    0deg,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.008) 16%,
    rgba(0, 0, 0, 0.025) 24%,
    rgba(0, 0, 0, 0.06) 32%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.36) 56%,
    rgba(0, 0, 0, 0.52) 64%,
    rgba(0, 0, 0, 0.68) 72%,
    rgba(0, 0, 0, 0.82) 80%,
    rgba(0, 0, 0, 0.92) 87%,
    rgba(0, 0, 0, 0.975) 93%,
    #000 97%,
    #000 100%
  );
}

.premium-course-zone::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -2px;
  left: 0;
  height: calc(var(--galaxy-transition-span) + 2px);
  background: #f5f5f7;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.008) 16%,
    rgba(0, 0, 0, 0.025) 24%,
    rgba(0, 0, 0, 0.06) 32%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.36) 56%,
    rgba(0, 0, 0, 0.52) 64%,
    rgba(0, 0, 0, 0.68) 72%,
    rgba(0, 0, 0, 0.82) 80%,
    rgba(0, 0, 0, 0.92) 87%,
    rgba(0, 0, 0, 0.975) 93%,
    #000 97%,
    #000 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    transparent 8%,
    rgba(0, 0, 0, 0.008) 16%,
    rgba(0, 0, 0, 0.025) 24%,
    rgba(0, 0, 0, 0.06) 32%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.36) 56%,
    rgba(0, 0, 0, 0.52) 64%,
    rgba(0, 0, 0, 0.68) 72%,
    rgba(0, 0, 0, 0.82) 80%,
    rgba(0, 0, 0, 0.92) 87%,
    rgba(0, 0, 0, 0.975) 93%,
    #000 97%,
    #000 100%
  );
}

.premium-section {
  position: relative;
  z-index: 4;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.premium-stage {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 100svh;
  padding: var(--galaxy-content-clearance) 0 clamp(96px, 12vh, 140px);
  overflow: visible;
  background: transparent;
}

.premium-lights {
  --premium-x: 0px;
  --premium-y: 0px;
  --premium-x-alt: 0px;
  --premium-y-alt: 0px;
  --premium-fog-rotate: 0deg;
  --premium-fog-rotate-alt: 0deg;
  --premium-fog-scale: 1;
  --premium-fog-scale-alt: 1;
  --premium-end-opacity: 1;
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 1%, #000 14%, #000 86%, transparent 99%);
  mask-image: linear-gradient(180deg, transparent 1%, #000 14%, #000 86%, transparent 99%);
}

.dna-motion-trail {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 1%, #000 14%, #000 86%, transparent 99%);
  mask-image: linear-gradient(180deg, transparent 1%, #000 14%, #000 86%, transparent 99%);
}

.dna-trail-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(132px, 11vw, 190px);
  aspect-ratio: 6 / 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 126, 239, 0.17) 0%, rgba(0, 82, 187, 0.075) 34%, rgba(0, 44, 112, 0.025) 62%, rgba(0, 24, 72, 0.008) 80%, transparent 100%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.premium-lights::before,
.premium-lights::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: clamp(821px, 82.08vw, 1210px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  transition: none;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  opacity: var(--premium-end-opacity);
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 56%, rgba(0, 0, 0, 0.44) 79%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 56%, rgba(0, 0, 0, 0.44) 79%, transparent 100%);
}

.birth-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  contain: layout paint style;
  pointer-events: none;
}

.birth-sky-back {
  z-index: 0;
}

.birth-sky-front {
  z-index: 3;
}

.zone-galaxy > .birth-sky-back {
  z-index: 0;
}

.zone-galaxy > .dna-motion-trail {
  z-index: 1;
}

.zone-galaxy > .premium-lights {
  z-index: 2;
}

.zone-galaxy > .birth-sky-front {
  z-index: 3;
}

.birth-sky-back .birth-star {
  opacity: var(--star-back-alpha);
}

.birth-sky-front .birth-star {
  opacity: var(--star-alpha);
}

.birth-star {
  --star-core: rgba(255, 255, 255, 1);
  --star-near-glow: rgba(235, 244, 255, 0.98);
  --star-far-glow: rgba(147, 190, 255, 0.76);
  position: absolute;
  top: var(--star-y);
  left: var(--star-x);
  width: var(--star-size);
  height: var(--star-size);
  border-radius: 50%;
  background: var(--star-core);
  box-shadow:
    0 0 0.35px 0.3px var(--star-core),
    0 0 1.35px 0.2px var(--star-near-glow),
    0 0 var(--star-halo) var(--star-far-glow);
  opacity: var(--star-alpha);
  transform: translate(-50%, -50%);
  transform-origin: center;
  backface-visibility: hidden;
}

.birth-star.is-warm {
  --star-core: #fff8ed;
  --star-near-glow: rgba(255, 244, 220, 0.99);
  --star-far-glow: rgba(255, 151, 74, 0.78);
}

.birth-star.is-cool {
  --star-core: #f4f8ff;
  --star-near-glow: rgba(231, 241, 255, 1);
  --star-far-glow: rgba(104, 161, 255, 0.82);
}

.birth-star.is-bright::before,
.birth-star.is-bright::after,
.birth-star.is-twinkling::before,
.birth-star.is-twinkling::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  content: "";
  opacity: 0.72;
  transform: translate(-50%, -50%);
}

.birth-star.is-bright::before,
.birth-star.is-twinkling::before {
  width: var(--star-flare);
  height: 1px;
}

.birth-star.is-bright::after,
.birth-star.is-twinkling::after {
  width: 1px;
  height: var(--star-flare);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.68), transparent);
}

.birth-star.is-twinkling::before,
.birth-star.is-twinkling::after {
  animation: birth-star-rays var(--sparkle-duration) cubic-bezier(0.22, 0.78, 0.24, 1) both;
}

.birth-star.is-twinkling {
  z-index: 2;
  animation: birth-star-twinkle var(--sparkle-duration) cubic-bezier(0.22, 0.78, 0.24, 1) both;
  will-change: opacity, transform;
}

@keyframes birth-star-twinkle {
  0%, 100% {
    opacity: var(--star-alpha);
    transform: translate(-50%, -50%) scale(1);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.28);
  }
  58% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes birth-star-rays {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.38);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18);
  }
  62% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.82);
  }
}

.premium-lights::before {
  background:
    radial-gradient(ellipse 72% 54% at 37% 45%, rgba(0, 119, 237, 0.54) 0%, rgba(0, 82, 166, 0.25) 30%, rgba(0, 48, 120, 0.1) 54%, rgba(0, 20, 65, 0.025) 74%, transparent 94%),
    radial-gradient(ellipse 58% 76% at 65% 57%, rgba(0, 91, 205, 0.36) 0%, rgba(0, 48, 120, 0.15) 42%, rgba(0, 18, 62, 0.06) 66%, transparent 95%),
    radial-gradient(ellipse 88% 48% at 52% 66%, rgba(0, 65, 155, 0.2) 0%, rgba(0, 31, 88, 0.07) 56%, transparent 94%);
  filter: none;
  transform: translate3d(calc(-50% + var(--premium-x)), calc(-50% + var(--premium-y)), 0)
    rotate(var(--premium-fog-rotate)) scale(var(--premium-fog-scale));
}

.premium-lights::after {
  background:
    radial-gradient(ellipse 68% 56% at 62% 43%, rgba(0, 101, 220, 0.52) 0%, rgba(0, 62, 148, 0.25) 32%, rgba(0, 39, 105, 0.1) 56%, rgba(0, 18, 60, 0.025) 76%, transparent 94%),
    radial-gradient(ellipse 54% 80% at 34% 58%, rgba(0, 78, 184, 0.34) 0%, rgba(0, 38, 108, 0.15) 44%, rgba(0, 15, 54, 0.06) 68%, transparent 95%),
    radial-gradient(ellipse 88% 48% at 48% 68%, rgba(0, 51, 137, 0.19) 0%, rgba(0, 27, 82, 0.07) 58%, transparent 94%);
  filter: none;
  transform: translate3d(calc(-50% + var(--premium-x-alt)), calc(-50% + var(--premium-y-alt)), 0)
    rotate(var(--premium-fog-rotate-alt)) scale(var(--premium-fog-scale-alt));
}

.premium-stage > .wrap {
  position: relative;
  z-index: 3;
  translate: 0 -18px;
}

.individual-course {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: clamp(88px, 10vh, 118px) 0 var(--galaxy-transition-span);
  overflow: visible;
  background: transparent;
}

#cursuri-online {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: var(--galaxy-content-clearance);
  background: #f5f5f7;
  box-shadow: 0 -2px 0 #f5f5f7;
}

.individual-course > .wrap {
  position: relative;
  z-index: 2;
}

.individual-course > .wrap > .title {
  color: #fff;
}

.individual-course > .wrap > .sub {
  color: rgba(245, 245, 247, 0.9);
}

.individual-course > .wrap > .section-logo-wrap .section-logo {
  filter: invert(1) brightness(1.22);
}

.dark .sub,
.dark .card p {
  color: #d2d2d7;
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(28, 28, 33, 0.84), rgba(13, 13, 16, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 54px rgba(0, 0, 0, 0.58);
}

.dark .card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.16), 0 36px 86px rgba(0, 0, 0, 0.72);
}

.premium-section .card,
.individual-course .wide-card {
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(ellipse 95% 64% at 38% 0%, rgba(255, 255, 255, 0.12), transparent 63%),
    linear-gradient(148deg, rgba(39, 45, 55, 0.56), rgba(9, 13, 20, 0.48));
  box-shadow:
    inset 6px 6px 15px rgba(255, 255, 255, 0.1),
    inset -10px -12px 24px rgba(0, 0, 0, 0.36),
    0 24px 52px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(0, 102, 204, 0.07);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition-duration: 1.05s;
}

.premium-section .card::before,
.individual-course .wide-card::before {
  background:
    radial-gradient(ellipse 80% 38% at 32% -4%, rgba(255, 255, 255, 0.2), transparent 66%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.06), transparent 34%, transparent 78%, rgba(80, 156, 255, 0.04));
}

.premium-section .card:hover,
.individual-course .wide-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 7px 7px 17px rgba(255, 255, 255, 0.13),
    inset -12px -14px 28px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(255, 255, 255, 0.22),
    0 0 82px rgba(255, 255, 255, 0.1),
    0 32px 68px rgba(0, 0, 0, 0.56),
    0 0 30px rgba(0, 102, 204, 0.09);
}

.individual-course .wide-card {
  box-shadow:
    inset 6px 6px 15px rgba(255, 255, 255, 0.1),
    inset -10px -12px 24px rgba(0, 0, 0, 0.36),
    0 0 40px rgba(255, 255, 255, 0.14),
    0 24px 52px rgba(0, 0, 0, 0.44),
    0 0 82px rgba(255, 255, 255, 0.07);
}

.individual-course .wide-card:hover {
  box-shadow:
    inset 7px 7px 17px rgba(255, 255, 255, 0.13),
    inset -12px -14px 28px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(255, 255, 255, 0.22),
    0 0 82px rgba(255, 255, 255, 0.1),
    0 32px 68px rgba(0, 0, 0, 0.56),
    0 0 116px rgba(255, 255, 255, 0.06);
}

.premium-section .card > p,
.individual-course .wide-card > p {
  transform-origin: left center;
  transition: scale 1.15s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .premium-section .card:hover > p,
  .individual-course .wide-card:hover > p {
    scale: 1.012;
  }

  #premium-vip .premium-section .card:hover,
  #curs-individual .wide-card:hover {
    will-change: transform;
    backface-visibility: hidden;
  }

  .premium-section .card:hover > .vip-card-title {
    letter-spacing: 0.012em;
    scale: 1.07;
  }

  .individual-course .wide-card:hover > h3 {
    letter-spacing: 0.006em;
    scale: 1.05;
  }

  #premium-vip .premium-section .card:hover {
    box-shadow:
      inset 7px 7px 17px rgba(0, 0, 0, 0.23),
      inset -6px -7px 16px rgba(255, 255, 255, 0.1),
      0 0 34px rgba(255, 255, 255, 0.17),
      0 16px 34px rgba(0, 0, 0, 0.54),
      0 0 24px rgba(0, 102, 204, 0.07);
  }

  #curs-individual .wide-card:hover {
    box-shadow:
      inset 7px 7px 17px rgba(0, 0, 0, 0.23),
      inset -6px -7px 16px rgba(255, 255, 255, 0.11),
      0 0 34px rgba(255, 255, 255, 0.2),
      0 0 58px rgba(255, 255, 255, 0.08),
      0 16px 34px rgba(0, 0, 0, 0.54);
  }
}

.dark .card h3,
.dark .price-emphasis {
  color: #fff;
}

.vip-card-title {
  width: calc(100% + 24px);
  margin: -12px -12px 0 !important;
  padding: 12px;
  transition: letter-spacing 1.15s var(--ease), transform 1.15s var(--ease), scale 1.15s var(--ease) !important;
  transform-origin: left center !important;
}

.vip-card-title:hover {
  letter-spacing: 0.012em;
  transform: none !important;
  scale: 1.07;
}

.dark .btn.action {
  border-color: #0066cc;
  background: transparent;
  color: #0066cc;
}

.dark .btn.action:hover {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
  box-shadow: none;
}

.section-logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin: -12px auto -5px;
  padding: 12px 20px;
  transition: filter 0.85s var(--ease);
  transform-origin: center;
}

.section-logo-wrap:hover {
  transform: none;
}

.section-logo,
.eyebrow-logo {
  width: auto;
  height: clamp(74px, 8vw, 104px);
  vertical-align: middle;
  transition: filter 0.85s var(--ease), scale 0.85s var(--ease);
  transform-origin: center;
}

.section-logo-wrap:hover .section-logo,
.section-logo-wrap:hover .eyebrow-logo {
  scale: 1.1;
}

.dark .section-logo {
  filter: invert(1) brightness(1.25);
}

.premium-section .section-logo-wrap:hover {
  filter: drop-shadow(0 10px 16px rgba(255, 255, 255, 0.28));
}

.individual-course .section-logo-wrap:hover {
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.25));
}

.individual-course .wide-card h3 {
  width: 100%;
  margin: 0;
  padding: 0 0 14px;
  transition: letter-spacing 1.15s var(--ease), transform 1.15s var(--ease), scale 1.15s var(--ease);
  transform-origin: left center;
  color: #fff;
}

.individual-course .wide-card h3:first-child {
  margin-top: 0;
}

.individual-course .wide-card h3:hover {
  letter-spacing: 0.006em;
  transform: none;
  scale: 1.05;
}

.about-text-only > div {
  box-shadow:
    inset 0 1px 0 #fff,
    0 18px 56px rgba(0, 113, 227, 0.17),
    0 0 44px rgba(0, 113, 227, 0.09);
  transition: border-color 1s var(--ease), box-shadow 1s var(--ease), transform 1s var(--ease);
}

.about-text-only > div:hover {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow:
    inset 0 1px 0 #fff,
    0 32px 90px rgba(0, 113, 227, 0.25),
    0 0 78px rgba(0, 113, 227, 0.17);
  transform: translateY(-8px) scale(1.025);
}

.individual-course .wide-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "course-title diploma-title"
    "course-copy diploma-copy"
    "course-action course-action";
  align-items: stretch;
  column-gap: clamp(27.6px, 3.22vw, 47.15px);
  row-gap: 8px;
  width: min(837.2px, 100%);
  max-width: 837.2px;
  min-height: clamp(322px, 33.81vw, 378.35px);
  padding: clamp(27.6px, 3.22vw, 36.8px);
  text-align: left;
}

.individual-course .wide-card > h3:nth-of-type(1) {
  grid-area: course-title;
  text-wrap: balance;
}

.individual-course .wide-card > p:nth-of-type(1) {
  grid-area: course-copy;
}

.individual-course .wide-card > h3:nth-of-type(2) {
  grid-area: diploma-title;
  text-wrap: balance;
}

.individual-course .wide-card > p:nth-of-type(2) {
  grid-area: diploma-copy;
}

.individual-course .wide-card > p {
  width: 100%;
  margin: 0;
  color: #d2d2d7;
  line-height: 1.6;
}

.individual-course .wide-card > .btn {
  grid-area: course-action;
  justify-self: start;
  margin-top: 20px;
}

#despre .title:hover {
  letter-spacing: -0.035em;
  transform: none;
  scale: 1;
}

#despre .about-text-only > div {
  box-shadow:
    inset 0 1px 0 #fff,
    0 15px 44px rgba(0, 113, 227, 0.13),
    0 0 32px rgba(0, 113, 227, 0.065);
  transition:
    border-color 0.8s var(--ease),
    box-shadow 0.8s var(--ease),
    transform 1.05s var(--ease);
  will-change: transform;
}

#despre .about-text-only > div:hover,
#despre .about-text-only > div.is-scroll-zoomed {
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow:
    inset 0 1px 0 #fff,
    0 25px 68px rgba(0, 113, 227, 0.19),
    0 0 52px rgba(0, 113, 227, 0.105);
  transform: translate3d(0, -6px, 0) scale(1.018);
}

#galerie {
  padding: 0;
  overflow: hidden;
}

#galerie > .wrap {
  position: relative;
  width: 100%;
  max-width: none;
}

.gallery-copy {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100svh;
  padding: 110px 20px clamp(42px, 8vh, 84px);
  text-align: center;
  pointer-events: none;
}

.gallery-copy .eyebrow,
.gallery-copy .title {
  pointer-events: auto;
}

.gallery {
  display: block;
  margin: 0;
}

#galerie .gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e9edf2;
  box-shadow: none;
  cursor: zoom-in;
}

#galerie .gallery-item:not(:last-child) {
  border-bottom: 0;
}

#galerie .gallery-item img {
  display: block;
  width: 100%;
  height: 100svh;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

#galerie .gallery-item:hover img,
#galerie .gallery-item:focus-visible img {
  transform: scale(1.028);
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 7, 10, 0.92);
}

.lightbox::backdrop {
  background: rgba(5, 7, 10, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 54px 24px 24px;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 84px);
  border-radius: 20px;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.location-card {
  min-height: 340px;
}

.location-city {
  width: calc(100% + 24px);
  margin: -12px -12px 0 !important;
  padding: 12px;
  transform-origin: left center !important;
}

.zoom-stack {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.zoom-line,
.zoom-gradient {
  display: inline-block;
  max-width: 100%;
  transition: color 0.58s var(--ease), filter 0.58s var(--ease), transform 0.58s var(--ease), scale 0.58s var(--ease);
  transform-origin: left center;
}

.zoom-line {
  width: 100%;
}

.zoom-line:hover,
.zoom-gradient:hover {
  color: var(--blue);
  background: none;
  filter: none;
}

.card .location-city:hover {
  transform: none;
  scale: 1.098;
}

.zoom-1:hover { transform: none; scale: 1.098; }
.zoom-2:hover { transform: none; scale: 1.07; }
.zoom-3:hover { transform: none; scale: 1.0525; }
.zoom-4:hover { transform: none; scale: 1.035; }

.location-note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

.quote {
  --quote-float-delay: 0s;
  width: auto;
  min-height: 230px;
  margin-block: 16px;
  border: 0 !important;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 50% 4%, #fff 0%, #fbfcfe 44%, transparent 72%),
    linear-gradient(155deg, #fff 0%, #f7f8fb 52%, #edf0f5 100%) !important;
  box-shadow:
    inset 5px 5px 12px rgba(255, 255, 255, 0.98),
    inset -7px -9px 18px rgba(55, 72, 98, 0.11),
    0 22px 40px rgba(0, 45, 91, 0.16),
    0 0 26px rgba(0, 113, 227, 0.09) !important;
  animation: quote-float 6.8s ease-in-out var(--quote-float-delay) infinite;
  transition: box-shadow 0.7s var(--ease), transform 1.05s var(--ease);
}

.quote::before {
  background: radial-gradient(ellipse at 42% 0%, rgba(255, 255, 255, 0.94), transparent 62%);
}

.quote:hover {
  animation:
    quote-float 6.8s ease-in-out var(--quote-float-delay) infinite,
    premium-urgency-relaxed 3.8s ease-in-out 8s infinite;
  border: 0 !important;
  box-shadow:
    inset 6px 6px 14px rgba(255, 255, 255, 1),
    inset -9px -11px 22px rgba(55, 72, 98, 0.13),
    0 30px 54px rgba(0, 45, 91, 0.22),
    0 0 34px rgba(0, 113, 227, 0.12) !important;
  transform: translateY(-6px);
}

.quotes-group .quote:nth-child(2) { --quote-float-delay: -2.2s; }
.quotes-group .quote:nth-child(3) { --quote-float-delay: -4.4s; }

@keyframes quote-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.quote p {
  color: var(--ink);
  font-size: 19px;
  transform-origin: left center;
  transition: scale 1.15s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .quote:hover > p {
    scale: 1.012;
  }
}

.testimonials {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.testimonials::before {
  content: none;
}

.testimonials > .wrap,
.testimonials .quotes-viewport {
  position: relative;
  z-index: 1;
}

.quotes-viewport {
  width: 100%;
  margin-top: 48px;
  overflow: visible;
}

.quotes-track {
  display: block;
  width: auto;
  animation: none;
  will-change: auto;
}

.quotes-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  gap: 30px;
}

.quotes-group[aria-hidden="true"] {
  display: none;
}

.quote-stars {
  display: flex;
  gap: 5px;
  align-self: flex-start;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 27px;
  line-height: 1;
}

.quote-stars span {
  display: inline-block;
  backface-visibility: hidden;
  color: transparent;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 238, 0.78) 0%,
    rgba(250, 211, 91, 0.5) 30%,
    rgba(201, 137, 20, 0.56) 62%,
    rgba(255, 230, 142, 0.68) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 7px 8px rgba(78, 45, 0, 0.48))
    drop-shadow(0 0 10px rgba(117, 70, 0, 0.2));
  -webkit-text-stroke: 0.45px rgba(255, 244, 178, 0.68);
  text-shadow: none;
  transition:
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-text-stroke 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  will-change: scale;
}

.quote-stars span:hover {
  filter:
    brightness(1.12)
    drop-shadow(0 9px 10px rgba(73, 40, 0, 0.58))
    drop-shadow(0 0 13px rgba(118, 68, 0, 0.26));
  -webkit-text-stroke: 0.68px rgba(255, 250, 216, 0.9);
  scale: 1.32;
}

.contact-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.contact-lines > div {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border-radius: 22px;
  transition: border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}

.contact-lines > div::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.44), transparent 28%, transparent 76%, rgba(0, 113, 227, 0.05));
  content: "";
  pointer-events: none;
}

.contact-lines > div:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 28px 68px rgba(31, 52, 78, 0.2);
  transform: translateY(-6px);
}

.contact-lines .zoom-stack {
  justify-content: flex-start;
  line-height: 1.55;
}

.contact-lines .zoom-line {
  position: relative;
  z-index: 1;
}

.contact-zoom {
  display: inline-block;
  transform-origin: left center;
}

footer {
  padding: 44px 0;
  border-top: 1px solid rgba(30, 55, 85, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 17px;
}

.instagram-button {
  flex: 0 0 auto;
}

.legal {
  color: #515154;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.scroll-unlock {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
}

.scroll-unlock.is-visible {
  opacity: 1;
  transform: none;
  animation: scroll-flow-in 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) var(--unlock-delay, 0ms) backwards;
}

@keyframes scroll-flow-in {
  from {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  .scroll-unlock,
  .scroll-unlock.is-visible {
    opacity: 1;
    transform: none;
    animation: scroll-flow-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 44%;
  }

  .apple-panel:not(.apple-panel-hero) .scroll-unlock {
    animation-range: entry 0% cover 28%;
  }

  footer .scroll-unlock {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .grid:not(.location-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-grid,
  .contact-lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .location-card {
    padding: 24px;
  }

  .contact-lines > div {
    padding: 24px 20px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: calc(82px + env(safe-area-inset-top, 0px));
  }

  section[id] {
    scroll-margin-top: calc(62px + env(safe-area-inset-top, 0px));
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    position: relative;
    min-width: 0;
  }

  main,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    touch-action: pan-y pinch-zoom;
  }

  .ambient-depth {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  section {
    padding: 64px 0;
  }

  .wrap {
    width: min(100% - 28px, 700px);
  }

  .nav-shell {
    top: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0px);
    border-radius: 0;
  }

  .nav-shell nav {
    width: 100%;
    min-height: 52px;
    padding: 0 10px;
    gap: 12px;
  }

  .brand {
    min-width: 32px;
    min-height: 44px;
  }

  .logo {
    height: 32px;
  }

  .navlinks {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 17px;
    min-width: 0;
    padding-right: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .navlinks::-webkit-scrollbar {
    display: none;
  }

  .navlinks a {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 13.8px;
    letter-spacing: -0.012em;
    scroll-snap-align: start;
  }

  .apple-panel {
    min-height: 100svh;
    margin: 0;
    padding: 0;
  }

  .apple-panel-hero {
    min-height: 100svh;
    padding: 0;
  }

  .apple-panel-copy {
    width: 100%;
    margin: 0;
    padding: 120px 18px 38px;
  }

  .apple-photo-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
  }

  .apple-photo-frame img {
    object-position: center;
  }

  h1 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .title {
    font-size: clamp(31px, 8vw, 44px);
  }

  .about-text-only > div {
    padding: 30px 22px;
  }

  .grid,
  .grid.two,
  .grid:not(.location-grid),
  .location-grid,
  .gallery,
  .contact-lines {
    grid-template-columns: 1fr;
  }

  .card,
  .location-card {
    min-height: auto;
    padding: 26px;
  }

  .individual-course .wide-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
      "course-title"
      "course-copy"
      "diploma-title"
      "diploma-copy"
      "course-action";
    min-height: auto;
    row-gap: 0;
  }

  .individual-course .wide-card > h3:nth-of-type(2) {
    margin-top: 28px;
  }

  .gallery {
    gap: 14px;
  }

  .gallery-item img {
    aspect-ratio: 4 / 5;
  }

  .contact-zoom {
    transform-origin: center;
  }

  .contact-lines {
    text-align: center;
  }

  .depth-blob {
    filter: blur(78px);
    opacity: 0.38;
  }

  .quote {
    width: auto;
  }

  .quotes-viewport {
    overflow: visible;
  }

  .quotes-group {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 700px);
  }

  footer {
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .nav-shell nav {
    padding-inline: 6px;
    gap: 3px;
  }

  .brand {
    min-width: 27px;
  }

  .logo {
    height: 30px;
  }

  .navlinks a {
    font-size: 13.225px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .signup-form input {
    width: 100%;
  }

  .stats-top {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .locations {
    font-size: 14px;
  }
}

/* Dezactivăm hover-ul doar când dispozitivul nu are absolut nicio metodă de
   indicare. iPadOS cu mouse/trackpad păstrează astfel toate efectele macOS. */
@media (hover: none) and (any-hover: none) {
  .signup-button:hover {
    border-color: transparent !important;
    background: var(--blue) !important;
    box-shadow: none;
    transform: none;
  }

  h1:hover,
  .title:hover,
  .card h3:hover,
  .contact-zoom:hover,
  .locations-title:hover,
  .navlinks a:hover {
    transform: none;
    scale: 1;
  }

  .card:hover {
    transform: none;
  }

  .about-text-only > div:hover,
  .contact-lines > div:hover,
  .individual-course .wide-card:hover {
    transform: none;
  }

  #servicii .card h3:hover,
  #seminarii .grid .card h3:hover,
  #seminarii .wide-card > h3:hover,
  .individual-course .wide-card h3:hover,
  .premium-section .vip-card-title:hover,
  .contact-lines > div:hover .zoom-line {
    letter-spacing: inherit;
    transform: none !important;
    scale: 1 !important;
  }

  #seminarii .wide-card > h3:hover {
    font-weight: 600;
  }

  .title:hover {
    letter-spacing: -0.035em;
    scale: 1;
  }

  .eyebrow:hover {
    letter-spacing: -0.01em;
    transform: none;
    scale: 1;
  }

  .card p:hover .price-emphasis,
  .price-emphasis:hover,
  .section-logo-wrap:hover,
  .vip-card-title:hover,
  .zoom-line:hover,
  .zoom-gradient:hover {
    color: inherit;
    background: none;
    filter: none;
    transform: none !important;
    scale: 1 !important;
  }

  .stat b:hover,
  .quote-stars span:hover {
    transform: none;
    scale: 1;
  }

  .stat:hover b,
  .section-logo-wrap:hover .section-logo,
  .section-logo-wrap:hover .eyebrow-logo {
    scale: 1 !important;
  }

  #servicii .card:hover,
  #seminarii .grid .card:hover,
  #premium-vip .card:hover,
  #curs-individual .card:hover {
    animation: none;
  }
}

@media (max-width: 820px) and (any-hover: none) {
  @keyframes mobile-nav-marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(var(--nav-marquee-distance, -1000px), 0, 0);
    }
  }

  @keyframes mobile-text-flow-in {
    from {
      opacity: 0;
      transform: translate3d(0, 28px, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* Modul tactil păstrează vizual designul, dar elimină straturile fixe și
     suprafețele invizibile care costă cadre în timpul scroll-ului pe iOS. */
  .ambient-depth {
    display: none;
  }

  .nav-shell {
    border-bottom: 0 !important;
    background: rgba(250, 250, 252, 0.56);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    backdrop-filter: blur(14px) saturate(155%);
    transition:
      background-color 1.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 1.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 1.45s cubic-bezier(0.22, 1, 0.36, 1),
      -webkit-backdrop-filter 1.35s cubic-bezier(0.22, 1, 0.36, 1),
      backdrop-filter 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-shell::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    opacity: 0.76;
    transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Fundalul Premium intră prin opacitate. Gradientele CSS nu se pot
     interpola direct și de aceea vechea schimbare părea instantanee. */
  .nav-shell::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
      radial-gradient(ellipse 78% 170% at 28% -34%, rgba(255, 255, 255, 0.14), transparent 66%),
      linear-gradient(148deg, rgba(35, 43, 54, 0.364), rgba(7, 11, 17, 0.322));
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-shell.nav-shell-premium {
    border-bottom: 0 !important;
    background: rgba(8, 12, 18, 0.112);
    box-shadow:
      inset 0 -1px 0 rgba(255, 255, 255, 0.04),
      0 14px 36px rgba(0, 0, 0, 0.14);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }

  .nav-shell.nav-shell-premium::after {
    opacity: 0.656;
  }

  .nav-shell.nav-shell-premium::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    opacity: 0;
  }

  .nav-shell .navlinks a,
  .nav-shell .logo {
    transition-duration: 1.25s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  .navlinks.mobile-auto-marquee {
    --nav-marquee-gap: 17px;
    display: block;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .navlinks-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: var(--nav-marquee-gap);
    animation: mobile-nav-marquee 48s linear infinite;
    backface-visibility: hidden;
    will-change: transform;
  }

  .navlinks-set {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--nav-marquee-gap);
  }

  .navlinks.mobile-auto-marquee:active .navlinks-track,
  .navlinks.mobile-auto-marquee:focus-within .navlinks-track,
  .navlinks.mobile-auto-marquee.is-user-scrolling .navlinks-track {
    animation-play-state: paused;
  }

  .navlinks.mobile-auto-marquee.is-user-scrolling .navlinks-track {
    transform: none;
    animation: none;
    will-change: auto;
  }

  .premium-lights::before,
  .premium-lights::after {
    width: min(680px, 170vw);
  }

  .dna-trail-particle {
    width: clamp(118px, 34vw, 148px);
  }

  .card {
    contain: layout paint;
  }

  /* Paritate vizuală cu macOS, cu un cost mult mai mic pe iPhone: suprafața
     rămâne sticloasă și contrastată, dar nu mai recalculează blurul din spate
     pentru fiecare chenar în timpul scroll-ului. */
  #despre .about-text-only > div,
  .card,
  .contact-lines > div {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  #despre .about-text-only > div,
  #servicii .card,
  #seminarii .card,
  #locatii .card,
  #programare .contact-lines > div {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.78));
  }

  #despre .about-text-only > div,
  #servicii .card,
  #seminarii .card,
  #locatii .card,
  #programare .contact-lines > div,
  #testimoniale .quote {
    color: var(--ink);
  }

  #servicii .card p,
  #seminarii .card p,
  #locatii .card p,
  #programare .contact-lines > div span {
    color: var(--muted);
  }

  .card h3,
  .zoom-line,
  .location-city,
  .vip-card-title {
    overflow-wrap: anywhere;
  }

  /* Ultimele trei chenare rămân suprafețe clare, ca pe desktop. Pe iOS,
     izolarea lor împreună cu blurul de fundal producea o peliculă albastră. */
  #programare .contact-lines > div {
    contain: none;
  }

  /* Cardul nu mai este estompat de animația de intrare; textele din el își
     păstrează separat zoom-ul și culoarea sincronizate cu scroll-ul. */
  #programare .contact-lines > div.scroll-unlock,
  #programare .contact-lines > div.scroll-unlock.is-visible {
    opacity: 1;
    animation: none !important;
  }

  html.is-mobile-scrolling .birth-star.is-twinkling,
  html.is-mobile-scrolling .birth-star.is-twinkling::before,
  html.is-mobile-scrolling .birth-star.is-twinkling::after,
  html.is-mobile-scrolling .quote,
  html.is-mobile-scrolling #servicii .card.is-mobile-scroll-active,
  html.is-mobile-scrolling #seminarii .grid .card.is-mobile-scroll-active,
  html.is-mobile-scrolling #premium-vip .premium-section .card.is-mobile-scroll-active,
  html.is-mobile-scrolling #curs-individual .card.is-mobile-scroll-active {
    animation-play-state: paused !important;
  }

  /* Textele nu mai sunt deplasate sau scalate de progresul scroll-ului.
     Acesta este traseul cel mai stabil și mai economic pe iOS. */
  .scroll-unlock,
  .scroll-unlock.is-visible,
  .apple-panel:not(.apple-panel-hero) .scroll-unlock {
    opacity: 1 !important;
    transform: none;
    animation: none !important;
    animation-timeline: auto !important;
  }

  /* Echivalentul mobil al efectelor de hover, controlat de banda de scroll. */
  .title,
  .eyebrow,
  .card > h3,
  .vip-card-title,
  .location-city {
    backface-visibility: hidden;
    scale: var(--mobile-scroll-scale, 1) !important;
    transition: color 0.55s linear !important;
    will-change: auto;
  }

  /* Pe iPhone zoom-ul prin scroll este rezervat exclusiv pachetelor.
     Restul interfeței rămâne stabil, clar și mai ușor pentru procesor. */
  .apple-panel-hero h1,
  main section:not(.apple-panel-hero) .title,
  main section:not(.apple-panel-hero) .eyebrow,
  #despre .stat b,
  #galerie .gallery-item,
  #galerie .gallery-item img,
  #locatii .location-city,
  #locatii .zoom-line,
  #programare .zoom-line,
  #testimoniale .quote,
  #testimoniale .quote > p,
  #testimoniale .quote-stars span,
  #despre .about-text-only > div,
  main section:not(.apple-panel-hero) .section-logo-wrap,
  main section:not(.apple-panel-hero) .section-logo,
  main section:not(.apple-panel-hero) .eyebrow-logo {
    transform: none !important;
    scale: 1 !important;
  }

  #servicii .card > h3,
  #seminarii .grid .card > h3,
  .premium-section .vip-card-title,
  .individual-course .wide-card > h3,
  .location-city {
    transform-origin: center !important;
  }

  .price-emphasis,
  .zoom-line,
  .zoom-gradient,
  .premium-section .card > p,
  .individual-course .wide-card > p,
  .quote > p {
    transition-duration: 0.95s !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .apple-panel-hero .hero-particle-title {
    scale: 1 !important;
    transition: opacity 0.22s ease-out !important;
    will-change: scale, opacity;
  }

  .apple-panel-hero .hero-particle-title.is-interactive {
    scale: var(--mobile-scroll-scale, 1) !important;
  }

  #galerie .gallery-item {
    contain: paint;
  }

  #galerie .gallery-item img {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(var(--mobile-scroll-scale, 1)) !important;
    transform-origin: center;
    transition: none !important;
    will-change: transform;
  }

  .quote-stars span {
    scale: var(--mobile-scroll-scale, 1) !important;
    transition:
      filter 0.55s linear,
      -webkit-text-stroke 0.55s linear !important;
    will-change: auto;
  }

  .quote-stars {
    transform: translateZ(0);
  }

  #despre .stat b {
    backface-visibility: hidden;
    scale: var(--mobile-scroll-scale, 1) !important;
    transition: filter 0.55s linear !important;
    will-change: auto;
  }

  .title.is-mobile-scroll-active,
  .eyebrow.is-mobile-scroll-active,
  .card > h3.is-mobile-scroll-active,
  .vip-card-title.is-mobile-scroll-active,
  .location-city.is-mobile-scroll-active,
  #despre .stat b.is-mobile-scroll-active {
    will-change: scale;
  }

  /* Recenziile plutesc numai cât sunt în zona vizibilă. Aspectul rămâne
     identic, însă animațiile din afara ecranului nu mai consumă procesor. */
  .quote {
    animation-play-state: paused;
  }

  .quote.is-mobile-scroll-active {
    animation-play-state: running;
  }

  .title.is-mobile-scroll-active {
    letter-spacing: -0.012em;
    transform: none;
    scale: 1.05;
  }

  #despre .title.is-mobile-scroll-active {
    letter-spacing: -0.035em;
    scale: 1;
  }

  .eyebrow.is-mobile-scroll-active {
    letter-spacing: 0.012em;
    transform: none;
    scale: 1.072;
  }

  .card.is-mobile-scroll-active,
  .contact-lines > div.is-mobile-scroll-active {
    border-color: rgba(0, 113, 227, 0.22);
    box-shadow: inset 0 1px 0 #fff, 0 28px 68px rgba(31, 52, 78, 0.2);
    transform: translate3d(0, -6px, 0);
  }

  #despre .about-text-only > div.is-mobile-scroll-active {
    border-color: rgba(0, 113, 227, 0.2);
    box-shadow:
      inset 0 1px 0 #fff,
      0 25px 68px rgba(0, 113, 227, 0.19),
      0 0 52px rgba(0, 113, 227, 0.105);
    transform: translate3d(0, -6px, 0) scale(1.018);
  }

  .card > h3.is-mobile-scroll-active,
  .contact-zoom.is-mobile-scroll-active,
  .locations-title.is-mobile-scroll-active {
    transform: none;
    scale: 1.045;
  }

  #servicii .card > h3.is-mobile-scroll-active,
  #seminarii .grid .card > h3.is-mobile-scroll-active {
    letter-spacing: 0.012em;
    transform: none;
    scale: 1.12;
  }

  #seminarii .wide-card > h3.is-mobile-scroll-active {
    font-weight: 650;
    transform: none;
    scale: 1;
  }

  .price-emphasis.is-mobile-scroll-active {
    color: var(--blue);
    background: none;
    filter: none;
    transform: none;
    scale: 1.168;
  }

  .haircut-price.is-mobile-scroll-active {
    scale: 1.049;
  }

  .stat b.is-mobile-scroll-active {
    filter: drop-shadow(0 14px 11px rgba(0, 0, 0, 0.3));
    transform: none;
    scale: var(--mobile-scroll-scale, 1) !important;
  }

  .section-logo-wrap.is-mobile-scroll-active .section-logo,
  .section-logo-wrap.is-mobile-scroll-active .eyebrow-logo {
    scale: 1.1;
  }

  .premium-section .section-logo-wrap.is-mobile-scroll-active {
    filter: drop-shadow(0 10px 16px rgba(255, 255, 255, 0.28));
  }

  .individual-course .section-logo-wrap.is-mobile-scroll-active {
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.25));
  }

  .premium-section .card.is-mobile-scroll-active,
  .individual-course .wide-card.is-mobile-scroll-active {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow:
      inset 7px 7px 17px rgba(0, 0, 0, 0.23),
      inset -6px -7px 16px rgba(255, 255, 255, 0.11),
      0 0 34px rgba(255, 255, 255, 0.2),
      0 0 58px rgba(255, 255, 255, 0.08),
      0 16px 34px rgba(0, 0, 0, 0.54);
    transform: translate3d(0, -6px, 0);
  }

  .premium-section .card.is-mobile-scroll-active > p,
  .individual-course .wide-card.is-mobile-scroll-active > p {
    scale: 1.012;
  }

  .premium-section .vip-card-title.is-mobile-scroll-active {
    letter-spacing: 0.012em;
    transform: none !important;
    scale: 1.085;
  }

  .individual-course .wide-card > h3.is-mobile-scroll-active {
    letter-spacing: 0.006em;
    transform: none;
    scale: 1.065;
  }

  .location-city.is-mobile-scroll-active,
  .zoom-gradient.is-mobile-scroll-active {
    color: var(--blue);
    transform: none;
    scale: 1.12;
  }

  .zoom-line.is-mobile-scroll-active {
    color: var(--blue);
    background: none;
    filter: none;
    transform: none;
  }

  .zoom-1.is-mobile-scroll-active { scale: 1.055; }
  .zoom-2.is-mobile-scroll-active { scale: 1.043; }
  .zoom-3.is-mobile-scroll-active { scale: 1.031; }
  .zoom-4.is-mobile-scroll-active { scale: 1.019; }

  .quote.is-mobile-scroll-active {
    border: 0 !important;
    box-shadow:
      inset 6px 6px 14px rgba(255, 255, 255, 1),
      inset -9px -11px 22px rgba(55, 72, 98, 0.13),
      0 30px 54px rgba(0, 45, 91, 0.22),
      0 0 34px rgba(0, 113, 227, 0.12) !important;
    transform: translate3d(0, -6px, 0);
  }

  .quote.is-mobile-scroll-active > p {
    scale: 1.012;
  }

  #servicii .card.is-mobile-scroll-active,
  #seminarii .grid .card.is-mobile-scroll-active {
    animation: premium-urgency-relaxed 3.8s ease-in-out 7s infinite;
  }

  #premium-vip .premium-section .card.is-mobile-scroll-active {
    animation: premium-urgency-relaxed 3.8s ease-in-out 8s infinite;
  }

  #curs-individual .card.is-mobile-scroll-active {
    animation: premium-urgency-relaxed 3.8s ease-in-out 14s infinite;
  }

  /* Zoom-ul titlurilor este furnizat exclusiv de progresia continuă din
     scroll. Eliminăm modificarea spațierii literelor, care obligă browserul
     să recalculeze textul și poate produce mici salturi pe mobil. */
  .title.is-mobile-scroll-active {
    letter-spacing: -0.035em !important;
    scale: var(--mobile-scroll-scale, 1) !important;
  }

  .eyebrow.is-mobile-scroll-active {
    letter-spacing: -0.01em !important;
    scale: var(--mobile-scroll-scale, 1) !important;
  }

  .card > h3.is-mobile-scroll-active,
  #servicii .card > h3.is-mobile-scroll-active,
  #seminarii .grid .card > h3.is-mobile-scroll-active,
  #seminarii .wide-card > h3.is-mobile-scroll-active,
  .premium-section .vip-card-title.is-mobile-scroll-active,
  .individual-course .wide-card > h3.is-mobile-scroll-active,
  .location-city.is-mobile-scroll-active {
    letter-spacing: inherit !important;
    scale: var(--mobile-scroll-scale, 1) !important;
  }

  /* Singurele zoom-uri păstrate pe telefon: pachetele importante. Starea se
     schimbă rar prin IntersectionObserver, iar animația rulează exclusiv pe
     compositor, fără recalculări continue în JavaScript. */
  #servicii .card,
  #seminarii .grid .card,
  #premium-vip .premium-section .card,
  #curs-individual .wide-card {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
      border-color 1.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 1.35s cubic-bezier(0.4, 0, 0.2, 1),
      transform 1.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #servicii .card.is-mobile-scroll-active,
  #seminarii .grid .card.is-mobile-scroll-active,
  #premium-vip .premium-section .card.is-mobile-scroll-active,
  #curs-individual .wide-card.is-mobile-scroll-active {
    transform: translate3d(0, -5px, 0) scale(1.0142);
  }

  #servicii .card > h3,
  #seminarii .grid .card > h3,
  #premium-vip .premium-section .vip-card-title,
  #curs-individual .wide-card > h3 {
    backface-visibility: hidden;
    scale: 1 !important;
    transition:
      color 1.15s cubic-bezier(0.4, 0, 0.2, 1),
      scale 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #servicii .card.is-mobile-scroll-active > h3,
  #seminarii .grid .card.is-mobile-scroll-active > h3,
  #premium-vip .premium-section .card.is-mobile-scroll-active > .vip-card-title,
  #curs-individual .wide-card.is-mobile-scroll-active > h3 {
    scale: 1.041 !important;
  }

  /* Cifrele din „Despre mine” sunt aliniate separat de text. Doar cifra
     primește zoom, fără să miște eticheta sau structura cardului. */
  #despre .stats-top {
    column-gap: clamp(12px, 4vw, 20px);
    row-gap: 16px;
  }

  #despre .stat {
    display: grid;
    grid-template-columns: auto minmax(0, auto);
    align-items: center;
    justify-content: center;
    column-gap: clamp(7px, 2.2vw, 10px);
    line-height: 1.25;
    text-align: left;
  }

  #despre .locations-title {
    width: fit-content;
    margin-inline: auto;
  }

  #despre .stat b {
    margin: 0;
    padding: 0;
    backface-visibility: hidden;
    transform: none !important;
    scale: 1 !important;
    transform-origin: center;
    filter: none !important;
    transition: scale 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #despre .stat.is-mobile-scroll-active b {
    filter: none !important;
    scale: 1.12 !important;
  }

  #despre .stats-top .stat:nth-child(1).is-mobile-scroll-active b {
    transition-delay: 0ms !important;
  }

  #despre .stats-top .stat:nth-child(2).is-mobile-scroll-active b {
    transition-delay: 150ms !important;
  }

  #despre .locations-title.is-mobile-scroll-active b {
    transition-delay: 90ms !important;
  }

  /* Locațiile folosesc același declanșator economic ca pachetele, însă doar
     textele se animă. Chenarele rămân fixe pentru un scroll stabil. */
  #locatii .location-card.is-mobile-scroll-active,
  #programare .contact-lines > div.is-mobile-scroll-active {
    transform: none;
  }

  #locatii .location-city,
  #locatii .zoom-line,
  #programare .zoom-line {
    backface-visibility: hidden;
    color: inherit;
    scale: 1 !important;
    transition:
      scale 1.45s cubic-bezier(0.4, 0, 0.2, 1),
      color 0.85s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-delay: 0ms, 0ms !important;
  }

  #locatii .location-card.is-mobile-scroll-active .location-city,
  #locatii .location-card.is-mobile-scroll-active .zoom-line,
  #programare .contact-lines > div.is-mobile-scroll-active .zoom-line {
    color: var(--blue);
  }

  #locatii .location-card.is-mobile-scroll-active .location-city {
    scale: 1.045 !important;
    transition-delay: 0ms, 250ms !important;
  }

  #locatii .location-card.is-mobile-scroll-active .zoom-1,
  #programare .contact-lines > div.is-mobile-scroll-active .zoom-1 {
    scale: 1.035 !important;
    transition-delay: 130ms, 380ms !important;
  }

  #locatii .location-card.is-mobile-scroll-active .zoom-2,
  #programare .contact-lines > div.is-mobile-scroll-active .zoom-2 {
    scale: 1.026 !important;
    transition-delay: 260ms, 510ms !important;
  }

  #locatii .location-card.is-mobile-scroll-active .zoom-3,
  #programare .contact-lines > div.is-mobile-scroll-active .zoom-3 {
    scale: 1.018 !important;
    transition-delay: 390ms, 640ms !important;
  }

  #locatii .location-card.is-mobile-scroll-active .zoom-4 {
    scale: 1.012 !important;
    transition-delay: 520ms, 770ms !important;
  }

  /* La Programare primul rând pornește domino-ul imediat, neexistând rândul
     separat al orașului de deasupra. */
  #programare .contact-lines > div.is-mobile-scroll-active .zoom-1 {
    transition-delay: 0ms, 250ms !important;
  }

  #programare .contact-lines > div.is-mobile-scroll-active .zoom-2 {
    transition-delay: 130ms, 380ms !important;
  }

  #programare .contact-lines > div.is-mobile-scroll-active .zoom-3 {
    transition-delay: 260ms, 510ms !important;
  }

  /* Varianta legată 1:1 de scroll pentru locații. Fiecare rând atinge maximul
     exact în centrul ecranului, ceea ce produce domino natural și reversibil. */
  #locatii .is-scroll-domino,
  #programare .is-scroll-domino {
    color: var(--scroll-domino-color, inherit) !important;
    scale: var(--scroll-domino-scale, 1) !important;
    transition: none !important;
  }

  #locatii .location-city.is-scroll-domino,
  #locatii .zoom-line.is-scroll-domino {
    transform-origin: left center;
  }

  #programare .zoom-line.is-scroll-domino {
    transform-origin: center;
  }

  html.is-mobile-scrolling #locatii .is-scroll-domino,
  html.is-mobile-scrolling #programare .is-scroll-domino {
    will-change: scale;
  }

  /* Pachetele și cifrele folosesc aceeași progresie reversibilă ca locațiile.
     Nu mai există o animație separată care să sară când se schimbă sensul. */
  #servicii .card.is-scroll-package,
  #seminarii .grid .card.is-scroll-package,
  #premium-vip .premium-section .card.is-scroll-package,
  #curs-individual .wide-card.is-scroll-package {
    transform: translate3d(0, var(--package-scroll-y, 0px), 0)
      scale(var(--package-scroll-scale, 1)) !important;
    transition: none !important;
    animation: none !important;
  }

  #servicii .card.is-scroll-package > h3,
  #seminarii .grid .card.is-scroll-package > h3,
  #premium-vip .premium-section .card.is-scroll-package > .vip-card-title,
  #curs-individual .wide-card.is-scroll-package > h3 {
    scale: var(--package-heading-scale, 1) !important;
    transition: none !important;
  }

  #despre .stat b.is-scroll-number {
    filter: none !important;
    scale: var(--number-scroll-scale, 1) !important;
    transition: none !important;
  }

  html.is-mobile-scrolling .is-scroll-package,
  html.is-mobile-scrolling #despre .is-scroll-number {
    will-change: transform, scale;
  }

  /* Pe telefon, invitația de tastare apare numai când formularul ajunge în
     zona vizibilă. Folosește exact ritmul punctelor de pe desktop. */
  .email-field.is-mobile-prompt-visible:not(.has-content) .typing-dots {
    opacity: 1;
  }

  .email-field.is-mobile-prompt-visible:not(.has-content) .typing-dots i {
    animation: typing-dot 1.15s ease-in-out infinite;
  }

  .email-field.is-mobile-prompt-visible:not(.has-content) .typing-dots i:nth-child(2) {
    animation-delay: 0.16s;
  }

  .email-field.is-mobile-prompt-visible:not(.has-content) .typing-dots i:nth-child(3) {
    animation-delay: 0.32s;
  }

  .email-field.has-content .typing-dots,
  .email-field:has(input:not(:placeholder-shown)) .typing-dots {
    opacity: 0 !important;
  }

  .email-field.has-content .typing-dots i,
  .email-field:has(input:not(:placeholder-shown)) .typing-dots i {
    animation: none !important;
  }
}

/* Exclusiv pe telefon: chenarele albe primesc volumul moale al recenziilor,
   cu o umbră gri-albăstruie discretă și fără blur costisitor pentru iPhone. */
@media (any-hover: none) and (max-width: 600px),
       (any-hover: none) and (max-height: 600px) {
  #despre .about-text-only > div,
  #servicii .card,
  #seminarii .card,
  #locatii .card,
  #programare .contact-lines > div {
    border-color: transparent !important;
    background:
      radial-gradient(ellipse at 50% 4%, #fff 0%, #fbfcfe 44%, transparent 72%),
      linear-gradient(155deg, #fff 0%, #f7f8fb 52%, #edf0f5 100%) !important;
    box-shadow:
      inset 6px 6px 14px rgba(255, 255, 255, 0.98),
      inset -8px -10px 20px rgba(63, 79, 104, 0.1),
      0 18px 34px rgba(54, 70, 96, 0.09),
      0 0 24px rgba(79, 106, 143, 0.045) !important;
  }

  #despre .about-text-only > div.is-mobile-scroll-active,
  #servicii .card.is-mobile-scroll-active,
  #seminarii .card.is-mobile-scroll-active,
  #locatii .card.is-mobile-scroll-active,
  #programare .contact-lines > div.is-mobile-scroll-active {
    border-color: transparent !important;
    box-shadow:
      inset 7px 7px 16px rgba(255, 255, 255, 1),
      inset -10px -12px 24px rgba(63, 79, 104, 0.115),
      0 24px 44px rgba(54, 70, 96, 0.11),
      0 0 28px rgba(79, 106, 143, 0.055) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .depth-blob {
    transform: none !important;
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .quotes-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .quotes-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .quotes-group[aria-hidden="true"] {
    display: none;
  }

  .quote {
    animation: none;
  }

  #servicii .card:hover,
  #seminarii .grid .card:hover,
  #premium-vip .card:hover,
  #curs-individual .card:hover {
    animation: none !important;
  }
}

/* 2026-07-30 — rafinare vizuală, fără schimbări de conținut */
.nav-shell {
  background: rgba(250, 250, 252, 0.26);
  border-bottom-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 28px rgba(30, 45, 65, 0.055);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  backdrop-filter: blur(24px) saturate(175%);
}

.nav-shell.nav-shell-premium {
  background: rgba(8, 12, 18, 0.075);
}

.wrap > .sub,
.center > .sub {
  max-width: 760px;
}

.grid {
  grid-auto-rows: 1fr;
}

.card {
  height: 100%;
}

.btn {
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.12);
  transition:
    background-color 0.38s var(--ease),
    border-color 0.38s var(--ease),
    color 0.38s var(--ease),
    box-shadow 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.btn:hover {
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.22);
  transform: translateY(-2px);
}

.btn.action:hover,
.btn.outline:hover,
.package-link:hover {
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.24);
  transform: translateY(-2px);
}

.card,
.about-text-only > div,
.contact-lines > div {
  transition:
    border-color 0.65s var(--ease),
    box-shadow 0.72s var(--ease),
    transform 0.72s var(--ease);
}

@media (max-width: 820px) {
  .nav-shell {
    background: rgba(250, 250, 252, 0.34);
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
  }

  .nav-shell nav {
    align-items: center;
  }

  .navlinks {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .navlinks a {
    padding-inline: 7px;
  }

  .grid {
    grid-auto-rows: auto;
    gap: 18px;
  }

  .card {
    height: auto;
  }
}

@media (hover: none) and (any-hover: none) {
  .btn:hover,
  .btn.action:hover,
  .btn.outline:hover,
  .package-link:hover {
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.12);
    transform: none;
  }
}
