
/* ============================================================
   HEADER + NAVBAR + PARTENERI (TRUSTED / MARQUEE)
   ------------------------------------------------------------
   Aici este tot ce ține de:
   ✅ Variabilele și dimensiunile pentru header (în :root)
   ✅ Header-ul fix (sticlă / blur) + layout-ul din header-row
   ✅ Navigația desktop: link-uri, active state, dropdown
   ✅ Butoane icon (search, etc.) + hamburger (mobile toggle)
   ✅ Drawer-ul de mobil (meniul lateral) + backdrop + sublink-uri
   ✅ Modalul de search (overlay + input + button)
   ✅ Secțiunea „Parteneri / Trusted” + Marquee (logo-uri în mișcare)
   ------------------------------------------------------------
   Notă: Hero și restul paginii sunt mai jos, în secțiunile lor.
   ============================================================ */

:root{
  --bg: #0b0b0c;
  --bg2:#111114;
  --text:#f4f4f5;
  --muted:#c8c8cd;
  --line: rgba(255,255,255,.12);

  --accent:#d6c3a5; /* warm luxury */
  --accent2:#bca27a;

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);

  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --radius: 18px;

  --container: 1180px;
  --header-h: 86px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.site-header{
  position:fixed;
  top:0; left:0; right:0;
  height: var(--header-h);
  z-index:50;
  background: rgba(10,10,12,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.header-row{
  height:100%;
  display:flex;
  align-items:center;
  gap:18px;
}

.brand img{
  height:42px;
  width:auto;
  display:block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

.nav-desktop{
  flex: 1;                 /* ia tot spațiul dintre logo și icon */
  margin-left: 0;          /* scoate auto (nu mai “mută” aiurea) */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* împinge linkurile în dreapta */
  gap: 30px;
  position: relative;      /* necesar pt .nav-indicator */
}


.nav-link{
  position:relative;
  font-size: 15px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.86);
  padding: 10px 2px;
  transition: color .2s ease;
}
.nav-link:hover{ color:#fff; }
.nav-link.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:.9;
}

.nav-dropdown{position:relative}
.nav-dropdown-btn{
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-dropdown-menu{
  position:absolute;
  top:42px;
  left:0;
  min-width: 220px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(15,15,18,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  display:none;
}
.nav-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,.86);
}
.nav-dropdown-menu a:hover{
  background: rgba(255,255,255,.06);
  color:#fff;
}
.nav-dropdown:hover .nav-dropdown-menu{display:block}

.icon-btn{
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
  width:42px;height:42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease;
}
.icon-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }

.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px;height:44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  position:relative;
}
.nav-toggle span{
  position:absolute;
  left: 12px;
  right: 12px;
  height:2px;
  background:#fff;
  border-radius: 2px;
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; opacity:.85; }
.nav-toggle span:nth-child(3){ top: 27px; opacity:.7; }

/* Drawer */
.drawer{ position:fixed; inset:0; z-index:60; pointer-events:none; }
.drawer.is-open{ pointer-events:auto; }
.drawer-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  opacity:0;
  transition: opacity .2s ease;
}
.drawer.is-open .drawer-backdrop{ opacity:1; }
.drawer-panel{
  position:absolute; top:0; right:0;
  width: min(92vw, 380px);
  height: 100%;
  background: rgba(12,12,14,.98);
  border-left: 1px solid rgba(255,255,255,.10);
  transform: translateX(100%);
  transition: transform .22s ease;
  padding: 18px 18px 26px;
}
.drawer.is-open .drawer-panel{ transform: translateX(0); }
.drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer-brand img{ height:36px; display:block; }
.drawer-close{
  border:0;
  background:transparent;
  color:#fff;
  font-size: 28px;
  line-height: 1;
  cursor:pointer;
  padding: 6px 2px;
}

