@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
html, body { 
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--fd);
  color: #f0ede8;
  font-size: 100%;
}
#magic {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  z-index: -1;
}
.playground{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}
.bottomPosition{
  text-align: center;
  margin-bottom: 50px;
}
.special {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 2px;
}
.minText{ 
  font-size: 14px;
  text-transform: none;
}
.special,
.minText{
  color: #f0ede8;
}
a {
  color: #f0ede8;
  font-size: 12px;
  text-decoration: none;
}
.demoText {
    margin-top: 15px;
    font-size: 15px;
    color: #60f06e;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255,255,255,0.4);
}
/* HERO SECTION */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ROOT */
:root {
  --black: #0f0f0f;
  --white: #f0ede8;
  --green: #00ff88;
  --green-dim: rgba(0,255,136,0.07);
  --green-line: rgba(0,255,136,0.18);
  --gray: #0e0e0e;
  --mid: #1c1c1c;
  --dim: #7b7a7a;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Playfair Display', serif;
  --fm: 'Space Mono', monospace;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--fm);
  overflow-x: hidden;
  cursor: default;
}

/* NOISE */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.lang-switch {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  display: flex;
  gap: 8px;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--green);
  padding: 6px 10px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.25s ease;
}
.lang-switch button:hover {
  background: var(--green);
  color: black;
}
.lang-switch button:active {
  transform: scale(0.92);
}
/* CURSOR */
#cur {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
}

.c-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.c-h {
  position: absolute;
  width: 24px;
  height: 1px;
  background: var(--green);
  transform: translate(-50%, -50%);
}

.c-v {
  position: absolute;
  width: 1px;
  height: 24px;
  background: var(--green);
  transform: translate(-50%, -50%);
}

.c-ring {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,255,136,0.35);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

