/*
Theme Name: Warp Dev
Theme URI: https://warp.md
Author: Adrian Bordeianu
Version: 6.0
Text Domain: warp
*/

/* ============================================================
   FONTS
   ============================================================ */

@font-face { font-family: 'League Gothic'; src: url('./inc/fonts/league-gothic/League-Gothic-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Bebas Neue Regular'; src: url('./inc/fonts/bebas-neue/BebasNeue-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Roboto'; font-style: normal;  font-weight: 400; src: url('./inc/fonts/roboto/Roboto-Regular.ttf')    format('truetype'); }
@font-face { font-family: 'Roboto'; font-style: italic;  font-weight: 400; src: url('./inc/fonts/roboto/Roboto-Italic.ttf')     format('truetype'); }
@font-face { font-family: 'Roboto'; font-style: normal;  font-weight: 700; src: url('./inc/fonts/roboto/Roboto-Bold.ttf')       format('truetype'); }
@font-face { font-family: 'Roboto'; font-style: normal;  font-weight: 300; src: url('./inc/fonts/roboto/Roboto-Light.ttf')      format('truetype'); }
@font-face { font-family: 'Roboto'; font-style: normal;  font-weight: 500; src: url('./inc/fonts/roboto/Roboto-Medium.ttf')     format('truetype'); }

/* ============================================================
   TOKENS — DARK MODE
   ============================================================ */

:root {
  --bg:       #0d0d0d;
  --bg-alt:   #111111;
  --bg-card:  #161616;
  --line:     rgba(240, 236, 230, 0.07);
  --text-1:   #f0ece6;
  --text-2:   rgba(240, 236, 230, 0.48);
  --text-3:   rgba(240, 236, 230, 0.24);
  --accent:   #c9a96e;
  --accent-dim: rgba(201, 169, 110, 0.14);

  --bebas: 'Bebas Neue Regular', Impact, 'Arial Narrow', sans-serif;
  --body:  'Roboto', -apple-system, sans-serif;

  --navbar-h: 58px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-pill: 9999px;
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* legacy aliases */
  --black-brand: #0d0d0d;
  --bebas-font: var(--bebas);
  --roboto-font: var(--body);
  --league-gothic: 'League Gothic', sans-serif;
  --logo-filter: none;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-bg-mid: rgba(255,255,255,0.07);
  --glass-bg-strong: rgba(255,255,255,0.10);
  --glass-blur: blur(20px);
  --glass-blur-md: blur(14px);
  --glass-border: rgba(255,255,255,0.08);
  --glass-specular: rgba(255,255,255,0.10);
  --glass-shadow: 0 4px 24px rgba(0,0,0,0.30);
  --glass-shadow-lifted: 0 8px 40px rgba(0,0,0,0.45);
}

/* ============================================================
   TOKENS — LIGHT MODE
   ============================================================ */

html[data-theme="light"] {
  --bg:       #f5f2ed;
  --bg-alt:   #edeae3;
  --bg-card:  #e8e5de;
  --line:     rgba(17, 16, 14, 0.09);
  --text-1:   #111010;
  --text-2:   rgba(17, 16, 14, 0.50);
  --text-3:   rgba(17, 16, 14, 0.28);
  --accent:   #b8923d;
  --accent-dim: rgba(184, 146, 61, 0.12);
  --logo-filter: brightness(0);
  --glass-bg: rgba(255,255,255,0.60);
  --glass-bg-mid: rgba(255,255,255,0.75);
  --glass-bg-strong: rgba(255,255,255,0.90);
  --glass-border: rgba(0,0,0,0.08);
  --glass-specular: rgba(255,255,255,0.95);
}

/* ============================================================
   THEME TRANSITION
   ============================================================ */

.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color 0.50s var(--smooth),
    color            0.50s var(--smooth),
    border-color     0.50s var(--smooth),
    opacity          0.50s var(--smooth) !important;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; }
::selection { color: #0d0d0d; background: var(--accent); }

/* ============================================================
   BODY
   ============================================================ */

body {
  font-family: var(--body);
  color: var(--text-1);
  background: var(--bg);
  margin: 0; padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   CONTAINERS
   ============================================================ */

.container-xl { max-width: 1500px; padding: 0 32px; margin: 0 auto; }
.container-md { max-width: 1350px; padding: 0 32px; margin: 0 auto; }
.container    { max-width: 1150px; padding: 0 32px; margin: 0 auto; }

/* ============================================================
   ████  NAVBAR
   ============================================================ */

.navbar-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
}

.navbar { min-height: var(--navbar-h); }

.menu {
  display: flex;
  align-items: center;
  min-height: var(--navbar-h);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

html[data-theme="light"] .menu {
  background: rgba(245,242,237,0.90);
}

.menu.scrolled {
  background: rgba(13,13,13,0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

html[data-theme="light"] .menu.scrolled {
  background: rgba(245,242,237,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Logo */
.logo-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: var(--navbar-h);
  padding: 0 20px 0 28px;
}

.logo { display: flex; align-items: center; height: 36px; max-width: 160px; }
.logo-link { display: inline-block; line-height: 0; }

.logo-img {
  height: 26px;
  width: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
}

/* Nav list */
.navbar-list-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--navbar-h);
}

.navbar-list {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 5px 16px;
  font-family: var(--body);
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: color 0.18s, background 0.18s;
}

.nav-link:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.06);
}

html[data-theme="light"] .nav-link:hover {
  background: rgba(0,0,0,0.05);
}

/* Controls */
.navbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 24px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, transform 0.2s var(--spring);
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.08) rotate(14deg);
}