.drawer-nav{
  padding-top: 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.drawer-link{
  padding: 12px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.drawer-link:hover{ background: rgba(255,255,255,.06); }
.drawer-details summary{
  list-style:none;
  cursor:pointer;
}
.drawer-details summary::-webkit-details-marker{display:none}
.drawer-sub{
  margin-top: 8px;
  padding-left: 8px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.drawer-sublink{
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.drawer-sublink:hover{ background: rgba(255,255,255,.05); }

/* Search modal */
.modal{
  position:fixed; inset:0;
  z-index:70;
  pointer-events:none;
}
.modal.is-open{ pointer-events:auto; }
.modal-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.62);
  opacity:0;
  transition: opacity .2s ease;
}
.modal.is-open .modal-backdrop{opacity:1}
.modal-panel{
  position:absolute;
  left:50%; top: 18%;
  transform: translate(-50%, -10px);
  width: min(92vw, 680px);
  background: rgba(15,15,18,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  opacity:0;
  transition: opacity .2s ease, transform .2s ease;
}
.modal.is-open .modal-panel{
  opacity:1;
  transform: translate(-50%, 0);
}
.modal-close{
  position:absolute;
  top: 10px;
  right: 12px;
  border:0;
  background:transparent;
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}
.search-form{
  display:flex;
  gap:10px;
  align-items:center;
  padding-top: 18px;
}
.search-form input{
  flex:1;
  height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  outline:none;
  font-size: 16px;
}
.search-form button{
  width: 54px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

/* Hero */
.hero{
  position:relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 56px;
  background:
    radial-gradient(1200px 900px at 70% 20%, rgba(214,195,165,.18), transparent 55%),
    radial-gradient(900px 700px at 25% 15%, rgba(255,255,255,.08), transparent 60%),
}

/* video*/
.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  /* scoate orice background-image de aici */
}

.hero-video{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* ca să nu “prinzi” click pe video */
  
  /* cover effect (ca background-size: cover) */
  width: 100vw;
  height: 56.25vw;       /* 16:9 */
  min-width: 177.78vh;   /* 100 * 16/9 */
  min-height: 100vh;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  /* overlay-ul tău (exemplu):
  background: rgba(0,0,0,0.45);
  */
}

.hero-grid{
  position: relative;
  z-index: 2;
}



.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(7,7,9,.78), rgba(7,7,9,.60), rgba(7,7,9,.80));
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 240px 1fr 390px;
  gap: 26px;
  align-items: start;
}

.hero-left{
  padding-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 26px;
}

.hero-tag{
  display:flex;
  align-items:center;
  gap:12px;
  transform-origin:left center;
  writing-mode: vertical-rl;
  rotate: 180deg; /* makes text read bottom->top like many templates */
  opacity:.92;
  width:max-content;
}
.hero-tag .dot{
  width: 10px; height:10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(214,195,165,.12);
}
.hero-tag .tag-text{
  letter-spacing: 2px;
  text-transform: lowercase;
  font-size: 12px;
  color: rgba(255,255,255,.85);
}

.type-stack{
  display:flex;
  flex-direction:column;
  gap: 16px;
  margin-top: 10px;
}
.type-card{
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.type-card h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.90);
}
.type-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  transition: transform .18s ease, background .18s ease;
}
.type-link:hover{
  transform: translateX(3px);
  background: rgba(255,255,255,.06);
}