body:has(a:hover) .c-ring,
body:has(button:hover) .c-ring {
  transform: translate(-50%, -50%) scale(2.4);
  border-color: var(--green);
  background: rgba(0,255,136,0.03);
}
/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 4rem;
  background: linear-gradient(to bottom, rgba(4,4,4,.96) 0%, transparent 100%);
}
.n-logo {
  visibility: hidden;
}
.n-logo {
  font-family: var(--fd);
  font-size: 1rem;
  letter-spacing: .35em;
  color: var(--white);
  text-decoration: none;
  transition: color .3s;
}
.n-logo b {
  color: var(--green);
}
.n-logo:hover {
  color: var(--green);
}
.n-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.n-links a {
  font-family: var(--fm);
  font-size: .6rem;
  letter-spacing: .25em;
  color: var(--dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
.n-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width .35s ease;
}
.n-links a:hover {
  color: var(--green);
}
.n-links a:hover::after {
  width: 100%;
}
.n-dot {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--fm);
  font-size: .58rem;
  color: var(--dim);
  letter-spacing: .15em;
}
.n-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2.4s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
/* HERO */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 5.5rem;
  position: relative;
  overflow: hidden;
}
.h-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.h-desc {
  font-family: var(--fb);
  font-style: italic;
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
  color: var(--dim);
  line-height: 1.75;
  max-width: 400px;
}
.h-desc strong {
  color: var(--white);
  font-style: normal;
}
.h-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--green);
  text-decoration: none;
  padding: 1.4rem 2.8rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color .4s;
  flex-shrink: 0;
}
.h-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.77,0,.18,1);
}
.h-cta:hover::before {
  transform: translateX(0);
}
.h-cta:active::before,
.h-cta:focus::before {
  transform: translateX(0);
}
.h-cta span {
  position: relative;
  z-index: 1;
}
.h-scroll {
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--dim);
  letter-spacing: .35em;
  text-transform: uppercase;
}
.h-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: sdrop 2.2s ease-in-out infinite;
}
@keyframes sdrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* MARQUEE */
.mq {
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  padding: .9rem 0;
  overflow: hidden;
  background: var(--gray);
}
.mq-track {
  display: flex;
  gap: 2.5rem;
  animation: mroll 22s linear infinite;
  width: max-content;
}
.mq-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--fm);
  font-size: .58rem;
  color: var(--dim);
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mq-item .sep {
  color: var(--green);
  font-size: .35rem;
}
@keyframes mroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* SECTION HEADER */
.s-wrap {
  padding: 0 4rem;
}
.s-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 7rem 0 5rem;
  border-top: 1px solid var(--mid);
}
.s-num {
  font-family: var(--fm);
  font-size: .58rem;
  color: var(--green);
  letter-spacing: .35em;
}
.s-title {
  font-family: var(--fd);
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: .04em;
  line-height: 1;
}
.s-sub {
  font-family: var(--fm);
  font-size: .58rem;
  color: var(--dim);
  letter-spacing: .1em;
  text-align: right;
  max-width: 170px;
  line-height: 1.8;
}
/* SERVICES */
/* GRADIENTE COLORATE*/
.bg1 { background: linear-gradient(135deg, #100808 0%, #200a0a 60%, #0a0808 100%); }
.bg2 { background: linear-gradient(135deg, #080e08 0%, #0a160a 100%); }
.bg3 { background: linear-gradient(135deg, #08080e 0%, #0a0a18 100%); }
.bg4 { background: linear-gradient(135deg, #0e0a08 0%, #1a120a 100%); }
.bg5 { background: linear-gradient(135deg, #08100e 0%, #0a1814 100%); }

/* CARD SERVICES — efect cinematic complet */
.sv-item {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 2.2rem;
  background: var(--black);
  transition: transform .75s cubic-bezier(.25, .46, .45, .94), background .4s;
}
/* ZOOM LA HOVER — identic cu PORTFOLIO */
.sv-item:hover {
  transform: scale(1.05);
}
/* LINIA VERDE NEON — păstrată exact ca la tine */
.sv-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .5s ease;
  z-index: 3;
}
.sv-item:hover::before {
  width: 100%;
}
/* OVERLAY CINEMATIC — identic cu PORTFOLIO (.pf-ov) */
.sv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,4,.45) 0%, transparent 55%);
  opacity: 0;
  transform: translateY(8px);
  transition: all .45s ease;
  z-index: 1;
}
.sv-item:hover .sv-overlay {
  opacity: 1;
  transform: translateY(0);
}
/* TEXT DEASUPRA OVERLAY-ULUI */
.sv-n, .sv-t, .sv-d {
  position: relative;
  z-index: 2;
}
#services {
  padding: 2rem 4rem 8rem;
}
.sv-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
  align-items: start;
}
.sv-big {
  font-family: var(--fb);
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.5;
  color: var(--white);
}
.sv-big em {
  color: var(--green);
  font-style: normal;
}
.sv-right p {
  font-size: .78rem;
  color: var(--dim);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mid);
  border: 1px solid var(--mid);
  margin-bottom: 5rem;
}
.sv-n {
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .35em;
  margin-bottom: 2rem;
  display: block;
}
.sv-t {
  font-family: var(--fd);
  font-size: 1.7rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.sv-d {
  font-size: .72rem;
  color: var(--dim);
  line-height: 1.95;
}
.tech-box {
  border: 1px solid var(--mid);
  padding: 3rem;
  position: relative;
}
.tech-box::before {
  content: 'BUILT WITH';
  position: absolute;
  top: -.55rem;
  left: 2rem;
  background: var(--black);
  padding: 0 1rem;
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .35em;
}
.t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.t-tag {
  font-family: var(--fm);
  font-size: .58rem;
  letter-spacing: .12em;
  color: var(--dim);
  border: 1px solid var(--mid);
  padding: .5rem 1.1rem;
  text-transform: uppercase;
  transition: all .3s;
}
.t-tag:hover {
  color: var(--green);
  border-color: var(--green-line);
  background: var(--green-dim);
}
.bg1 {
  background: radial-gradient(circle at center, #2a1515 0%, #1a0c0c 40%, #120808 100%);
}
.bg2 {
  background: radial-gradient(circle at center, #1a2d1a 0%, #0f1a0f 40%, #0a120a 100%);
}
.bg3 {
  background: radial-gradient(circle at center, #1c1c38 0%, #141428 40%, #0a0a18 100%);
}
.bg4 {
  background: radial-gradient(circle at center, #2e1e10 0%, #1c140c 40%, #120c08 100%);
}
.bg5 {
  background: radial-gradient(circle at center, #103830 0%, #0c1c18 40%, #081410 100%);
}
/* PORTFOLIO */
#portfolio {
  padding: 0 4rem 8rem;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}
.pf-item {
  position: relative;
  overflow: hidden;
  background: var(--gray);
  display: block; /* necesar pentru <a> */
  text-decoration: none; /* elimină underline */
  color: inherit; /* păstrează culorile tale */
}
.pf-item:nth-child(1) {
  grid-column: span 8;
  aspect-ratio: 16/9;
}
.pf-item:nth-child(2) {
  grid-column: span 4;
  aspect-ratio: 4/5;
}
.pf-item:nth-child(3) {
  grid-column: span 4;
  aspect-ratio: 4/5;
}
.pf-item:nth-child(4) {
  grid-column: span 4;
  aspect-ratio: 4/5;
}
.pf-item:nth-child(5) {
  grid-column: span 4;
  aspect-ratio: 4/5;
}
.pf-bg {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform .75s cubic-bezier(.25, .46, .45, .94);
}
.pf-item:hover .pf-bg {
  transform: scale(1.05);
}
.pf-svg-wrap {
  position: absolute;
  inset:0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .05;
  transition: opacity .5s;
}
.pf-svg-wrap img {
  width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
}
.pf-item:hover .pf-svg-wrap {
  opacity: .12;
}
.pf-tl {
  position: absolute;
  top: 1.5rem;
  left: 1.8rem;
  font-family: var(--fm);
  font-size: .48rem;
  color: rgba(0,255,136,.45);
  letter-spacing: .2em;
  z-index: 2;
}
.pf-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,4,.96) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all .45s ease;
  z-index: 2;
}
.pf-item:hover .pf-ov {
  opacity: 1;
  transform: translateY(0);
}
.pf-label {
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.pf-name {
  font-family: var(--fd);
  font-size: 1rem;
  letter-spacing: .04em;
  line-height: 1;
}
.pf-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
}
.pf-cta p {
  font-family: var(--fb);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dim);
}
.pf-cta p em {
  color: var(--white);
}
.btn-o {
  font-family: var(--fm);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border: 1px solid var(--green-line);
  padding: 1rem 2rem;
  transition: all .3s;
  white-space: nowrap;
}
.btn-o:hover {
  background: var(--green-dim);
  border-color: var(--green);
}
/* ABOUT */
#about {
  padding: 0 4rem 8rem;
}
.ab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9rem;
  align-items: start;
}
.ab-left {
  position: sticky;
  top: 9rem;
  width: 100%;
  min-width: 300px;
}
.ab-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  background: 
    radial-gradient(circle at center, #491d1d 0%, #543b20 40%, #120c08 100%),
    #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  mix-blend-mode: multiply;
}
.ab-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 69px, rgba(0,255,136,.025) 69px, rgba(0,255,136,.025) 70px),
    repeating-linear-gradient(90deg, transparent, transparent 69px, rgba(0,255,136,.025) 69px, rgba(0,255,136,.025) 70px);
  z-index: 1;
  pointer-events: none;
}
.ab-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 10rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,255,136,.08);
  letter-spacing: -.05em;
  z-index: 2;
}
.ab-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--mid);
  border: 1px solid var(--mid);
}
.am {
  padding: 1.6rem;
  background: var(--black);
}
.am-v {
  font-family: var(--fd);
  font-size: 1rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: .3rem;
}
.am-l {
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--dim);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ab-pull {
  font-family: var(--fb);
  font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--mid);
}
.ab-pull em {
  color: var(--green);
  font-style: normal;
}
.ab-p {
  font-size: .78rem;
  color: var(--dim);
  line-height: 2.1;
  margin-bottom: 1.8rem;
}
.ab-p strong {
  color: var(--white);
}
.philos {
  border: 1px solid var(--mid);
  padding: 2.8rem;
  margin-top: 3rem;
  position: relative;
}
.philos::before {
  content: 'PHILOSOPHY';
  position: absolute;
  top: -.55rem;
  left: 2rem;
  background: var(--black);
  padding: 0 1rem;
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .35em;
}
.philos p {
  font-family: var(--fb);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.philos p:last-child {
  margin-bottom: 0;
  color: var(--dim);
  font-size: .75rem;
  font-style: normal;
  font-family: var(--fm);
}

/*tab */
.about-press-center {
  position: relative; /* păstrează fluxul secțiunii, nu rupe layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem 0;
  z-index: 6;
  pointer-events: auto;
}
/* textul "press here .." — discret, intrigant */
.press-link {
  text-decoration: none;
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--dim);
  letter-spacing: .35em;
  text-transform: uppercase;
  padding: 4px 6px;
  transition: transform 160ms ease, color 160ms ease;
  cursor: pointer;
  display: inline-block;
}
/* dunga neon  */
.press-line {
  display: block;
  width: 2px;
  height: 72px;
  margin-top: 6px;
  background: linear-gradient(to bottom, var(--green, var(--color-accent)), transparent 60%);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(0,255,120,0.18), inset 0 0 8px rgba(0,255,120,0.06);
  transform-origin: top;
  animation: sdrop 2.2s ease-in-out infinite;
  opacity: 0.95;
}
/* animația "curgere" */
@keyframes sdrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}
/* reacție subtilă când linkul e hover/ focus */
.press-link:hover + .press-line,
.press-link:focus + .press-line {
  animation-duration: 1.8s;
  box-shadow: 0 0 26px rgba(0,255,120,0.26), inset 0 0 10px rgba(0,255,120,0.08);
  transform-origin: top;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mid);
  border: 1px solid var(--mid);
  margin-top: 4rem;
}
.hw-step {
  padding: 2.5rem 2rem;
  background: var(--black);
  transition: background .35s;
}
.hw-step:hover {
  background: #070707;
}
.hw-n {
  font-family: var(--fm);
  font-size: .5rem;
  color: var(--green);
  letter-spacing: .35em;
  margin-bottom: 2rem;
  display: block;
}
.hw-t {
  font-family: var(--fd);
  font-size: 1.5rem;
  letter-spacing: .04em;
  margin-bottom: .7rem;
}
.hw-d {
  font-size: .7rem;
  color: var(--dim);
  line-height: 1.9;
}
/* CONTACT */
#contact {
  padding: 0 4rem 9rem;
}
.ct-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9rem;
}
.ct-big {
  font-family: var(--fd);
  font-size: clamp(3rem, 6.5vw, 8rem);
  line-height: .9;
  letter-spacing: -.02em;
  margin-bottom: 4rem;
}
.ct-big b {
  color: var(--green);
}
.ct-items {
  display: flex;
  flex-direction: column;
}
.ci {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--mid);
}
.ci-l {
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .2em;
  text-transform: uppercase;
  min-width: 75px;
  padding-top: .2rem;
}
.ci-v {
  font-size: .82rem;
  color: var(--white);
  line-height: 1.75;
}
.ci-v a {
  color: var(--white);
  text-decoration: none;
  transition: color .3s;
}
.ci-v a:hover {
  color: var(--green);
}

