
/* ============================================================
   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;
  }
}


/* =========================
   MEDIA HERO
   ========================= */

.media-hero{
  position: relative;
  min-height: 92vh;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
  overflow: hidden;
  isolation: isolate;
}

.media-hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.03);
  opacity: .95;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.media-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1100px 780px at 16% 18%, 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,.62), rgba(7,7,9,.20), rgba(7,7,9,.62));
}

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

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



.media-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;
}

.media-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;
}

.media-chips{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.media-chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}
.media-chip.is-active{
  border-color: rgba(214,195,165,.38);
  background: rgba(214,195,165,.12);
  color: #fff;
}

/* Right panel */
.media-hero-panel{
  padding-top: 6px;
}
.media-panel-card{
  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,.35);
  padding: 16px;
}

.media-panel-top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}
.media-panel-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
}
.media-panel-title{
  font-weight: 850;
  letter-spacing: -0.2px;
}
.media-panel-sub{
  color: rgba(255,255,255,.72);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  margin-top: 2px;
}

.media-panel-list{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.media-panel-list i{
  width: 18px;
  color: rgba(214,195,165,.85);
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 980px){
  .media-hero-grid{ grid-template-columns: 1fr; }
}




/* =========================
   MEDIA CATEGORIES (3 buttons)
   ========================= */

.media-cats{
  padding: 68px 0 86px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 15% 30%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 85% 45%, rgba(214,195,165,.10), transparent 55%);
}

.media-cats-head{
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}

.media-cats-kicker{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.media-cats-text{
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

.media-cat-btn{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.media-cat-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(214,195,165,.28);
}

.media-cat-ico{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  flex: 0 0 auto;
}

.media-cat-copy{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  scroll-behavior: smooth;
}

.media-cat-title{
  font-weight: 850;
  letter-spacing: -0.2px;
  font-size: 16px;
}

.media-cat-sub{
  color: rgba(255,255,255,.72);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.media-cat-arrow{
  margin-left: auto;
  opacity: .65;
  transition: transform .18s ease, opacity .18s ease;
}

.media-cat-btn:hover .media-cat-arrow{
  transform: translateX(2px);
  opacity: .95;
}

/* Mobile: 1 sub altul */
@media (max-width: 980px){
  .media-cats-head{
    text-align: left;
    margin-bottom: 18px;
  }
  .media-cats-text{
    margin: 0;
  }
  .media-cats-grid{
    grid-template-columns: 1fr;
  }
}



/* =========================
   VIDEO SECTION (featured + list)
   ========================= */

.media-video{
  padding: 78px 0 96px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 15% 30%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 85% 45%, rgba(214,195,165,.10), transparent 55%);
}

.media-video-head{
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}

.media-video-head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.media-video-head p{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.80);
  font-family: "Figtree", sans-serif;
  line-height: 1.65;
}

/* layout */
.video-feature{
  display: grid;
  grid-template-columns: 1.25fr .75fr; /* video mare + listă */
  gap: 16px;
  align-items: start;
  margin-top: 22px;
}

.video-player{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.video-player iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* list */
.video-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-item{
  width: 100%;
  text-align: left;
  border-radius: 22px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.video-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(214,195,165,.26);
}

.video-item.is-active{
  border-color: rgba(214,195,165,.42);
  background: rgba(214,195,165,.10);
}

.video-item-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.video-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(214,195,165,.14);
  flex: 0 0 auto;
}

.video-date{
  color: rgba(214,195,165,.92);
  font-size: 13px;
  letter-spacing: .2px;
  font-family: "Figtree", sans-serif;
}

.video-title{
  font-weight: 850;
  letter-spacing: -0.2px;
  line-height: 1.25;
  font-size: 15px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.74);
}

.video-desc{
  color: rgba(255,255,255,.74);
  font-family: "Figtree", sans-serif;
  line-height: 1.55;
  font-size: 13px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* responsive */
@media (max-width: 980px){
  .media-video-head{ text-align: left; }
  .media-video-head p{ margin: 0; }
  .video-feature{ grid-template-columns: 1fr; }
}









/* =========================
   ARTICLES SLIDER (scroll-snap)
   ========================= */

.articles-slider{
  padding: 76px 0 96px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 15% 30%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 85% 45%, rgba(214,195,165,.10), transparent 55%);
}

.articles-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.articles-kicker{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.articles-actions{
  display:flex;
  gap: 10px;
}

.articles-nav{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.9);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.articles-nav:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(214,195,165,.28);
}
.articles-nav:disabled{
  opacity: .45;
  cursor: default;
  transform: none;
}

