/* Alpha Training — mockup v1
   Paleta oficiala (culori.jpeg), ajustata minim pentru contrast. */

:root {
  --silk: #f7f7f6;
  --star: #dbdad6;
  --mist: #a4a3a0;
  --iron: #61615f;
  --olive: #373736;
  --deep: #2a2a29;

  --curve: 0px;
  --gap: clamp(56px, 7vw, 104px);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Fiecare banda isi defineste propriile culori; tot ce e in ea le mosteneste. */
.tone-silk  { --bg: var(--silk);  --fg: #373736; --muted: #61615f; --soft: rgba(55, 55, 54, 0.08); }
.tone-star  { --bg: var(--star);  --fg: #373736; --muted: #545452; --soft: rgba(55, 55, 54, 0.08); }
.tone-mist  { --bg: var(--mist);  --fg: #262625; --muted: #373736; --soft: rgba(38, 38, 37, 0.1); }
.tone-iron  { --bg: var(--iron);  --fg: #f7f7f6; --muted: #e6e5e2; --soft: rgba(247, 247, 246, 0.1); }
.tone-olive { --bg: var(--olive); --fg: #f7f7f6; --muted: #c9c8c4; --soft: rgba(247, 247, 246, 0.08); }
.tone-deep  { --bg: var(--deep);  --fg: #f7f7f6; --muted: #b9b8b4; --soft: rgba(247, 247, 246, 0.08); }

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #373736;
  background: var(--silk);
}

/* Limba: elementele de alta limba dispar */
html[data-lang="ro"] [lang="en"],
html[data-lang="en"] [lang="ro"] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); text-wrap: balance; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 12px 16px; background: var(--olive); color: var(--silk);
  transition: top 150ms ease-out;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- Benzi (motivul curbei din paleta) ---------- */

.band {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--gap) calc(var(--gap) + var(--curve));
}
.band + .band,
.hero + main > .band:first-child,
main + .band {
  margin-top: calc(var(--curve) * -1);
  padding-top: calc(var(--gap) + var(--curve));
}

/* ---------- Antet ---------- */

.hero { padding-block: 0 calc(var(--gap) + var(--curve)); overflow: hidden; }

.top { position: relative; z-index: 5; padding-block: 22px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 48px; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-words { display: grid; line-height: 1; font-family: "Montserrat", var(--display); font-style: italic; }
.brand-alpha { font-weight: 300; letter-spacing: 0.06em; font-size: 0.95rem; }
.brand-train { font-weight: 800; letter-spacing: 0.01em; font-size: 1.15rem; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); }
.nav ul { display: flex; align-items: center; gap: clamp(2px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.link, .nav button.link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  font-family: var(--display); font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  color: inherit; background: none; border: 0; text-decoration: none; cursor: pointer;
  position: relative;
}
.nav a.link::after, .nav button.link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav a.link:hover::after, .nav button.link:hover::after,
.nav a.link[aria-current="page"]::after { transform: scaleX(1); }

.tag-iz {
  font-family: var(--display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 2px 8px; border-radius: 4px; background: var(--fg); color: var(--bg);
}

/* submeniu */
.sub {
  position: absolute; left: 0; top: 100%; min-width: 190px; z-index: 20;
  flex-direction: column; align-items: stretch; gap: 0 !important;
  padding: 8px; background: var(--olive); color: var(--silk);
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 12px 32px rgba(0,0,0,0.16);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 160ms ease-out, transform 160ms ease-out, visibility 160ms;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 4px; text-decoration: none; font-family: var(--display); font-size: 0.92rem; transition: background-color 150ms ease-out; }
.sub a:hover { background: rgba(247,247,246,0.12); }

.lang { display: inline-flex; gap: 2px; padding: 3px; background: var(--soft); border-radius: 4px; }
.lang button {
  min-width: 40px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: inherit; cursor: pointer;
  font-family: var(--display); font-size: 0.82rem; font-weight: 600; border-radius: 4px;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.menu-btn { display: none; min-width: 48px; min-height: 48px; border: 0; background: var(--soft); color: inherit; cursor: pointer; border-radius: 4px; }
.menu-btn svg { margin: auto; width: 24px; height: 24px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px;
  font-family: var(--display); font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  color: var(--bg); background-color: var(--fg); border: 0; border-radius: 4px;
  transition-property: background-color, transform; transition-duration: 200ms, 150ms; transition-timing-function: ease-out;
}
.btn:hover { background-color: var(--muted); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-family: var(--display); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 13px) / 100% 1.5px no-repeat;
  transition: background-size 220ms var(--ease);
}
.textlink:hover { background-size: 40% 1.5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }

/* ---------- Hero ---------- */

.hero-body { position: relative; z-index: 2; padding-top: clamp(40px, 8vw, 104px); }
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.6rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 300;
  max-width: 13ch;
}
.hero.small h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 16ch; }
.hero .lead { margin-top: 28px; max-width: 54ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.hero .aside { margin-top: clamp(40px, 6vw, 72px); font-family: var(--display); font-size: 0.95rem; color: var(--muted); max-width: none; }

.rings { position: absolute; z-index: 1; right: 5vw; top: 9%; width: min(62vw, 720px); aspect-ratio: 1; color: var(--muted); pointer-events: none; }
.rings svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings .blur { filter: blur(5px); opacity: 0.8; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 70%); mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 70%); }
.rings .sharp { -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 75%); mask-image: linear-gradient(to right, transparent 30%, #000 75%); opacity: 0.55; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: focus 1.8s var(--ease) both; }
  .hero .lead, .hero .actions, .hero .aside { animation: settle 900ms var(--ease) 0.9s both; }
}
@keyframes focus { from { filter: blur(18px); opacity: 0.2; } to { filter: blur(0); opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Tipografie in continut ---------- */

h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 400; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.012em; font-weight: 600; }
.wrap > h2, .contact-grid h2 { margin-bottom: 22px; }
.big { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.028em; font-weight: 300; max-width: 22ch; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .head { position: sticky; top: 32px; }
.split .head p { color: var(--muted); margin-top: 18px; }
.stack > * + * { margin-top: clamp(28px, 4vw, 48px); }

.ico { width: 30px; height: 30px; flex: none; }

/* ---------- Lista de servicii (fara carduri) ---------- */

.rows { margin-top: 16px; }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center; gap: clamp(16px, 4vw, 56px);
  padding-block: clamp(22px, 3vw, 36px); text-decoration: none;
  border-radius: 0; margin-inline: calc(var(--gutter) * -0.5); padding-inline: calc(var(--gutter) * 0.5);
  transition: background-color 200ms ease-out;
}
.row:hover { background: var(--soft); }
.row .name { display: flex; align-items: center; gap: 18px; }
.row .name .ico { width: 38px; height: 38px; }
.row h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.row p { margin: 0; color: var(--muted); }
.row .go { font-family: var(--display); font-weight: 600; white-space: nowrap; }

/* ---------- Puncte (iconuri + text) ---------- */

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 72px); }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point .ico { margin-bottom: 18px; }
.point h3 { margin-bottom: 10px; }
.point p { color: var(--muted); margin: 0; }

/* ---------- Liste simple ---------- */

.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding-block: 12px; max-width: 60ch; }
.plain li + li { box-shadow: 0 -1px 0 var(--soft); }
.words { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 22px 0 0; padding: 0; list-style: none; font-family: var(--display); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; }

.alpha { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-family: var(--display); }
.alpha li { display: grid; grid-template-columns: 1.1em 1fr; align-items: baseline; gap: 14px; line-height: 1.02; }
.alpha b { display: block; }
.alpha b { font-size: clamp(3.4rem, 8vw, 6.4rem); font-weight: 300; letter-spacing: -0.04em; }
.alpha li { font-size: clamp(3.4rem, 8vw, 6.4rem); }
.alpha span { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--muted); line-height: 1.2; }

/* ---------- Echipa (loc gol pentru poze) ---------- */

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.person .photo { aspect-ratio: 4 / 5; background: var(--soft); margin-bottom: 14px; }
.person h3 { font-size: 1.05rem; }
.person p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Locuri goale (curs, resurse) ---------- */

.empty { display: grid; gap: 4px; margin-top: 36px; }
.empty .slot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 22px 24px; background: var(--soft); border-radius: 0;
}
.empty .slot span { font-family: var(--display); font-weight: 500; }
.empty .slot small { color: var(--muted); font-family: var(--display); }

/* ---------- Intell Zone ---------- */