/* FORM */
.cf {
  display: flex;
  flex-direction: column;
}
.cf-g {
  position: relative;
  border-bottom: 1px solid var(--mid);
}
.cf-lbl {
  display: block;
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--green);
  letter-spacing: .35em;
  text-transform: uppercase;
  padding: 1.5rem 0 .4rem;
}
.cf-in,
.cf-ta {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--fm);
  font-size: .82rem;
  padding: .4rem 0 1.5rem;
  resize: none;
}
.cf-in::placeholder,
.cf-ta::placeholder {
  color: var(--dim);
}
.cf-ta {
  min-height: 110px;
}
.cf-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width .45s ease;
}
.cf-g:focus-within .cf-line {
  width: 100%;
}
.cf-g:focus-within {
  border-color: transparent;
}
.cf-btn {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--green);
  border: none;
  padding: 1.4rem 2.8rem;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: color .4s;
  align-self: flex-start;
}
.cf-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.77,0,.18,1);
}
.cf-btn:hover::before {
  transform: translateX(0);
}
.cf-btn span {
  position: relative;
  z-index: 1;
}
/* FOOTER */
footer {
  border-top: 1px solid var(--mid);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-logo img {
  width: 40px; /* ajustezi după gust */
  height: auto;
  filter: invert(1) brightness(0.3);
  opacity: 0.85;
}
.f-copy {
  font-family: var(--fm);
  font-size: .52rem;
  color: var(--dim);
  letter-spacing: .15em;
}
.f-up {
  font-family: var(--fm);
  font-size: .60rem;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: color .3s;
}
.f-up:hover {
  color: var(--green);
}
/* REVEAL */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s ease;
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: .1s;
}
.d2 {
  transition-delay: .2s;
}
.d3 {
  transition-delay: .3s;
}
.d4 {
  transition-delay: .4s;
}