.articles-viewport{
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* firefox */
}
.articles-viewport::-webkit-scrollbar{ display:none; } /* chrome */

.articles-track{
  display:flex;
  gap: 14px;
  padding: 6px 2px 2px;
}

.article-card{
  flex: 0 0 calc((100% - 28px) / 3); /* 3 pe desktop */
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.article-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.07);
  border-color: rgba(214,195,165,.28);
}

.article-link{
  display:block;
  text-decoration:none;
  color: inherit;
}

.article-media{
  background: rgba(0,0,0,.25);
}
.article-media img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display:block;
}

.article-body{
  padding: 14px 14px 16px;
}

.article-source{
  color: rgba(214,195,165,.92);
  font-size: 13px;
  letter-spacing: .2px;
  margin-bottom: 8px;
  font-family: "Figtree", sans-serif;
}

.article-title{
  margin: 0;
  color: rgba(255,255,255,.86);
  font-family: "Figtree", sans-serif;
  line-height: 1.45;
  font-size: 14px;
}

/* Tablet: 2 pe rând */
@media (max-width: 1100px){
  .article-card{ flex-basis: calc((100% - 14px) / 2); }
}

/* Mobile: 1 mare (ușor de swipe) */
@media (max-width: 760px){
  .articles-head{ align-items:center; }
  .article-card{ flex-basis: 86%; }
  .article-media img{ height: 200px; }
}




/* =========================
   PODCAST SECTION
   ========================= */

.media-podcasts{
  padding: 78px 0 96px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 600px at 12% 25%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 600px at 88% 45%, rgba(214,195,165,.10), transparent 55%);
}

.podcast-head{
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}

.podcast-kicker{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.podcast-head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.podcast-head p{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.80);
  font-family: "Figtree", sans-serif;
  line-height: 1.65;
}

/* layout: listă (stânga) + player (dreapta) */
.podcast-layout{
  display: grid;
  grid-template-columns: .85fr 1.15fr; /* listă + player */
  gap: 16px;
  align-items: start;
  margin-top: 22px;
}

/* explicit: player right (desktop) */
.podcast-layout--player-right .podcast-list{ grid-column: 1; }
.podcast-layout--player-right .podcast-player{ grid-column: 2; }

/* player */
.podcast-player{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  position: relative;
}

.podcast-player::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(214,195,165,.18), transparent 70%);
  transform: rotate(18deg);
  opacity: .9;
  pointer-events:none;
}

.podcast-player iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.podcast-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}

.podcast-now{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.podcast-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  letter-spacing: .2px;
}

.podcast-title{
  font-weight: 850;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-yt{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  color: rgba(214,195,165,.92);
  border: 1px solid rgba(214,195,165,.28);
  background: rgba(214,195,165,.08);
  padding: 9px 12px;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.podcast-yt:hover{
  transform: translateY(-1px);
  background: rgba(214,195,165,.12);
  border-color: rgba(214,195,165,.38);
}

/* list */
.podcast-list{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-item{
  width:100%;
  text-align:left;
  border-radius: 22px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.podcast-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(214,195,165,.26);
}

.podcast-item.is-active{
  border-color: rgba(214,195,165,.42);
  background: rgba(214,195,165,.10);
}

.podcast-item-top{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

.podcast-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(214,195,165,.14);
  flex: 0 0 auto;
}

.podcast-ep{
  font-weight: 850;
  letter-spacing: -0.2px;
  color: rgba(255,255,255,.70);
}

.podcast-time{
  margin-left: auto;
  color: rgba(255,255,255,.70);
  font-family: "Figtree", sans-serif;
  font-size: 12px;
}

.podcast-item-title{
  font-weight: 850;
  letter-spacing: -0.2px;
  line-height: 1.25;
  font-size: 15px;
  margin-bottom: 8px;
color: rgba(255,255,255,.70);
}

.podcast-item-desc{
  color: rgba(255,255,255,.74);
  font-family: "Figtree", sans-serif;
  line-height: 1.55;
  font-size: 13px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* responsive */
@media (max-width: 980px){
  .podcast-head{ text-align:left; }
  .podcast-head p{ margin: 0; }
  .podcast-layout{ grid-template-columns: 1fr; }
  /* pe mobil: player sus, listă jos (natural) */
  .podcast-layout--player-right .podcast-player{ grid-column: auto; }
  .podcast-layout--player-right .podcast-list{ grid-column: auto; }
}




















/* =========================
   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%;
  }
}