/* Center hero */
.hero-center{
  padding-top: 40px;
}
.hero-center h1{
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -1.2px;
  font-weight: 700;
}
.hero-center p{
  margin: 0 0 22px;
  max-width: 560px;
  color: rgba(255,255,255,.84);
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.btn{
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-weight: 600;
  letter-spacing:.2px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #141416;
  border-color: transparent;
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-ghost{
  background: rgba(255,255,255,.06);
  color:#fff;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}



/* Stats */
.stats{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.stat{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.stat img{
  width: 46px; height:46px;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.stat-value{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.stat-label{
  font-family:"Figtree", sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

/* Trusted section */
.trusted{
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0, 0, 0, 0));
  padding: 56px 0 70px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trusted-inner h2{
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.marquee{
  overflow:hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.marquee-track{
  display:flex;
  gap: 80px;
  align-items:center;
  width:max-content;
  animation: marquee 36s linear infinite;
  padding-left: 40px;
}
.marquee-track img{
  height: 38px;
  width:auto;
  opacity:.92;
  filter: grayscale(1) contrast(1.1) brightness(1.2);
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-left{
    flex-direction:row;
    align-items:stretch;
    justify-content:space-between;
    gap: 14px;
  }
  .hero-tag{
    writing-mode: horizontal-tb;
    rotate: 0deg;
    transform:none;
    width:auto;
  }
  .type-stack{
    flex:1;
    flex-direction:row;
    gap: 12px;
  }
  .type-card{ flex:1; }
  .hero-center{ padding-top: 0; }
  .hero-right{ padding-top: 0; }
}

@media (max-width: 860px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:block; }
  .icon-btn{ margin-left: 0; }
  .brand img{ height:38px; }
  .hero{ padding-top: calc(var(--header-h) + 22px); }
  .type-stack{ flex-direction:column; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 26px); }
  .hero-center h1{ letter-spacing: -0.6px; }
  .cta-row{ gap: 10px; }
  .btn{ width:100%; justify-content:center; }
}

/* =========================
   NAV INDICATOR (underline care “alunecă”)
   ========================= */

.nav-desktop{
  position: relative;
}

/* când indicatorul e activ (JS), ascundem vechiul ::after ca să nu fie dublu */
.nav-desktop.has-indicator .nav-link.is-active::after{
  content: none;
}

.nav-desktop.has-indicator .nav-link{
  position: relative;
  z-index: 2;
}

.nav-desktop .nav-indicator{
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0px;
  border-radius: 2px;

  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .9;

  transform: translate(0px, 0px);
  transition: transform .22s ease, width .22s ease, opacity .18s ease;
  will-change: transform, width;

  pointer-events: none;
  z-index: 1;
}

/* respectă reduce motion */
@media (prefers-reduced-motion: reduce){
  .nav-desktop .nav-indicator{
    transition: none;
  }
}



/* =========================
   TEAM HERO (Nucleu)
   ========================= */



/* background image layer */
.team-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--team-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
  opacity: .85;
  z-index: 0;
}

/* overlay layer (keeps index colors / contrast) */
.team-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 780px at 18% 20%, rgba(214,195,165,.16), transparent 60%),
    radial-gradient(900px 600px at 82% 30%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(90deg, rgba(7,7,9,.58), rgba(7,7,9,.22), rgba(7,7,9,.58));
  z-index: 1;
}



.team-hero{
  position: relative;
  min-height: 92vh;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
  overflow: hidden;
  isolation: isolate; /* ajută la z-index */
}

/* imaginea de fundal */
.team-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.03);
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* overlay (ca să rămână textul lizibil, vibe ca index) */
.team-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1100px 780px at 18% 20%, rgba(214,195,165,.16), transparent 60%),
    radial-gradient(900px 600px at 82% 30%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(90deg, rgba(7,7,9,.58), rgba(7,7,9,.22), rgba(7,7,9,.58));
}

/* conținutul peste imagine */
.team-hero-inner{
  position: relative;
  z-index: 2;
}








.team-hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
}


.team-hero-copy h1{
  margin: 0 0 14px;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.03;
  letter-spacing: -1.1px;
  font-weight: 720;
}

.team-lead{
  margin: 0 0 22px;
  max-width: 62ch;
  color: rgba(255,255,255,.84);
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}



/* =========================
   TEAM SECTION
   ========================= */

.team-section{
  padding: 84px 0 92px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 15% 30%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 600px at 85% 45%, rgba(214,195,165,.10), transparent 55%);
}

.team-section-head{
  max-width: 980px;
  margin: 0 auto 26px;
  text-align: center;
}
.team-section-head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.team-section-head p{
  margin: 0 auto;
  max-width: 860px;
  color: rgba(255,255,255,.82);
  font-family: "Figtree", sans-serif;
  line-height: 1.65;
}

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

.team-pill{
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  padding: 18px;
}
.team-pill h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.2px;
}
.team-pill p{
  margin: 0;
  color: rgba(255,255,255,.76);
  font-family:"Figtree", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 980px){
  .team-hero-grid{ grid-template-columns: 1fr; }
  .team-section-head{ text-align:left; }
  .team-grid{ grid-template-columns: 1fr; }
  .team-strip{ grid-template-columns: 1fr; }
}





/* =========================
   TEAM SECTION (Novarion)
========================= */
.team-section{
  position: relative;
  overflow: hidden;
  padding: 84px 0 90px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 18% 12%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1100px 900px at 86% 40%, rgba(214,195,165,.12), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  isolation: isolate;
}

.team-inner{ position: relative; z-index: 1; }

.team-top{
  max-width: 980px;
  margin: 0 auto 26px;
  text-align: center;
}

.team-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  letter-spacing: .6px;
  margin-bottom: 14px;
}