/* MOBILE */
@media (max-width: 900px) {

  /* CURSOR */
   #cur { display: none; }
  .lang-switch button { cursor: pointer; }
  .cf-btn { cursor: pointer; }
  .t-tag:active,
  .t-tag:focus {
    color: var(--green);
    border-color: var(--green-line);
    background: var(--green-dim);
  }
  /* LANG SWITCH */
    .lang-switch {
    top: 1.2rem;
    bottom: auto;
    left: 1.2rem;
    right: auto;
    transform: none;
  }
  /* NAV */
  nav {
    padding: 1.5rem 1.5rem;
  }
  .n-links {
    display: none;
  }
  .n-dot {
    display: none;
  }
  /* HERO */
  #hero {
    padding: 0 1.5rem 4rem;
  }
 
  .h-scroll {
    bottom: 140px;
    opacity: 1;
  }
  /* SECTIONS — padding uniform */
  .s-wrap,
  .s-head,
  #services,
  #portfolio,
  #about,
  #contact {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .s-sub {
    display: none;
  }
  .s-head {
    grid-template-columns: auto 1fr;
    padding: 4rem 0 3rem;
  }
   /* SERVICES */
  .h-cta {
   width: auto;
   padding: 0.3rem 0.3rem;
   justify-content: flex-end;
   align-self: flex-end;
   font-size: 0.6rem;
   margin-left: auto;
  
  }
  .h-title { 
  font-size: clamp(2.8rem, 11vw, 6rem);
   margin-bottom: 2rem;
   } 
  .h-foot { 
    flex-direction: column;
    align-items:flex-start;
    gap: 2rem; 
  }
  .h-desc { max-width: 100%; } 
  .sv-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sv-grid {
    grid-template-columns: 1fr;
  }
  .tech-box {
    padding: 2rem 1.5rem;
  }
  /* PORTFOLIO */
  .pf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .pf-item:nth-child(1),
  .pf-item:nth-child(2),
  .pf-item:nth-child(3),
  .pf-item:nth-child(4),
  .pf-item:nth-child(5) {
    grid-column: span 1 !important;
    aspect-ratio: 4/5;
  }
  .pf-ov {
  opacity: 0;
  transform: translateY(8px);
}
.pf-item.touch-active .pf-ov {
  opacity: 1;
  transform: translateY(0);
}
  .pf-item.touch-active .pf-bg {
  transform: scale(1.05);
  }
  /* ABOUT */
  .ab-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ab-left {
    position: static;
  }
  .ab-portrait {
    aspect-ratio: 4/3;
  }
  .hw-grid {
    grid-template-columns: 1fr;
  }
  .philos {
    padding: 2rem 1.5rem;
  }

  /* CONTACT */
  .ct-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ct-big {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }
  .cf-btn {
    width: 100%;
    justify-content: center;
    align-self: stretch;
  }
  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}