.theme-toggle svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: var(--text-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.theme-toggle:hover svg { stroke: var(--accent); }

.icon-sun  { display: block; }
.icon-moon { display: none; }
html[data-theme="light"] .icon-sun  { display: none; }
html[data-theme="light"] .icon-moon { display: block; }

.navbar-icons { display: none; height: 25px; }

.navbar-menu-icon {
  height: 25px; width: 25px;
  cursor: pointer;
  display: none;
  filter: var(--logo-filter);
}

.mobile-navbar      { display: none; }
.mobile-navbar-list { display: none; }

/* ============================================================
   ████  HERO — Video Fullscreen
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d0d0d;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.55) 0%,
    rgba(13,13,13,0.60) 50%,
    rgba(13,13,13,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.90;
}

.hero-title {
  font-family: var(--bebas);
  font-size: clamp(4.5rem, 12vw, 12rem);
  letter-spacing: 0.02em;
  line-height: 0.90;
  color: #f0ece6;
  text-shadow: 0 4px 80px rgba(0,0,0,0.60);
}

.hero-cta {
  display: inline-block;
  padding: 12px 36px;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f0ece6;
  border: 1px solid rgba(240,236,230,0.28);
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s var(--spring);
}

.hero-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
  transform: translateY(-2px) scale(1.03);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(240,236,230,0.40), rgba(240,236,230,0));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ============================================================
   ████  SECTIONS — Layout system
   ============================================================ */

.section-wrap {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Section header: number + title side by side */
.section-label {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-num {
  font-family: var(--bebas);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--bebas);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--text-1);
  line-height: 1;
  font-weight: 400;
}

/* ============================================================
   ████  PORTOFOLIU — Grid galerie
   ============================================================ */

.portofoliu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}

.portofoliu-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

.portofoliu-card-link {
  display: block;
  width: 100%; height: 100%;
  position: relative;
}

.portofoliu-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.55s var(--smooth), filter 0.55s var(--smooth);
  filter: brightness(0.90);
}

.portofoliu-card:hover .portofoliu-img {
  transform: scale(1.10);
  filter: brightness(0.65);
}

.portofoliu-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top,
    rgba(13,13,13,0.88) 0%,
    rgba(13,13,13,0.10) 55%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.30s var(--smooth);
}

.portofoliu-card:hover .portofoliu-card-overlay { opacity: 1; }

.portofoliu-card-title {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  color: #f0ece6;
  transform: translateY(6px);
  transition: transform 0.28s var(--smooth);
}

.portofoliu-card:hover .portofoliu-card-title { transform: translateY(0); }

/* Mai mult */
.section-more {
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 11px 32px;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-1);
  border: 1px solid var(--line);
  transition: border-color 0.20s, background 0.20s, color 0.20s, transform 0.20s var(--spring);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ============================================================
   ████  SERVICII — Editorial cu numerotare
   ============================================================ */