.iz-mark { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; font-size: clamp(3.2rem, 11vw, 9rem); }
.iz-mark i { font-style: normal; font-weight: 200; }

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

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--display); }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .ico { width: 22px; height: 22px; }
.contact-name { font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- Subsol ---------- */

.band.foot { padding-block: calc(var(--curve) + 24px) 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-size: 0.92rem; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); transition: color 150ms ease-out; }
.foot nav a:hover { color: var(--fg); }
.foot small { color: var(--muted); font-family: var(--display); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px var(--gutter) 24px; background: var(--olive); color: var(--silk); border-radius: 0; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.link, .nav button.link { width: 100%; justify-content: flex-start; }
  .nav a.link::after, .nav button.link::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 12px; }
  .lang { align-self: flex-start; }
  .lang button[aria-pressed="true"] { background: var(--silk); color: var(--olive); }
  .nav .tag-iz { background: var(--silk); color: var(--olive); }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split > .head { position: static; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .points, .points.two { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rings { right: -30vw; top: 14%; width: 100vw; opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Blocuri de culoare (servicii) ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.tile {
  display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(72px, 9vw, 128px);
  min-height: clamp(340px, 36vw, 480px); padding: clamp(24px, 3vw, 40px);
  background: var(--bg); color: var(--fg); text-decoration: none;
  transition: background-color 220ms ease-out;
}
.tile .ico { width: 40px; height: 40px; }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.tile p { color: var(--muted); margin: 0 0 22px; }
.tile .go {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat;
  transition: background-size 220ms var(--ease);
}
.tile:hover .go { background-size: 40% 1.5px; }
.tile.tone-star:hover { background: #cfcec9; }
.tile.tone-mist:hover { background: #96958f; }
.tile.tone-olive:hover { background: #2d2d2c; }
@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; gap: 40px; }
}

.tile ul { list-style: none; margin: 0 0 22px; padding: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
.tile ul li { padding-block: 5px; }
.tile p + p { margin-top: -10px; }


/* ---------- Pagina de start: index tipografic + liste mari ---------- */

.idx-list { display: grid; margin-top: clamp(28px, 4vw, 48px); }
.idx {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--display); font-weight: 300; letter-spacing: -0.035em; line-height: 1.12;
  font-size: clamp(2.1rem, 6.2vw, 5.4rem); padding-block: 0.1em; color: var(--fg); text-decoration: none;
  transition-property: padding-left, color; transition-duration: 260ms; transition-timing-function: var(--ease);
}
.idx:hover { padding-left: 0.5em; color: var(--muted); }
.idx .tag-iz { font-size: 0.75rem; letter-spacing: 0; }

.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); margin-top: clamp(28px, 4vw, 56px); }
.cols2 h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.list-big { list-style: none; margin: 0 0 20px; padding: 0; font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.35; color: var(--muted); }
.list-big li { padding-block: 7px; }
@media (max-width: 960px) { .cols2 { grid-template-columns: 1fr; } }


/* ---------- Sectiuni pe tot ecranul, alb / negru, limbajul din hero ---------- */

.hero { display: flex; flex-direction: column; min-height: 68svh; }
.hero.full { min-height: 100svh; }
.hero-body { margin-block: auto; padding-top: clamp(24px, 4vw, 56px); }

.band:not(.hero):not(.foot) { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; position: relative; overflow: hidden; }
.band > .wrap { position: relative; z-index: 2; }

.band:not(.hero) h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; }
.band:not(.hero) .cols2 h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }

/* cercurile din hero, in fiecare sectiune */
.rings.sec { top: 50%; right: -9vw; left: auto; width: min(58vw, 640px); transform: translateY(-50%); opacity: 0.55; }
.rings.sec.l { left: -9vw; right: auto; }
.rings.sec.l .blur { -webkit-mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 70%); mask-image: linear-gradient(to left, #000 0%, #000 30%, transparent 70%); }
.rings.sec.l .sharp { -webkit-mask-image: linear-gradient(to left, transparent 30%, #000 75%); mask-image: linear-gradient(to left, transparent 30%, #000 75%); }
.tone-olive .rings.sec .blur { filter: blur(5px) brightness(0.8); }
@media (max-width: 960px) { .rings.sec { width: 96vw; opacity: 0.3; right: -40vw; } .rings.sec.l { left: -40vw; right: auto; } }

/* titlurile se focalizeaza cand ajung in ecran (o singura data) */
@media (prefers-reduced-motion: no-preference) {
  .js .fx { filter: blur(16px); opacity: 0.15; transition: filter 1.3s var(--ease), opacity 1.3s var(--ease); }
  .js .fx.in { filter: none; opacity: 1; }
}

.list-big.wide { margin-top: clamp(12px, 2vw, 28px); max-width: 70ch; color: var(--fg); }
.list-big.wide li { padding-block: 10px; }

/* ---------- Despre noi: centrat, static ---------- */

.center-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.band .center-stack h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.center-lead { max-width: min(100%, 940px); margin: 20px auto 0; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
    .btn:hover .down { animation-play-state: paused; }
}
@keyframes nudge { 0%, 55%, 100% { transform: translateY(0); } 25% { transform: translateY(5px); } }

/* indicator de derulare: sageata jos, pe mijloc */
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: clamp(16px, 4vh, 40px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; min-height: 64px; padding: 8px 12px; color: var(--muted); text-decoration: none; font-family: var(--display); font-size: 0.85rem; font-weight: 600; transition: color 150ms ease-out; }
.scroll-cue:hover { color: var(--fg); }
.scroll-cue .down { width: 22px; height: 22px; stroke-width: 1.8; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue .down { animation: nudge 2.2s ease-in-out infinite; }
  .scroll-cue:hover .down { animation-play-state: paused; }
}
@keyframes nudge { 0%, 55%, 100% { transform: translateY(0); } 25% { transform: translateY(6px); } }


/* ---------- Servicii: ecran impartit alb / negru ---------- */

.band[data-split]:not(.hero):not(.foot) { padding-block: 0; align-items: stretch; }
.split-services { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.half { padding: clamp(88px, 14vh, 150px) clamp(32px, 6vw, 96px) clamp(56px, 9vh, 110px); display: flex; flex-direction: column; justify-content: center; }
.half.l { background: var(--silk); color: #373736; --fg: #373736; --muted: #61615f; }
.half.r { background: var(--olive); color: var(--silk); --fg: #f7f7f6; --muted: #c9c8c4; }
.half h3 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 clamp(18px, 3vh, 32px); }
.half .list-big { margin-bottom: clamp(14px, 3vh, 28px); }
@media (max-width: 960px) {
  .split-services { grid-template-columns: 1fr; }
  .half { padding-block: clamp(64px, 10vw, 96px); }
  .half.l { padding-top: clamp(88px, 14vw, 120px); }
}

.half .textlink { align-self: flex-start; }

/* lista de servicii: iconita + titlu + detaliu */
ul.svc { list-style: none; margin: 0 0 clamp(14px, 3vh, 28px); padding: 0; display: grid; gap: clamp(9px, 1.5vh, 15px); }
ul.svc li { display: block; }
ul.svc .ico { width: 24px; height: 24px; margin-top: 1px; color: var(--muted); }
ul.svc .t { display: block; font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.25; color: var(--fg); }
ul.svc .d { display: block; font-size: 0.95rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }

.half.l { --soft: rgba(55, 55, 54, 0.07); }
.half.r { --soft: rgba(247, 247, 246, 0.09); }
ul.svc { gap: clamp(2px, 0.6vh, 8px); }
.svc-item {
  display: grid; grid-template-columns: 24px 1fr 20px; gap: 14px; align-items: start;
  padding: 9px 12px; margin-inline: -12px; border-radius: 4px; color: inherit; text-decoration: none;
  transition: background-color 150ms ease-out;
}
.svc-item:hover { background: var(--soft); }
.svc-item:hover .t { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
ul.svc .chev { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); stroke-width: 2; transition: transform 160ms ease-out, color 160ms ease-out; }
.svc-item:hover .chev { transform: translateX(4px); color: var(--fg); }

/* eticheta Servicii: deasupra titlului din stanga */
.half { --pt: clamp(112px, 17vh, 172px); justify-content: flex-start; padding-top: var(--pt); position: relative; }
.half.l > h2 { position: absolute; top: calc(var(--pt) - 40px); left: clamp(32px, 6vw, 96px); margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); }
@media (max-width: 960px) { .half { --pt: clamp(64px, 10vw, 96px); } .half.l { --pt: clamp(104px, 16vw, 136px); } }

/* eticheta mai mica, randurile de aceeasi inaltime in ambele coloane */
.half.l > h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); top: calc(var(--pt) - 38px); }
.svc-item { min-height: 62px; align-content: start; }

/* hero: triunghiul din logo, mare, iese din ecran */
.hero { overflow: hidden; }
.rings.tri { width: min(115vw, 1320px); right: -20vw; top: -12%; bottom: auto; opacity: 0.75; transform: none; }
.rings.tri svg { overflow: visible; }
.rings.tri circle { vector-effect: non-scaling-stroke; }
@media (max-width: 960px) { .rings.tri { width: 150vw; right: -62vw; bottom: -18%; opacity: 0.35; } }

.rings.tri { aspect-ratio: 1100 / 894; }
.rings.tri circle { vector-effect: none; }

/* hero: se vad doar latura stanga, fasia mica si putin din varf; baza si latura dreapta ies din ecran */
.rings.tri { width: 122vw; left: 28.5vw; right: auto; top: -240px; bottom: auto; opacity: 0.8; }
@media (max-width: 960px) { .rings.tri { width: 230vw; left: -40vw; right: auto; top: -60px; opacity: 0.35; } }

/* liniile din hero nu se mai taie la marginea de jos: continua in sectiunea 2 */
.hero { overflow: visible; overflow-x: clip; }
.rings.tri { color: #a0a0a0; mix-blend-mode: difference; opacity: 0.7; }

/* cele doua arii, in continuarea propozitiei */
.inl { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; transition: color 150ms ease-out; }
.inl:hover { color: var(--muted); }

/* cele doua arii, impreuna, pe al doilea rand */
.areas-line { display: block; margin-top: 0.15em; }
@media (min-width: 900px) { .areas-line { white-space: nowrap; } }

/* textul din Despre noi se focalizeaza dupa titlu */
@media (prefers-reduced-motion: no-preference) {
  .js .center-lead.fx { transition-delay: 0.25s; }
}

@media (prefers-reduced-motion: no-preference) {
  .js p.fx { transition-delay: 0.25s; }
}


/* ---------- Echipa: jumatate de cercuri pe marginea ecranului ---------- */

.band .team-home h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 20px; }
.team-lead { max-width: 32em; margin: 0 0 24px; font-family: var(--display); font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 400; line-height: 1.28; letter-spacing: -0.018em; text-wrap: pretty; }
.team-sub { max-width: 40em; color: var(--muted); font-size: 1.1rem; }
.rings.sec.edge { width: min(76vw, 860px); right: calc(min(76vw, 860px) / -2); left: auto; top: 50%; transform: translateY(-50%); opacity: 0.65; }
.rings.sec.edge .blur { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 12%, transparent 50%); mask-image: linear-gradient(to right, #000 0%, #000 12%, transparent 50%); }
.rings.sec.edge .sharp { -webkit-mask-image: linear-gradient(to right, transparent 12%, #000 50%); mask-image: linear-gradient(to right, transparent 12%, #000 50%); }
@media (max-width: 960px) { .rings.sec.edge { width: 130vw; right: -65vw; opacity: 0.35; } }

/* ---------- Meniu: la derulare devine o bara de sticla ("liquid glass") ---------- */

.top { padding-block: 0; height: 92px; }
.top .wrap {
  position: fixed; z-index: 100; top: 22px; left: 0; right: 0; margin-inline: auto;
  width: min(100% - var(--gutter) * 2, var(--wrap));
  border: 1px solid transparent; border-radius: 4px; padding: 0;
  transition-property: top, width, padding, background-color, border-color, box-shadow, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 380ms; transition-timing-function: var(--ease);
}
.top.scrolled { --fg: #f7f7f6; --bg: #373736; --muted: #d6d5d1; --soft: rgba(247, 247, 246, 0.14); color: var(--fg); }
.top.scrolled .wrap {
  top: 12px; width: min(100% - 24px, 1240px); padding: 8px 14px;
  background: linear-gradient(135deg, rgba(66, 66, 64, 0.7), rgba(32, 32, 31, 0.76));
  border-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.14);
}
.top.scrolled .brand svg { width: 38px; height: 38px; }
@media (max-width: 960px) {
  .top.scrolled .wrap { padding: 6px 10px; }
  .nav { border-radius: 0 0 4px 4px; }
}


/* ---------- Scara de rotunjire: 4 (elemente mici) / 8 (containere) / 16 (containere mari) ---------- */

:root { --r-sm: 4px; --r-md: 8px; --r-lg: 16px; }
.btn, .tag-iz, .lang, .lang button, .menu-btn, .sub a, .svc-item { border-radius: var(--r-sm); }
.top .wrap, .sub { border-radius: var(--r-md); }
.person .photo, .empty .slot { border-radius: var(--r-md); }
@media (max-width: 960px) { .nav { border-radius: 0 0 var(--r-md) var(--r-md); } }

/* hero: aceeasi miscare (blur -> clar) ca in Despre noi; Servicii: cascada pe randuri */
@media (prefers-reduced-motion: no-preference) {
  .hero .lead { animation: focus 1.3s var(--ease) 0.45s both; }
  .hero .actions, .hero .aside { animation: focus 1.3s var(--ease) 0.75s both; }
  .js .half h3.fx { transition-delay: 0.15s; }
  .js .svc-item.fx { transition-delay: calc(0.3s + var(--i, 0) * 70ms); }
}

/* Echipa: cercuri mari, pot trece si in sectiunile vecine; ambele paragrafe de aceeasi marime */
.band[data-edge]:not(.hero):not(.foot) { overflow: visible; overflow-x: clip; }
.rings.sec.edge { width: min(120vw, 1500px); right: calc(min(120vw, 1500px) / -2); color: #a0a0a0; mix-blend-mode: difference; opacity: 0.7; }
.rings.sec.edge circle { vector-effect: non-scaling-stroke; stroke-width: 1.3px; }
.team-lead + .team-lead, .team-lead { color: var(--fg); }
@media (max-width: 960px) { .rings.sec.edge { width: 150vw; right: -75vw; opacity: 0.4; } }

.team-home .textlink { font-size: 1.15rem; margin-top: 8px; }


/* ---------- Contact: datele, scrise mare ---------- */

.band .contact-wrap h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.contact-name { margin: 0 0 clamp(24px, 4vw, 48px); font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.contact-big { display: grid; gap: clamp(2px, 0.6vw, 8px); justify-items: start; }
.contact-big a {
  font-family: var(--display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.18;
  font-size: clamp(1.5rem, 3.7vw, 3.3rem); color: var(--fg); text-decoration: none; overflow-wrap: anywhere;
  text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.14em;
  transition-property: text-decoration-color, color; transition-duration: 200ms; transition-timing-function: ease-out;
}
.contact-big a:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .js .contact-big a.fx { transition-delay: calc(0.25s + var(--i, 0) * 110ms); }
}


/* ---------- Contact (v2): invitatie mare + date cu etichete ---------- */

.contact-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 7vw, 112px); align-items: end; }
.band .contact-split h2 { font-size: clamp(2.6rem, 6.6vw, 6rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1; color: var(--fg); margin: 0; }
.contact-split .actions { margin-top: clamp(24px, 4vw, 44px); }
.c-right { margin: 0; display: grid; gap: clamp(16px, 2.4vh, 26px); }
.contact-row dt { font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.contact-row dd { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 400; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-row dd a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 180ms ease-out; }
.contact-row dd a:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .js .contact-row.fx { transition-delay: calc(0.3s + var(--i, 0) * 110ms); }
}
@media (max-width: 960px) { .contact-split { grid-template-columns: 1fr; align-items: start; } }


/* ---------- Footer (v2): meniu + numele uriaș tăiat jos ---------- */

.band.foot { padding-block: clamp(56px, 7vw, 88px) clamp(36px, 5vw, 56px); overflow: hidden; position: relative; }
.foot .wrap.foot-grid { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: clamp(28px, 5vw, 72px); align-items: start; justify-content: stretch; }
.foot .foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.foot .fcol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 1rem; }
.foot .foot-nav a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--fg); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out; }
.foot .foot-nav a:hover { text-decoration-color: currentColor; }
.foot .sub-l a { color: var(--muted); font-weight: 400; font-size: 0.95rem; min-height: 34px; }
.foot .foot-meta { margin: 0; font-family: var(--display); font-size: 0.9rem; color: var(--muted); align-self: end; }

@media (max-width: 960px) {
  .foot .wrap.foot-grid { grid-template-columns: 1fr; }
  .foot .foot-meta { align-self: start; }
}


/* ---------- Bloc de incheiere: contact + footer pe acelasi fundal ---------- */

.band[data-end]:not(.hero):not(.foot) { justify-content: space-between; }
.band[data-end] .contact-split { flex: 1; align-items: center; padding-block: clamp(80px, 11vh, 130px) clamp(32px, 5vh, 56px); }
.foot.foot-grid { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(32px, 5vh, 52px) clamp(32px, 5vh, 52px); }
@media (max-width: 960px) { .foot.foot-grid { grid-template-columns: 1fr; } }


/* contact: doar datele, pe un rand */
.band[data-end]:not(.hero):not(.foot) { min-height: auto; justify-content: flex-start; }
.band[data-end] .contact-split { display: block; flex: none; padding-block: clamp(72px, 10vh, 120px) clamp(36px, 5vh, 64px); }
.band[data-end] .c-right { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px clamp(24px, 4vw, 64px); }
.band[data-end] .contact-row dd { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
@media (max-width: 960px) { .band[data-end] .c-right { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; } }
@media (max-width: 560px) { .band[data-end] .c-right { grid-template-columns: 1fr; } }


/* footer: coloana de contact + bara de copyright pe toata latimea */

.band[data-end]:not(.hero):not(.foot) { padding-block: clamp(72px, 10vh, 112px) 0; }
.foot.foot-grid { grid-template-columns: 1.1fr 1.9fr 1.5fr; padding-block: 0 clamp(40px, 6vh, 72px); }
.foot .foot-contact { display: grid; gap: 0; }
.foot .fh { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--fg); }
.foot .foot-contact .sub-l span, .foot .foot-contact .sub-l a { display: inline-flex; align-items: center; min-height: 34px; font-family: var(--display); font-size: 0.95rem; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.foot .foot-contact .sub-l a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out, color 160ms ease-out; }
.foot .foot-contact .sub-l a:hover { color: var(--fg); text-decoration-color: currentColor; }
.foot-bar { border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); padding-block: 20px; }
.foot-bar p { margin: 0; max-width: none; font-family: var(--display); font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .foot.foot-grid { grid-template-columns: 1fr; } }


/* ajustari footer: contact mai vizibil, cercurile din Echipa se opresc sub footer, mai putin spatiu sus */
.band[data-end]:not(.hero):not(.foot) { padding-block: clamp(48px, 6vh, 72px) 0; position: relative; z-index: 2; }
.foot .foot-contact .sub-l a { font-size: 1.05rem; font-weight: 500; color: var(--fg); }
.foot .foot-contact .sub-l a:hover { color: var(--muted); }


/* Servicii: eticheta centrata pe mijloc, ca in Despre noi; fundal propriu ca sa se vada pe ambele jumatati */
.band[data-split] > h2 {
  position: absolute; z-index: 3; top: clamp(24px, 5vh, 48px); left: 50%; transform: translateX(-50%);
  margin: 0; padding: 8px 18px; border-radius: 4px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: #262625; background: #a4a3a0;
}


/* Servicii: titlul inapoi deasupra titlului din stanga; tot continutul centrat vertical pe ecran */
.split-services { --lab: clamp(1.05rem, 1.5vw, 1.3rem); }
.band[data-split] > h2 { display: none; }
.half.l > h2 { position: static; margin: 0 0 18px; padding: 0; background: none; transform: none; line-height: 1.2; font-size: var(--lab); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.half.r::before { content: ""; display: block; height: calc(var(--lab) * 1.2 + 18px); }
.half { justify-content: center; padding-block: clamp(72px, 10vh, 120px); }
@media (max-width: 960px) { .half.r::before { display: none; } .half { padding-block: clamp(64px, 10vw, 96px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .textlink.fx { transition-delay: 0.5s; }
}


/* ---------- Dropdown meniu: sageata + panou de sticla ---------- */

.nav .chev-d { width: 14px; height: 14px; margin-left: 2px; stroke-width: 2; transform: rotate(90deg); transition: transform 220ms var(--ease); }
.has-sub:hover .chev-d, .has-sub:focus-within .chev-d { transform: rotate(-90deg); }
.sub {
  min-width: 232px; padding: 6px; margin-top: 8px; transform: translateY(-8px) scale(0.98); transform-origin: top left;
  background: rgba(34, 34, 33, 0.86); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
  transition: opacity 180ms ease-out, transform 220ms var(--ease), visibility 180ms;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* punte, ca dropdown-ul sa nu se inchida in drum */
.sub a { justify-content: space-between; gap: 18px; padding: 0 12px; min-height: 42px; }
.sub .chev-s { width: 14px; height: 14px; stroke-width: 2; opacity: 0.45; transition: transform 160ms ease-out, opacity 160ms ease-out; }
.sub a:hover .chev-s { transform: translateX(3px); opacity: 1; }
@media (max-width: 960px) {
  .nav .chev-d { display: none; }
  .sub { margin-top: 0; padding: 0 0 0 12px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .sub::before { display: none; }
  .sub .chev-s { display: none; }
}

.nav .sub { align-items: stretch; }
.nav .sub li { width: 100%; }


/* ---------- Efecte de prezentare: text aprins la derulare, tranzitii intre pagini, derulare lina ---------- */

.band[data-apple]:not(.hero):not(.foot) { display: block; min-height: 0; overflow: visible; padding-block: 0; }
.scrub-track { height: 250svh; position: relative; }
.scrub-stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.scrub-text .w { opacity: 0.18; transition: opacity 160ms linear; }
@media (prefers-reduced-motion: reduce) { .scrub-text .w { opacity: 1 !important; } }

/* tranzitii intre pagini (View Transitions API; browserele fara suport navigheaza normal) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 260ms ease-in both; }
::view-transition-new(root) { animation: vt-in 520ms var(--ease) 80ms both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* derulare lina (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }


/* logo color (vectorul din PDF): albul din logo urmeaza culoarea textului, turcoazul ramane */
.brand { --logo-hi: var(--fg); gap: 12px; }
.brand svg.logo-mark, .brand svg.logo-word { flex: none; display: block; }
.top.scrolled .brand svg.logo-mark { transform: scale(0.88); transform-origin: left center; }


/* ---------- Pagina de serviciu: Contextul / W.I.I.F.M. / De Ce? ---------- */

.eyebrow { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out, color 160ms ease-out; }
.eyebrow:hover { color: var(--fg); text-decoration-color: currentColor; }
.hero h1.svc-title { font-size: clamp(2.2rem, 5.6vw, 5rem); max-width: 18ch; }
.hero h1.svc-title.long { font-size: clamp(1.9rem, 4vw, 3.4rem); max-width: 24ch; line-height: 1.04; }
.svc-zone { align-items: start; }
.svc-body { max-width: 44em; }
.zone-p { margin: 0 0 1.1em; max-width: 34em; font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.42; letter-spacing: -0.012em; }
.zone-pull { margin: 0.7em 0 0.9em; max-width: 18em; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.zone-list { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.zone-list li { position: relative; padding-left: 22px; font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; letter-spacing: -0.01em; }
.zone-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 4px; background: currentColor; opacity: 0.55; }


/* ---------- Pagina de serviciu (v2): navigare laterala pe zone + text mare ---------- */

.zone-nav { position: sticky; top: 44vh; height: 0; z-index: 6; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.zone-nav ul { position: absolute; left: clamp(20px, 3vw, 48px); top: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; pointer-events: auto; }
.zone-nav a { display: flex; align-items: center; min-height: 38px; font-family: var(--display); font-size: 1rem; font-weight: 500; color: #fff; text-decoration: none; opacity: 0.4; transition: opacity 220ms ease-out; }
.zone-nav a::before { content: ""; display: inline-block; width: 0; height: 2px; margin-right: 0; background: currentColor; transition: width 260ms var(--ease), margin 260ms var(--ease); }
.zone-nav a:hover { opacity: 0.8; }
.zone-nav a.on { opacity: 1; font-weight: 700; }
.zone-nav a.on::before { width: 26px; margin-right: 12px; }
@media (max-width: 1100px) { .zone-nav { display: none; } }

.svc-zone2 { padding-block: 0; }
@media (min-width: 1101px) { .svc-zone2 { padding-left: 190px; } }
.band .svc-zone2 h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 22px; }
.svc-body { max-width: 40em; }
.zone-p { margin: 0 0 1.15em; max-width: 36em; font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.34; letter-spacing: -0.016em; }
.zone-pull { font-size: clamp(2.2rem, 4.2vw, 3.8rem); max-width: 14em; margin: 0.5em 0 0.7em; }
.zone-list li { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }


/* pagina de serviciu: elementele vizuale umplu partea dreapta */
.rings.tri.zone-tri { width: min(86vw, 1180px); left: auto; right: -16vw; top: 50%; bottom: auto; transform: translateY(-50%); opacity: 0.8; }
.svc-body { max-width: min(40em, 52vw); }
@media (max-width: 960px) { .rings.tri.zone-tri { width: 150vw; right: -70vw; opacity: 0.35; } .svc-body { max-width: none; } }


/* pagina de serviciu (v3): fraza uriasa + text, pozitii alternante */

.svc-scene { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.svc-scene.flip .zone-head { order: 2; }
.zone-head h2 { margin: 0 0 clamp(14px, 2vw, 26px); }
.zone-quote { margin: 0; max-width: 11em; font-family: var(--display); font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; color: var(--fg); }
.svc-scene .svc-body { max-width: none; }
.svc-scene .zone-p { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 32em; }
.svc-scene .zone-list li { font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
@media (max-width: 960px) {
  .svc-scene { grid-template-columns: 1fr; }
  .svc-scene.flip .zone-head { order: 0; }
  .zone-quote { max-width: none; }
}


/* pagina de serviciu: inceput in stilul hero-ului de pe prima pagina */
.hero.svc { min-height: 86svh; }
.hero h1.svc-title { font-size: clamp(2.8rem, 7.6vw, 6.8rem); max-width: 13ch; letter-spacing: -0.04em; line-height: 0.98; }
.hero h1.svc-title.long { font-size: clamp(2rem, 4.8vw, 4.3rem); max-width: 21ch; line-height: 1.02; }
.eyebrow .chev-b { width: 16px; height: 16px; margin-right: 8px; stroke-width: 2; transform: rotate(180deg); transition: transform 180ms ease-out; }
.eyebrow:hover .chev-b { transform: rotate(180deg) translateX(3px); }
.svc-anchors { margin-top: clamp(28px, 4vw, 48px); gap: 8px 32px; }


/* ================== MODELE de pagina de serviciu ================== */
.hero.bare { min-height: 0; padding-bottom: 0; }

/* Model 1: capitole fixate, textul se aprinde */
.m1-track { height: 300svh; }
.band .m1-stick h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 22px; }
.m1-stick .zone-p { max-width: 44em; margin: 0 auto 1em; text-align: center; font-size: clamp(1.15rem, min(1.9vw, 3.4vh), 1.7rem); line-height: 1.36; }
.m1-stick .zone-list { max-width: 40em; margin: 0 auto; text-align: left; }

/* Model 2: ecran impartit fix */
.band.m2:not(.hero):not(.foot) { display: block; min-height: 0; overflow: visible; padding: 0; }
.m2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.m2-left { background: var(--silk); color: #373736; --fg: #373736; --muted: #61615f; --soft: rgba(55, 55, 54, 0.08); }
.m2-left-in { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px clamp(24px, 4vw, 64px) 48px clamp(24px, 5vw, 80px); }
.m2-title { margin: 6px 0 clamp(28px, 5vh, 56px); font-size: clamp(2rem, 4.4vw, 4.2rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; }
.split-index { display: grid; gap: 2px; }
.split-index a { display: flex; align-items: center; min-height: 50px; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 300; letter-spacing: -0.02em; color: var(--fg); opacity: 0.35; text-decoration: none; transition: opacity 250ms ease-out, padding-left 320ms var(--ease); }
.split-index a:hover { opacity: 0.7; }
.split-index a.on { opacity: 1; font-weight: 500; padding-left: 20px; }
.m2-right { background: var(--olive); color: var(--silk); --fg: #f7f7f6; --muted: #c9c8c4; --soft: rgba(247, 247, 246, 0.08); }
.m2-zone { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px clamp(24px, 5vw, 80px) 64px clamp(24px, 4vw, 64px); }
.band .m2-zone h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 18px; }
.m2-quote { margin: 0 0 clamp(22px, 4vh, 40px); max-width: 12em; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.m2-text .zone-p { max-width: 34em; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
@media (max-width: 960px) { .m2-grid { grid-template-columns: 1fr; } .m2-left-in { position: static; height: auto; padding-block: 120px 40px; } .m2-zone { min-height: 0; padding-block: 72px; } }

/* Model 3: derulare orizontala */
.band.m3:not(.hero):not(.foot) { display: block; min-height: 0; overflow: visible; padding: 0; }
.m3-track { height: 340svh; position: relative; }
.m3-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.m3-rail { display: flex; height: 100%; width: 300vw; will-change: transform; }
.m3-panel { flex: none; width: 100vw; height: 100%; display: flex; align-items: center; background: var(--bg); color: var(--fg); }
.m3-in { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 96px 100px; }
.band .m3-head h2 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 18px; }
.m3-quote { margin: 0; max-width: 11em; font-family: var(--display); font-size: clamp(2.4rem, 5.4vw, 5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.m3-text .zone-p { max-width: 34em; font-size: clamp(1.02rem, min(1.3vw, 2.4vh), 1.22rem); line-height: 1.48; }
.m3-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px var(--gutter) 24px; display: grid; gap: 12px; color: #fff; mix-blend-mode: difference; z-index: 4; pointer-events: none; }
.m3-labels { display: flex; justify-content: space-between; width: 100%; max-width: var(--wrap); margin-inline: auto; font-family: var(--display); font-size: 0.95rem; font-weight: 500; }
.m3-labels span { opacity: 0.4; transition: opacity 250ms ease-out; }
.m3-labels span.on { opacity: 1; font-weight: 700; }
.m3-line { width: 100%; max-width: var(--wrap); margin-inline: auto; height: 2px; background: rgba(255, 255, 255, 0.28); }
.m3-line i { display: block; height: 100%; width: 0; background: #fff; }
@media (max-width: 900px) {
  .m3-track { height: auto; } .m3-stick { position: static; height: auto; overflow: visible; }
  .m3-rail { display: block; width: auto; transform: none !important; }
  .m3-panel { width: auto; height: auto; min-height: 100svh; } .m3-in { grid-template-columns: 1fr; } .m3-bar { display: none; }
}

/* Model 4: randuri uriase care se deschid */
.acc { display: grid; width: 100%; }
.acc-item { border-top: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); }
.acc-item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); }
.acc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) 36px; align-items: center; gap: clamp(16px, 3vw, 48px); width: 100%; padding: clamp(18px, 3.2vh, 34px) 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
.acc-label { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 7vw, 6.2rem); letter-spacing: -0.04em; line-height: 1; transition: opacity 200ms ease-out; }
.acc-head:hover .acc-label { opacity: 0.65; }
.acc-quote { justify-self: end; max-width: 22em; text-align: right; font-family: var(--display); font-size: clamp(0.95rem, 1.3vw, 1.2rem); color: var(--muted); transition: opacity 250ms ease-out; }
.acc-item.open .acc-quote { opacity: 0; }
.acc-chev { width: 30px; height: 30px; stroke-width: 1.8; transform: rotate(90deg); transition: transform 320ms var(--ease); }
.acc-item.open .acc-chev { transform: rotate(-90deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; }
.acc-item.open .acc-inner { padding-bottom: clamp(20px, 4vh, 44px); }
.acc-inner .zone-p { max-width: 42em; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; }
@media (max-width: 760px) { .acc-quote { display: none; } .acc-head { grid-template-columns: minmax(0, 1fr) 30px; } }


/* Model 5: panourile vin de jos si acopera complet panoul anterior */
.band.m5:not(.hero):not(.foot) { display: block; min-height: 0; overflow: visible; padding: 0; }
.m5-track { height: 420svh; position: relative; }
.m5-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.m5-panel { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; transform-origin: 50% 0; }
.m5-panel + .m5-panel { box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.22); }


/* Model 5: doar titlul zonei (mare), fara fraza uriasa sub el */
.m5-panel .m3-quote { display: none; }
.band .m5-panel .m3-head h2 { font-size: clamp(2.8rem, 6.4vw, 6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--fg); margin: 0; }


/* hero pagina de serviciu: titlul uriaș jos-stânga + indicator de derulare spre prima zona */
.hero.svc .hero-body { margin-block: auto clamp(96px, 15vh, 160px); padding-top: 0; }
.hero.svc h1.svc-title { font-size: clamp(3rem, 8.2vw, 7.4rem); max-width: 14ch; line-height: 0.95; }
.hero.svc h1.svc-title.long { font-size: clamp(2.2rem, 5.2vw, 4.8rem); max-width: 20ch; }


/* hero pagina de serviciu: titlul centrat, mai sus */
.hero.svc .hero-body { margin-block: auto; padding-bottom: clamp(48px, 9vh, 96px); text-align: center; }
.hero.svc h1.svc-title { margin-inline: auto; max-width: 15ch; }
.hero.svc h1.svc-title.long { max-width: 22ch; }


/* panourile suprapune: titlul si lista se focalizeaza, cuvintele se aprind cand panoul ajunge pe ecran */
.m5-panel .m3-head h2, .m5-panel .zone-list li { transition: opacity 900ms ease-out, filter 900ms ease-out; }
.js .m5-panel:not(.live) .m3-head h2, .js .m5-panel:not(.live) .zone-list li { opacity: 0; filter: blur(14px); }
.m5-panel .reveal-words .w { opacity: 0.16; transition: opacity 420ms ease-out; transition-delay: calc(var(--wi, 0) * 16ms + 250ms); }
.m5-panel.live .reveal-words .w { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .m5-panel:not(.live) .m3-head h2, .js .m5-panel:not(.live) .zone-list li { opacity: 1; filter: none; }
  .m5-panel .reveal-words .w { opacity: 1; transition: none; }
}


/* hero serviciu: pe tot ecranul, titlul la mijloc (usor ridicat), eticheta "Servicii" deasupra */
.hero.svc { min-height: 100svh; }
.hero.svc .hero-body { padding-bottom: clamp(24px, 7vh, 72px); }
.svc-kicker { margin: 0 0 clamp(14px, 2.4vh, 26px); max-width: none; font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: 0; color: var(--muted); }

.hero.svc { display: flex; flex-direction: column; }
.hero.svc .hero-body { margin-block: auto; }

.hero.svc .hero-body { padding-bottom: clamp(48px, 18vh, 170px); }


/* pagina cu panouri: navigarea laterala (3 zone) in loc de bara de progres; continutul face loc in stanga */
@media (min-width: 1101px) {
  .m5-panel .m3-in { margin-left: max(210px, calc((100vw - 1200px) / 2)); width: min(100vw - 250px, 1200px); }
}

@media (min-width: 1101px) {
  .m5-panel .m3-in { margin-left: max(280px, calc((100vw - 1200px) / 2)); width: min(100vw - 330px, 1200px); }
}


/* text hero la fel de mare ca la Echipa; sectiunea fixata din Despre noi e mai scurta (derulare mai rapida) */
.hero .lead { font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.018em; max-width: 30em; }
.scrub-track { height: 165svh; }


/* panouri: cuvintele (paragrafe si liste) se aprind la derulare, textul ramane pe loc */
.m5-panel .zone-p .w, .m5-panel .zone-list li .w { opacity: 0.16; transition: opacity 140ms linear; transition-delay: 0s; }
.js .m5-panel:not(.live) .zone-list li { opacity: 1; filter: none; }
.m5-track { height: 400svh; }


/* panou acoperit: se intunecă printr-un strat cu opacitate (mai fluid decât filter pe tot panoul) */
.m5-panel::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--cover, 0) * 0.45); pointer-events: none; z-index: 5; }
.m5-panel { contain: layout paint; }


/* tranzitia dintre panouri: urcare animata (accelereaza usor, se opreste lin), nu legata de viteza scroll-ului */
.m5-panel { transition: transform 1100ms cubic-bezier(0.65, 0, 0.2, 1); }
.m5-panel::after { transition: opacity 1100ms cubic-bezier(0.65, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { .m5-panel, .m5-panel::after { transition: none; } }


/* servicii fara continut: titlu mare, "In constructie", buton spre contact */
.svc-soon .soon-note { margin: clamp(18px, 3vh, 32px) auto 0; max-width: none; font-family: var(--display); font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 300; letter-spacing: -0.015em; color: var(--muted); }
.svc-soon .actions { justify-content: center; margin-top: clamp(24px, 4vh, 40px); }


/* pagina de contact */
.svc-soon .contact-name { margin: clamp(16px, 3vh, 30px) auto 0; max-width: none; text-align: center; }
.contact-big.center { justify-items: center; margin-top: clamp(14px, 2.4vh, 26px); }
.foot .fh a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out; }
.foot .fh a:hover { text-decoration-color: currentColor; }


/* ---------- Pagina de contact: detalii + formular ---------- */

.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.cp-name { margin: 0 0 clamp(20px, 4vh, 40px); font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
.cp-list { margin: 0; display: grid; gap: 22px; }
.cp-list dt { font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.cp-list dd { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); overflow-wrap: anywhere; }
.cp-list a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease-out; }
.cp-list a:hover { text-decoration-color: currentColor; }
.cp-form { display: grid; gap: clamp(18px, 3vh, 30px); }
.fld { display: grid; gap: 6px; }
.fld span { font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.fld input, .fld textarea {
  width: 100%; padding: 12px 0; font: inherit; font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); border-radius: 0; resize: vertical;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.fld input:hover, .fld textarea:hover { border-bottom-color: color-mix(in srgb, var(--fg) 60%, transparent); }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--fg); box-shadow: 0 1px 0 var(--fg); }
.fld input:focus-visible, .fld textarea:focus-visible { outline: none; }
.fld.bad input, .fld.bad textarea { border-bottom-color: #d96b5f; }
.cp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 6px; }
.cp-status { margin: 0; max-width: none; font-family: var(--display); font-size: 0.95rem; opacity: 0; transition: opacity 200ms ease-out; }
.cp-status > span { display: none; }
.cp-form.ok .cp-status, .cp-form.err .cp-status { opacity: 1; }
.cp-form.ok .cp-status [data-ok] { display: inline; }
.cp-form.err .cp-status [data-err] { display: inline; }
html[data-lang="ro"] .cp-status [lang="en"], html[data-lang="en"] .cp-status [lang="ro"] { display: none !important; }
@media (max-width: 960px) { .contact-page { grid-template-columns: 1fr; } }


/* ===== variante pagina de contact ===== */
/* A: ecran impartit */
.band.ca:not(.hero):not(.foot) { display: block; min-height: 0; overflow: visible; padding: 0; }
.ca-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.ca-left { background: var(--silk); color: #373736; --fg: #373736; --muted: #61615f; --soft: rgba(55, 55, 54, 0.08); }
.ca-right { background: var(--olive); color: var(--silk); --fg: #f7f7f6; --muted: #c9c8c4; --soft: rgba(247, 247, 246, 0.08); }
.ca-in { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(24px, 6vw, 96px) 64px; }
.ca-title { font-size: clamp(3.4rem, 8vw, 7.4rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; margin: 0 0 clamp(24px, 5vh, 56px); }
@media (max-width: 960px) { .ca-grid { grid-template-columns: 1fr; min-height: 0; } .ca-in { padding-block: 96px 56px; } }

/* B: datele ca titlu, formular centrat */
.cb-big a { font-size: clamp(1.6rem, 4.6vw, 4.6rem); }
.cb-form { max-width: 680px; }
.cb-form .cp-form { margin-inline: auto; }

/* C: datele uriase + formular care se deschide */
.cc .actions { margin-top: clamp(22px, 4vh, 40px); }
.cc-form { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 650ms var(--ease); width: min(100%, 640px); margin-inline: auto; text-align: left; }
.cc-form.open { grid-template-rows: 1fr; }
.cc-inner { overflow: hidden; min-height: 0; }
.cc-form.open .cc-inner { padding-top: clamp(24px, 4vh, 44px); }
.cc-page .hero-body { margin-block: 0; padding-block: 140px 80px; }
.cc-page { min-height: 100svh; }


/* contact: jumatatea neagra pornește chiar de sus (sub meniu) si merge pana jos; campuri pline */
.hero.bare { position: relative; height: 0; min-height: 0; padding: 0; overflow: visible; }
.hero.bare .top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.ca-in { padding-top: 128px; }
.cp-form .fld input, .cp-form .fld textarea {
  padding: 16px 18px; background: rgba(247, 247, 246, 0.09); border: 0; border-radius: 4px; box-shadow: none;
  transition: background-color 160ms ease-out, box-shadow 160ms ease-out;
}
.cp-form .fld input:hover, .cp-form .fld textarea:hover { background: rgba(247, 247, 246, 0.13); }
.cp-form .fld input:focus, .cp-form .fld textarea:focus { background: rgba(247, 247, 246, 0.16); box-shadow: 0 0 0 1.5px var(--fg); border-bottom: 0; }
.cp-form .fld.bad input, .cp-form .fld.bad textarea { box-shadow: 0 0 0 1.5px #d96b5f; }

.ca-right { --bg: var(--olive); }
.ca-left { --bg: var(--silk); }
.ca-right .ca-in { padding-block: 112px 40px; }
.ca-right .cp-form { gap: clamp(12px, 2vh, 20px); }
.ca-right .cp-form .fld input, .ca-right .cp-form .fld textarea { padding: 13px 16px; font-size: 1.1rem; }
.ca-right .cp-form .fld textarea { min-height: 0; }


/* ---------- Final de pagina de serviciu: trimitere spre contact ---------- */

.band.cta-end { display: flex; flex-direction: column; justify-content: center; min-height: 72svh; padding-block: clamp(72px, 12vh, 140px); }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.band .cta-kicker { margin: 0 0 clamp(16px, 3vh, 30px); max-width: none; font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; color: var(--muted); }
.cta-link {
  display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 32px); color: var(--fg); text-decoration: none;
  font-family: var(--display); font-weight: 300; letter-spacing: -0.045em; line-height: 1; font-size: clamp(3rem, 9.4vw, 9rem);
  padding-bottom: 0.08em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat; transition: background-size 400ms var(--ease);
}
.cta-link:hover { background-size: 0 3px; background-position: 100% 100%; }
.cta-link .chev-xl { width: 0.7em; height: 0.7em; flex: none; stroke-width: 1.4; transition: transform 320ms var(--ease); }
.cta-link:hover .chev-xl { transform: translateX(0.18em); }
@media (max-width: 760px) { .cta-link { font-size: clamp(2.4rem, 12vw, 4rem); } }


/* final de pagina de serviciu (v2): "Te-am convins?" in stanga, datele de contact si butonul in dreapta */
.cta-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.band .cta-title { margin: 0; font-size: clamp(3.2rem, 8vw, 7.6rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.98; color: var(--fg); text-wrap: balance; }
.cta-side .cp-name { margin-bottom: clamp(18px, 3.4vh, 34px); }
.cta-side .actions { margin-top: clamp(26px, 4.4vh, 44px); }
.cta-end + .band[data-end] { border-top: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); }
@media (max-width: 960px) { .cta-split { grid-template-columns: 1fr; } }


/* 4 panouri: Te-am convins? ca ultim panou, aceeasi animatie si aceeasi navigare laterala */
.m5-track { height: 500svh; }
.m5-panel .cta-title { font-size: clamp(2.8rem, 6.4vw, 6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.m5-panel .m3-text .cp-name { margin-bottom: clamp(18px, 3.4vh, 32px); }
.m5-panel .m3-text .actions { margin-top: clamp(24px, 4vh, 40px); }


/* pagini de serviciu: aceeasi dimensiune de text in toate panourile (paragrafe, liste, date de contact) */
.m5-panel { --svc-text: clamp(1.05rem, min(1.35vw, 2.3vh), 1.25rem); }
.m5-panel .m3-text .zone-p,
.m5-panel .m3-text .zone-list li,
.m5-panel .m3-text .cp-list dd { font-size: var(--svc-text); line-height: 1.5; letter-spacing: -0.008em; }
.m5-panel .m3-text .zone-list li::before { top: 0.7em; }


/* submeniuri cu texte lungi (servicii): latime mai mare, randuri care se rup */
.sub { min-width: 260px; max-width: min(380px, 90vw); }
.sub a { align-items: flex-start; min-height: 42px; padding-block: 10px; line-height: 1.3; white-space: normal; }
.sub .chev-s { margin-top: 3px; flex: none; }


/* logo mai mare in antet cand meniul e transparent; la derulare (bara de sticla) revine la marimea de acum */
.top .brand { transform-origin: left center; transition: transform 380ms var(--ease); }
.top:not(.scrolled) .brand { transform: scale(1.32); }
@media (max-width: 960px) { .top:not(.scrolled) .brand { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .top .brand { transition: none; } }


/* logo mai mare si in footer, ca in antet */
.foot .brand { transform-origin: left center; transform: scale(1.32); }


/* ================= Meniu mobil: panou din dreapta + panou secundar cu "Inapoi" ================= */
.nav-close, .sub-back, .sub-all { display: none; }
@media (max-width: 960px) {
  html.menu-open { overflow: hidden; }
  .nav {
    position: fixed; z-index: 140; top: 0; right: 0; left: auto; width: 100%; max-width: none; height: 100dvh; margin: 0;
    padding: 84px var(--gutter) 28px; display: flex !important; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--olive); color: var(--silk); border-radius: 0; overflow: hidden;
    --fg: #f7f7f6; --muted: #c9c8c4; --soft: rgba(247, 247, 246, 0.12);
    transform: translateX(100%); visibility: hidden; transition: transform 460ms var(--ease), visibility 0s linear 460ms;
  }
  .nav.open { transform: none; visibility: visible; transition: transform 460ms var(--ease), visibility 0s; }
  .nav-close { display: inline-flex; align-items: center; justify-content: center; position: absolute; z-index: 5; top: 18px; right: calc(var(--gutter) - 8px); min-width: 48px; min-height: 48px; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav-close svg { width: 28px; height: 28px; stroke-width: 1.6; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li.has-sub { position: static; }
  .nav a.link { width: 100%; justify-content: space-between; min-height: 62px; padding: 0 2px; font-size: clamp(1.5rem, 6.4vw, 2.1rem); font-weight: 300; letter-spacing: -0.025em; border-bottom: 1px solid rgba(247, 247, 246, 0.12); }
  .nav a.link::after { display: none; }
  .nav .chev-d { display: block; width: 22px; height: 22px; margin-left: auto; transform: none !important; opacity: 0.7; }
  .nav .lang { margin-top: auto; align-self: flex-start; }

  .sub {
    position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; min-width: 0; max-width: none; margin: 0; padding: 18px var(--gutter) 28px;
    background: var(--olive); border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow-y: auto;
    opacity: 1; transform: translateX(100%); visibility: hidden; transition: transform 440ms var(--ease), visibility 0s linear 440ms;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; transform: translateX(100%); visibility: hidden; }
  .has-sub.sub-open .sub, .has-sub.sub-open:hover .sub, .has-sub.sub-open:focus-within .sub { transform: none; visibility: visible; transition: transform 440ms var(--ease), visibility 0s; }
  .sub::before { display: none; }
  .sub-back, .sub-all { display: block; }
  .sub-back-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-left: -4px; padding: 0 4px; background: none; border: 0; color: inherit; font-family: var(--display); font-size: 1rem; font-weight: 600; cursor: pointer; }
  .sub-back-btn .chev-b { width: 18px; height: 18px; stroke-width: 2; transform: rotate(180deg); }
  .sub-all a { display: block; padding: 20px 0 22px; font-family: var(--display); font-size: clamp(1.9rem, 8.4vw, 2.8rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(247, 247, 246, 0.12); }
  .sub li > a { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 58px; padding: 14px 2px; font-family: var(--display); font-size: 1.1rem; line-height: 1.3; border-bottom: 1px solid rgba(247, 247, 246, 0.1); border-radius: 0; background: none; }
  .sub .chev-s { display: block; margin-top: 4px; opacity: 0.55; }
}

@media (max-width: 960px) {
  .sub li.sub-all > a { display: block; min-height: 0; padding: 20px 0 24px; font-size: clamp(1.9rem, 8.4vw, 2.8rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; border-bottom: 1px solid rgba(247, 247, 246, 0.12); }
}

@media (max-width: 960px) {
  .nav ul.sub { padding: 18px var(--gutter) 28px; margin: 0; gap: 0; }
}


/* tranzitie intre pagini: doar fade scurt (fara blur pe tot ecranul, care bloca telefoanele) */
::view-transition-old(root) { animation: vt-out2 140ms ease-in both; }
::view-transition-new(root) { animation: vt-in2 260ms ease-out both; }
@keyframes vt-out2 { to { opacity: 0; } }
@keyframes vt-in2 { from { opacity: 0; } }

/* pe telefon: mai putin de randat la prima afisare (fara stratul incetosat si fara blend pe triunghi / cercuri) */
@media (max-width: 960px) {
  .rings.tri, .rings.sec.edge { mix-blend-mode: normal; }
}


/* iconul din butoane centrat fara flex pe <button> (Safari pe iPhone ignora flex-ul pe butoane si urca iconul) */
.menu-btn, .nav-close { position: relative; padding: 0; line-height: 0; }
.menu-btn svg { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.nav-close svg { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; }
@media (max-width: 960px) { .nav-close { position: absolute; } }


/* clasa .svc de pe hero nu mai primeste regulile listei de servicii; pastram doar distantele de pana acum */
.hero.svc { padding: 0; margin: 0 0 clamp(14px, 3vh, 28px); gap: clamp(2px, 0.6vh, 8px); }


/* toate paginile de serviciu: eticheta si titlul incep exact in acelasi loc; ce vine dedesubt ("In constructie", buton) nu mai muta titlul */
.hero.svc .hero-body { margin-block: 0 auto; padding-top: clamp(100px, 24svh, 240px); padding-bottom: 0; }


/* telefon: aceleasi panouri suprapuse ca pe desktop (panoul urca, textul se aprinde la derulare); daca textul e mai inalt decat ecranul, urca el in interiorul panoului */
@media (max-width: 900px) {
  .m5-track { height: 520svh; }
  .m5-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .m5-panel { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; align-items: flex-start; }
  .m5-panel .m3-in { width: 100%; margin: 0; grid-template-columns: 1fr; gap: 22px; align-content: start; padding: 92px var(--gutter) 32px; will-change: transform; }
  .m5-panel { --svc-text: clamp(0.98rem, 4.1vw, 1.12rem); }
  .band .m5-panel .m3-head h2, .m5-panel .cta-title { font-size: clamp(2.1rem, 10.5vw, 3rem); }
  .m5-panel .zone-list { gap: 10px; }
}


/* mai mult spatiu de derulare pe panou: pauza inainte si dupa text, ca sa apuci sa citesti tot */
.m5-track { height: 600svh; }
@media (max-width: 900px) { .m5-track { height: 620svh; } }


@media (max-width: 900px) { .m5-track { height: 900svh; } }


/* telefon: panoul fixat foloseste inaltimea mare a ecranului (lvh), ca sa nu ramana o banda alba jos cand bara browserului se ascunde la derulare */
.m5-stick { height: 100vh; height: 100lvh; }
.m5-track { height: 600vh; height: 600lvh; }
@media (max-width: 900px) { .m5-track { height: 900vh; height: 900lvh; } }


/* ultimul panou: fara animatia de text (titlul si datele apar direct) si mai putin spatiu de derulare pana la footer */
.m5-track { height: 525vh; height: 525lvh; }
@media (max-width: 900px) { .m5-track { height: 780vh; height: 780lvh; } }
.js .m5-panel#cta .m3-head h2 { opacity: 1 !important; filter: none !important; }


/* ===== telefon: pagini de serviciu statice (fara panouri fixate, fara animatii de text) ===== */
@media (max-width: 900px) {
  .m5-track { height: auto; }
  .m5-stick { position: static; height: auto; overflow: visible; }
  .m5-panel { position: relative; inset: auto; width: auto; height: auto; min-height: 100svh; align-items: center; transform: none !important; contain: none; }
  .m5-panel#cta { min-height: 0; }
  .m5-panel::after { display: none; }
  .m5-panel .m3-in { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; padding: 88px 0 56px; transform: none !important; will-change: auto; }
  .m5-panel .zone-p .w, .m5-panel .zone-list li .w { opacity: 1 !important; transition: none; }
  .js .m5-panel:not(.live) .m3-head h2, .js .m5-panel:not(.live) .zone-list li { opacity: 1; filter: none; }
}


/* telefon: triunghiul din hero sta in coltul de jos-dreapta, sub text, nu peste el */
@media (max-width: 960px) {
  .rings.tri { width: 125vw; left: auto; right: -40vw; top: auto; bottom: -30vw; transform: none; opacity: 0.6; }
}


/* prima pagina pe telefon: jumatatile din Servicii vin una sub alta (alb, negru), deci Echipa trece pe alb si footerul pe negru, ca sa alterneze */
@media (max-width: 960px) {
  .home #echipa { --bg: var(--silk); --fg: #373736; --muted: #61615f; --soft: rgba(55, 55, 54, 0.08); }
  .home #contact { --bg: var(--olive); --fg: #f7f7f6; --muted: #c9c8c4; --soft: rgba(247, 247, 246, 0.08); }
}


/* telefon: o miscare rapida a degetului nu mai sare peste sectiuni; derularea se opreste la inceputul fiecareia
   (sectiunile mai inalte decat ecranul se deruleaza liber in interior) */
@media (max-width: 960px) {
  html { scroll-snap-type: y mandatory; }
  .hero, .band, .m5-panel { scroll-snap-align: start; scroll-snap-stop: always; }
  .band.m5 { scroll-snap-align: none; scroll-snap-stop: normal; }
  html.menu-open { scroll-snap-type: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) { html { scroll-snap-type: y proximity; } }


/* footer: logoul nu se mai intinde pe toata coloana (mai ales marit), iar linkurile au zona de atingere de 44px pe telefon */
.foot .brand { justify-self: start; width: max-content; }
@media (max-width: 960px) {
  .foot .foot-nav a, .foot .sub-l a, .foot .fh a, .foot .foot-contact .sub-l a { min-height: 44px; }
}


/* telefon: triunghiul mai mare, ca pe desktop, iese din ecran in stanga si jos; vine sub text */
@media (max-width: 960px) {
  .rings.tri { width: 175vw; left: -52vw; right: auto; top: auto; bottom: -62vw; transform: none; opacity: 0.55; }
}


/* telefon: triunghiul ca pe desktop: varful sus-dreapta, trece peste meniu si peste text, laturile ies din ecran si continua in a doua sectiune */
@media (max-width: 960px) {
  .rings.tri { width: 300vw; left: -65vw; right: auto; top: -30px; bottom: auto; transform: none; opacity: 0.7; }
}


/* telefon: scoatem agatarea derularii (scroll-snap); pe unele telefoane sare continutul cand bara browserului apare/dispare */
@media (max-width: 960px) {
  html { scroll-snap-type: none; }
  .hero, .band, .m5-panel { scroll-snap-align: none; scroll-snap-stop: normal; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 960px) { html { scroll-snap-type: none; } }


/* telefon, prima pagina: Despre noi nu mai e fixata pe ecran; textul sta pe loc si apare cu aceeasi miscare ca Serviciile */
@media (max-width: 960px) {
  .scrub-track { height: auto; }
  .scrub-stick { position: static; height: auto; min-height: 100svh; padding-block: 104px 96px; }
  .scrub-text .w { opacity: 1 !important; transition: none; }
}


/* contact pe telefon: formularul are acelasi spatiu sus si jos (era mult mai mult sus) */
@media (max-width: 960px) {
  .ca-right .ca-in { padding-block: 48px; }
  .ca-left .ca-in { padding-block: 104px 48px; }
}


/* "Acasa" apare doar in meniul de pe telefon, ca prim buton */
.nav-home { display: none; }
@media (max-width: 960px) {
  .nav-home { display: list-item; }
  /* triunghiul de fundal: coltul din stanga-jos incepe de la jumatatea ecranului, iar restul e in dreapta (iese pe lateral) */
  .rings.tri { width: 170vw; left: 36.9vw; right: auto; top: -30px; bottom: auto; transform: none; opacity: 0.7; }
}


/* telefon: triunghiul de fundal mai inalt (aceeasi latime si pozitie, doar inaltimea mai mare) */
@media (max-width: 960px) {
  .rings.tri { aspect-ratio: auto; height: 200vw; }
}


/* pagini "in constructie" (si etichetele din hero): textul apare cu aceeasi focalizare ca titlul */
@media (prefers-reduced-motion: no-preference) {
  .hero .svc-kicker { animation: focus 1.1s var(--ease) 0.1s both; }
  .hero .soon-note { animation: focus 1.3s var(--ease) 0.5s both; }
  .js .m3-text.fx { transition-delay: 0.25s; }
}


/* telefon: triunghiul si mai inalt, trece in a doua sectiune ca pe desktop */
@media (max-width: 960px) {
  .rings.tri { height: 300vw; }
}


/* telefon: triunghiul intra exact 180px in a doua sectiune, indiferent de inaltimea telefonului (hero = 100svh, triunghiul incepe la -30px) */
@media (max-width: 960px) {
  .rings.tri { height: calc(100svh + 210px); }
}


/* telefon: partea vizibila a triunghiului e doar in dreapta ecranului, deci trecerea de la incetosat (spre text) la clar (spre margine) se face pe latimea acelei zone */
@media (max-width: 960px) {
  .rings.tri .blur { -webkit-mask-image: linear-gradient(to right, #000 8%, transparent 30%); mask-image: linear-gradient(to right, #000 8%, transparent 30%); }
  .rings.tri .sharp { -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 32%); mask-image: linear-gradient(to right, transparent 8%, #000 32%); }
}


/* telefon: triunghiul la 70% din latimea de pana acum, cu colturile din stanga-jos putin inainte de jumatatea ecranului (inaltimea ramane: intra 180px in a doua sectiune) */
@media (max-width: 960px) {
  .rings.tri { width: 119vw; left: 30.8vw; }
  .rings.tri .blur { -webkit-mask-image: linear-gradient(to right, #000 8%, transparent 40%); mask-image: linear-gradient(to right, #000 8%, transparent 40%); }
  .rings.tri .sharp { -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 42%); mask-image: linear-gradient(to right, transparent 8%, #000 42%); }
}


/* telefon: acolo unde triunghiul trece peste text (primele ~45% din latimea lui) e puternic incetosat, ca textul sa se citeasca usor; spre marginea din dreapta devine clar */
@media (max-width: 960px) {
  .rings.tri .blur { filter: blur(10px); opacity: 0.85; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 44%, transparent 62%); mask-image: linear-gradient(to right, #000 0%, #000 44%, transparent 62%); }
  .rings.tri .sharp { -webkit-mask-image: linear-gradient(to right, transparent 44%, #000 64%); mask-image: linear-gradient(to right, transparent 44%, #000 64%); }
}