.team-top h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.team-top p{
  margin: 0 auto 0;
  max-width: 860px;
  font-family: "Figtree", sans-serif;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

/* Grid */
.team-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

@media (min-width: 560px){
  .team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px){
  .team-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px){
  .team-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Card */
.team-card{
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-card:hover{
  transform: translateY(-4px);
  border-color: rgba(214,195,165,.35);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

.team-card img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.team-meta{
  padding: 14px 14px 16px;
}

.team-meta h5{
  margin: 0 0 7px;
  font-size: 16px;
  letter-spacing: .2px;
}

.team-meta span{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .team-card{ transition: none; }
  .team-card:hover{ transform: none; }
}

.team-card{
  position: relative;
}
.team-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
  pointer-events:none;
  opacity:.65;
}






/* Trusted section */
.trusted{
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0, 0, 0, 0));
  padding: 56px 0 70px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trusted-inner h2{
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.marquee{
  overflow:hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.marquee-track{
  display:flex;
  gap: 80px;
  align-items:center;
  width:max-content;
  animation: marquee 36s linear infinite;
  padding-left: 40px;
}
.marquee-track img{
  height: 38px;
  width:auto;
  opacity:.92;
  filter: grayscale(1) contrast(1.1) brightness(1.2);
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-left{
    flex-direction:row;
    align-items:stretch;
    justify-content:space-between;
    gap: 14px;
  }
  .hero-tag{
    writing-mode: horizontal-tb;
    rotate: 0deg;
    transform:none;
    width:auto;
  }
  .type-stack{
    flex:1;
    flex-direction:row;
    gap: 12px;
  }
  .type-card{ flex:1; }
  .hero-center{ padding-top: 0; }
  .hero-right{ padding-top: 0; }
}

@media (max-width: 860px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:block; }
  .icon-btn{ margin-left: 0; }
  .brand img{ height:38px; }
  .hero{ padding-top: calc(var(--header-h) + 22px); }
  .type-stack{ flex-direction:column; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 26px); }
  .hero-center h1{ letter-spacing: -0.6px; }
  .cta-row{ gap: 10px; }
  .btn{ width:100%; justify-content:center; }
}



















/* =========================
   FOOTER (GLASSY)
   ========================= */
.site-footer{
  position: relative;
  padding: 70px 0 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 18% 25%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 82% 45%, rgba(214,195,165,.10), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.35));
  overflow: hidden;
}

.footer-glow{
  position:absolute;
  inset: -120px -120px auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(214,195,165,.14), transparent 65%);
  filter: blur(2px);
  opacity: .9;
  pointer-events:none;
}

.footer-panel{
  border-radius: 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  padding: 34px 34px;
  display: grid;
  grid-template-columns: 1.15fr .95fr 1fr;
  gap: 26px;
}

.footer-col{
  min-width: 0;
}

.footer-logo img{
  height: 46px;
  width: auto;
  display: block;
  opacity: .98;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.35));
  margin-bottom: 14px;
}

.footer-title{
  margin: 4px 0 12px;
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}

.footer-text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.76);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  max-width: 46ch;
}

.footer-site{
  display: inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
  padding-top: 6px;
}
.footer-site:hover{ color:#fff; }

/* Social icons */
.footer-social{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.footer-soc{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.footer-soc:hover{
  transform: translateY(-2px);
  background: rgba(214,195,165,.12);
  border-color: rgba(214,195,165,.28);
}

/* Contact list */
.footer-contact{
  list-style:none;
  padding: 4px 0 0;
  margin: 0;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.footer-contact li{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact i{
  width: 18px;
  margin-top: 2px;
  color: rgba(214,195,165,.85);
}

.footer-contact a{
  color: rgba(255,255,255,.90);
}
.footer-contact a:hover{ color:#fff; }

/* Bottom bar */
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 10px 0;
  margin-top: 16px;
  color: rgba(255,255,255,.60);
  font-family:"Figtree", sans-serif;
  font-size: 13px;
}

.footer-links{
  display:flex;
  align-items:center;
  gap: 10px;
}

.footer-links a{
  color: rgba(255,255,255,.70);
}
.footer-links a:hover{ color:#fff; }

.footer-links .dot{
  opacity: .55;
}

/* Responsive */
@media (max-width: 980px){
  .footer-panel{
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }
  .footer-text{ max-width: none; }
}

@media (max-width: 520px){
  .site-footer{ padding: 56px 0 22px; }
  .footer-soc{ width: 44px; height: 44px; }
}



/* ===== Projects tabs layout ===== */

/* Desktop: 3 pe aceeași linie */
.xp-project-tabs{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* important: permite să se “strângă” fără să forțeze wrap */
.xp-project-tabs > *{ min-width: 0; }

/* butoanele să ocupe toată celula */
.xp-project-tab{
  width: 100%;
  justify-content: center;   /* dacă vrei text centrat */
  /* dacă ai text/dot și vrei aliniere la stânga, pune: justify-content:flex-start; */
}

/* Mobile: fiecare pe rând, full width (mai late) */
@media (max-width: 860px){
  .xp-project-tabs{
    grid-template-columns: 1fr;
  }
  .xp-project-tab{
    width: 100%;
  }


  /* =========================
   TEAM PEOPLE GRID (mobile: 2 / row)
   aplicat doar pe sectiunea #echipa
   ========================= */
#echipa .team-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; /* optional: mai strans pe telefon */
}

/* Optional: pe telefoane foarte mici, revine la 1 ca sa nu se sufoce */
@media (max-width: 360px){
  #echipa .team-grid{ grid-template-columns: 1fr; }
}

/* Optional: reduce un pic “inaltimea” pozei, daca inca pare prea mare */
#echipa .team-card img{
  aspect-ratio: 4 / 5;  /* in loc de 1/1 */
  object-position: center 20%;
}

}