.servicii-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.servicii-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.servicii-item:last-child {
  border-bottom: 1px solid var(--line);
}

.servicii-item-head {
  position: relative;
}

.servicii-watermark {
  display: block;
  font-family: var(--bebas);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--accent-dim);
  letter-spacing: 0.02em;
  user-select: none;
  margin-bottom: 12px;
}

.servicii-item-title {
  font-family: var(--bebas);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-1);
  line-height: 1.05;
}

.servicii-item-body { padding-top: 8px; }

.servicii-item-body ul { padding-left: 0; }

.servicii-item-body li {
  list-style: none;
  font-size: 0.90rem;
  color: var(--text-2);
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.servicii-item-body li:last-child { border-bottom: none; }

/* Legacy class support for service cards (service-dot used in header CSS) */
.servicii-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.servicii-card  { flex: 1; padding: 32px; border-radius: var(--r-md); border: 1px solid var(--line); }
.servicii-card h2 { font-family: var(--bebas); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--text-1); margin-bottom: 16px; }
.servicii-card ul { padding-left: 0; }
.servicii-card li { list-style: none; font-size: 0.88rem; color: var(--text-2); padding: 8px 0; border-bottom: 1px solid var(--line); }
.servicii-card li:last-child { border-bottom: none; }
.service-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); margin-bottom: 16px; }

/* ============================================================
   ████  PARTENERI — Strip logos
   ============================================================ */

.parteneri-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
}

.parteneri-item {
  display: flex;
  align-items: center;
}

.parteneri-item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.4);
  transition: filter 0.28s var(--smooth), transform 0.28s var(--smooth);
}

html[data-theme="light"] .parteneri-item img {
  filter: grayscale(1) brightness(0.6);
}

.parteneri-item img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.06);
}

/* ============================================================
   ████  DESPRE — Split layout
   ============================================================ */

.despre-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.despre-left {
  position: sticky;
  top: calc(var(--navbar-h) + 32px);
}

.despre-left .section-num {
  display: block;
  margin-bottom: 8px;
}

.despre-left .section-heading {
  margin: 0;
}

.despre-right p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 600px;
}

/* ============================================================
   ████  FOOTER
   ============================================================ */

.contacte-bg {
  background: #080808;
  position: relative;
}

html[data-theme="light"] .contacte-bg {
  background: #111111;
}

.contacte-container {
  padding: 56px 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.contact-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contacts p {
  margin: 4px 0;
  font-size: 0.84rem;
  color: rgba(240,236,230,0.32);
}

.contacts p a {
  color: rgba(240,236,230,0.55);
  text-decoration: none;
  transition: color 0.18s;
}

.contacts p a:hover { color: var(--accent); }

.social-media {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.20s, transform 0.20s var(--spring);
}

.social-media a:hover {
  border-color: var(--accent);
  transform: scale(1.10);
}

.social-media img {
  width: 16px; height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.2s;
}

.social-media a:hover img { opacity: 1; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(240,236,230,0.18);
  font-size: 0.72rem;
  padding: 14px 0 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  z-index: 1;
}

.contacte-bg .logo-img {
  filter: brightness(0) invert(1) !important;
  height: 22px;
}

/* ============================================================
   PAGE & SINGLE TEMPLATES
   ============================================================ */

.page-container {
  margin-top: calc(var(--navbar-h) + 50px);
  margin-bottom: 50px;
}

.menu-margin-top {
  margin-top: calc(var(--navbar-h) + 50px);
  margin-bottom: 50px;
}

.page-container h1, .page-container h2, .page-container h3,
.page-container h4, .page-container h5, .page-container h6 {
  font-family: var(--bebas);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--text-1);
  margin-bottom: 12px;
}

.page-container h2 { font-size: 2.5rem; }
.page-container p  { margin-bottom: 16px; color: var(--text-2); line-height: 1.75; }

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination { max-width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; }
.page-numbers { display: none; }

.prev.page-numbers, .next.page-numbers {
  text-decoration: none;
  color: var(--accent);
  padding: 9px 20px;
  display: inline-block;
  border-radius: var(--r-pill);
  width: 135px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.18s;
}

.prev.page-numbers:hover, .next.page-numbers:hover {
  background: var(--glass-bg-mid);
}

.next { margin-left: auto; }

/* ============================================================
   404
   ============================================================ */

.content-404 {
  text-align: center;
  margin-top: 160px;
  margin-bottom: 80px;
}

.main-heading-404 {
  margin-bottom: 32px;
  font-family: var(--bebas);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-1);
  line-height: 1;
}

.content-404 button {
  padding: 12px 32px;
  border-radius: var(--r-pill);
  outline: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-1);
  font-size: 0.84rem;
  font-weight: 500;
  font-family: var(--body);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s var(--spring);
}

.content-404 button:hover {
  border-color: var(--accent);
  transform: scale(1.04);
}

/* ============================================================
   PORTOFOLIU ARCHIVE & SINGLE
   ============================================================ */

.portofoliu-container-single { width: 100%; }

.portofoliu-image-single {
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.portofoliu-image-single img { width: 100%; object-fit: cover; aspect-ratio: 2/1; }

/* Archive cards reuse same portofoliu-cards grid */
.portofoliu-container { width: 100%; }

/* Legacy: portofoliu button from archive page */
.portofoliu-button {
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portofoliu-button img { height: 11px; width: auto; filter: brightness(0) invert(1); }
html[data-theme="light"] .portofoliu-button img { filter: brightness(0); }
.portofoliu-button a { display: flex; height: 14px; align-items: center; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.warp-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.70s var(--smooth),
    transform 0.70s cubic-bezier(0.34,1.2,0.64,1);
}

.warp-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */

@media screen and (max-width: 1200px) {
  .portofoliu-cards { grid-template-columns: repeat(2, 1fr); }
  .servicii-item    { grid-template-columns: 1fr; gap: 20px; }
  .despre-split     { grid-template-columns: 1fr; gap: 36px; }
  .despre-left      { position: static; }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */

@media screen and (max-width: 900px) {
  .section-wrap { padding: 72px 0; }
  .parteneri-strip { gap: 32px 48px; }
  .parteneri-item img { height: 32px; }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */

@media screen and (max-width: 640px) {
  .container-md, .container { padding: 0 20px; }
  .section-wrap { padding: 56px 0; }
  .section-label { margin-bottom: 36px; }

  .portofoliu-cards { grid-template-columns: 1fr; gap: 6px; }

  .parteneri-strip { gap: 24px 36px; }
  .parteneri-item img { height: 28px; max-width: 100px; }

  footer { flex-direction: column; text-align: center; gap: 4px; }
}

/* ============================================================
   RESPONSIVE — 500px (mobile)
   ============================================================ */

@media screen and (max-width: 500px) {
  :root { --navbar-h: 52px; }

  .hero { height: 100svh; }
  .hero-title { font-size: clamp(3rem, 14vw, 6rem); }

  .menu { justify-content: space-between; }
  .logo-container { flex: 1; padding-left: 18px; }
  .navbar-list-container { display: none; }
  .navbar-controls { padding-right: 16px; gap: 6px; }
  .navbar-menu-icon { display: block; }
  .logo { height: 28px; max-width: 130px; }
  .logo-img { height: 22px; }

  .mobile-navbar {
    display: none;
    z-index: 250;
    text-align: center;
  }

  .mobile-navbar-list {
    display: block;
    list-style: none;
    padding: 10px 0 16px;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  html[data-theme="light"] .mobile-navbar-list {
    background: rgba(245,242,237,0.98);
  }

  .mobile-navbar-list li { padding: 2px 16px; }
  .nav-link { padding: 8px 12px; font-size: 0.76rem; }

  .servicii-item { padding: 32px 0; }
  .servicii-watermark { font-size: clamp(3rem, 12vw, 5rem); }

  .section-heading { font-size: clamp(1.8rem, 7vw, 3rem); }
}

/* ============================================================
   TOUCH DEVICES
   ============================================================ */

@media (hover: none) {
  .portofoliu-card-overlay { opacity: 1; }
  .portofoliu-card-title   { transform: none; }
  .portofoliu-img          { transform: scale(1); filter: brightness(0.75); }
  .parteneri-item img      { filter: grayscale(1) brightness(0.55); }
}
