/* ============================================================================
   VMWEB - SISTEM DE DESIGN
   Nu este nevoie să editezi acest fișier pentru a schimba conținutul.
   Culorile de brand și spațierile sunt definite în :root, mai jos.
============================================================================ */

/* ============================================================================
   FONTURI AUTO-GĂZDUITE (self-hosted)
   Inter (400/500/600) și Sora (500/600/700/800), subseturile latin + latin-ext
   (latin-ext acoperă diacriticele românești: ă ș ț). Fișierele sunt în
   assets/fonts/. Sunt fonturi variabile, deci grosimile reutilizează același
   fișier. Căile url() sunt relative la acest fișier (assets/css/), deci
   funcționează corect din orice pagină, indiferent de adâncime.
============================================================================ */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Culori de brand (extrase din logo) */
  --c-coral:    #EF555F;
  --c-orange:   #F57B57;
  --c-coral-2:  #EE6063;
  --grad-brand: linear-gradient(135deg, #EF555F 0%, #F57B57 100%);
  --grad-soft:  linear-gradient(135deg, rgba(239,85,95,.12), rgba(245,123,87,.12));

  /* Neutre */
  --ink:        #1d1d1f;
  --ink-soft:   #4b4b52;
  --muted:      #7a7a82;
  --line:       #e9e7e4;
  --bg:         #ffffff;
  --bg-alt:     #faf8f6;
  --bg-dark:    #1b1b1f;

  /* Sistem */
  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -20px rgba(40, 30, 28, .22);
  --shadow-sm:  0 8px 24px -12px rgba(40, 30, 28, .18);
  --container:  1180px;
  --ease:       cubic-bezier(.22, 1, .36, 1);

  /* Spațiere verticală UNICĂ folosită identic la toate secțiunile */
  --space-section: clamp(60px, 7vw, 96px);

  --font-head:  "Sora", system-ui, sans-serif;
  --font-body:  "Inter", system-ui, sans-serif;
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------- TIPOGRAFIE ----------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); font-weight: 700; }

/* Echilibrarea rândurilor pentru a evita un singur cuvânt orfan pe ultimul rând.
   Se aplică în toate secțiunile și se recalculează automat pe orice device. */
h1, h2, h3, h4, .section-sub, .eyebrow { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Fraza colorată trece pe propriul ei rând, peste tot, pentru consistență */
.hero-title .grad-text,
.section-title .grad-text { display: block; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-coral); margin-bottom: 16px;
}
.eyebrow-light { color: #ffb4a3; }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.section-sub { color: var(--ink-soft); max-width: 620px; margin: 18px auto 0; font-size: 1.06rem; }

/* ----------------------------- BUTOANE ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(239, 85, 95, .65); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(239, 85, 95, .75); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--c-coral); color: var(--c-coral); transform: translateY(-3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--c-coral); margin-top: 8px; transition: gap .25s var(--ease); }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: 12px; }

/* ----------------------------- HEADER (bară plutitoare, transparentă, blurată) ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: 18px;
  background: transparent;
  transition: padding-top .35s var(--ease);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 14px 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 10px 30px -18px rgba(40, 30, 28, .18);
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.site-header.scrolled { padding-top: 10px; }
.site-header.scrolled .header-bar {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 38px -18px rgba(40, 30, 28, .32);
}
.brand-logo { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .25s; }
.main-nav a:hover { color: var(--ink); }
.nav-cta { color: #fff !important; padding: 10px 24px; }
.nav-cta:hover { transform: translateY(-2px); }

/* Comutator de limbă (RO / EN) - după butonul Contact din nav */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  color: var(--ink-soft) !important; line-height: 1; white-space: nowrap;
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.lang-switch:hover { border-color: var(--c-coral); color: var(--ink) !important; transform: translateY(-2px); }
.lang-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.lang-switch-ico { width: 13px; height: 13px; opacity: .65; flex: none; }

/* Dropdown „Portofoliu" */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; min-width: 210px;
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 14px; padding: 8px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 120;
}
/* punte invizibilă peste gap, ca să nu se piardă hover-ul */
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  padding: 9px 12px; border-radius: 9px; white-space: nowrap;
  font-size: .92rem; color: var(--ink-soft);
}
.nav-dropdown-menu a:hover { background: rgba(239, 85, 95, .08); color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- HERO ----------------------------- */
.hero { position: relative; padding: var(--space-section) 0 0; }
.hero-glow {
  position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 1100px; max-width: 160%;
  background: radial-gradient(circle, rgba(245, 123, 87, .16), rgba(239, 85, 95, .06) 48%, transparent 74%);
  filter: blur(70px); z-index: -1; pointer-events: none;
}
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-title { font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 660px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* COUNTERE */
.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); margin-top: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* BANDĂ PARTENERI (logo-uri în mișcare continuă) */
.logo-marquee {
  margin-top: var(--space-section);
  position: relative; overflow: hidden;
  /* topire la margini, ca logo-urile să apară/dispară lin */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-track { display: flex; width: max-content; animation: logo-scroll 55s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; align-items: center; flex: none; gap: clamp(44px, 5vw, 72px); padding-left: clamp(44px, 5vw, 72px); }
.logo-group img {
  flex: none; height: 30px; width: auto;
  opacity: .5; filter: grayscale(100%);
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.logo-group img:hover { opacity: .95; filter: grayscale(0%); }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------------- SECȚIUNI GENERICE ----------------------------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.section-cta { text-align: center; margin-top: clamp(36px, 4.5vw, 56px); }

/* ----------------------------- DESPRE ----------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-values { display: grid; gap: 16px; }
.value-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: .98rem; }

/* ----------------------------- CARDURI SERVICII ----------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
/* Linkul stă mereu jos, deci butoanele se aliniază chiar dacă textul diferă. */
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-coral); margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 18px; }

/* ----------------------------- PAGINA SERVICII (listă carduri) ----------------------------- */
.services-list { max-width: 820px; margin: 0 auto; display: grid; gap: 20px; }
.service-detail {
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: clamp(22px, 3vw, 30px); scroll-margin-top: 96px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.service-detail:hover { border-color: rgba(239, 85, 95, .4); box-shadow: var(--shadow-sm); }
.sd-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 26px); }
.sd-head .service-icon { flex: none; margin-bottom: 0; }
.sd-info { flex: 1; min-width: 0; }
.sd-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sd-desc { color: var(--ink-soft); font-size: .98rem; margin-bottom: 18px; }
.sd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-actions .btn { padding: 10px 22px; font-size: .92rem; }

/* ----------------------------- PAGINĂ SERVICIU (detaliu) ----------------------------- */
.svc-prose { max-width: 760px; margin: 0 auto; }
.svc-prose > p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.04rem; }
.svc-prose > p:last-child { margin-bottom: 0; }
.svc-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 8px 0 18px; }
.svc-prose h2:not(:first-child) { margin-top: 40px; }

.svc-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.svc-feature { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.svc-feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.svc-feature p { color: var(--ink-soft); font-size: .97rem; }

.svc-steps { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.svc-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.svc-step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-coral);
}
.svc-step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.svc-step p { color: var(--ink-soft); font-size: .98rem; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 0 22px; transition: border-color .3s var(--ease); }
.faq-item[open] { border-color: rgba(239, 85, 95, .4); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--c-coral);
  border-bottom: 2px solid var(--c-coral); transform: rotate(45deg); transition: transform .3s var(--ease); margin-bottom: 4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-bottom: 0; margin-top: 4px; }
.faq-item p { color: var(--ink-soft); font-size: .98rem; padding: 0 0 20px; margin-top: -2px; }

.svc-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.svc-cta h2 { margin-bottom: 14px; }
.svc-cta p { color: var(--ink-soft); margin-bottom: 26px; }
.svc-cta .hero-actions { justify-content: center; }

@media (max-width: 620px) {
  .svc-features { grid-template-columns: 1fr; }
}

/* ----------------------------- PORTOFOLIU ----------------------------- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft);
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--c-coral); color: var(--c-coral); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.portfolio-thumb { aspect-ratio: 760 / 528; overflow: hidden; }

/* Rândul de jos al cardului: tag-uri (stânga) + buton LIVE (dreapta jos, în chenar) */
.portfolio-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }

/* Buton LIVE - doar contur, fără fill, palpâie; duce la site-ul live */
.portfolio-live {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  color: var(--c-coral); background: transparent; border: 1.5px solid var(--c-coral);
  padding: 5px 13px; border-radius: 999px;
  animation: live-blink 1.7s ease-in-out infinite;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.portfolio-live:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); animation: none; }
.portfolio-live .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-coral); animation: live-dot 1.7s ease-in-out infinite; }
.portfolio-live:hover .live-dot { background: #fff; }
@keyframes live-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 85, 95, .5); }
  50%      { box-shadow: 0 0 0 6px rgba(239, 85, 95, 0); }
}
@keyframes live-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.6); }
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-body { padding: 22px 24px; }
.portfolio-cat { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-coral); }
.portfolio-body h3 { font-size: 1.18rem; margin: 0; }
.portfolio-body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-tags span { font-size: .76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
.is-hidden { display: none !important; }
.portfolio-empty { text-align: center; color: var(--muted); padding: clamp(30px, 5vw, 56px) 0; font-size: 1.02rem; }
.portfolio-empty[hidden] { display: none; }

/* ----------------------------- PROCES (DARK) ----------------------------- */
.section-dark { background: var(--bg-dark); color: #f3f1ee; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 123, 87, .22), transparent 65%); filter: blur(10px);
}
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: #b9b6b2; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; position: relative; z-index: 1; }
.process-step {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm); padding: 26px 22px; transition: transform .35s var(--ease), background .35s;
}
.process-step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.process-step h3 { color: #fff; font-size: 1.06rem; margin: 14px 0 8px; }
.process-step p { color: #b9b6b2; font-size: .92rem; min-height: calc(.92rem * 1.65 * 4); }

/* ----------------------------- TESTIMONIALE ----------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; position: relative; display: flex; flex-direction: column; height: 100%; }
.testimonial-card::before { content: "\201C"; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--c-orange); opacity: .3; position: absolute; top: 14px; right: 26px; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card p { color: var(--ink-soft); font-size: 1.04rem; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testimonial-author strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.testimonial-author span { color: var(--muted); font-size: .88rem; }

/* ----------------------------- CONTACT ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-text { position: sticky; top: 108px; align-self: start; }
.contact-text p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-info { display: grid; gap: 12px; }
.contact-info li { color: var(--ink-soft); }
.contact-info a { color: var(--ink); font-weight: 500; }
.contact-info a:hover { color: var(--c-coral); }
.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
/* Câmp-capcană anti-spam (honeypot): ascuns de oameni, completat doar de boți. */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; margin-bottom: 8px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--c-coral); box-shadow: 0 0 0 4px rgba(239, 85, 95, .12); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted); opacity: .55; }

/* Checkbox consimțământ GDPR */
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 4px; cursor: pointer; }
.form-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-coral); cursor: pointer; }
.form-consent span { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.form-consent a { color: var(--c-coral); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--c-coral-2); }
.form-note { margin-top: 14px; font-size: .92rem; min-height: 1.2em; }
.form-note.ok { color: #1c9d6b; }
.form-note.err { color: var(--c-coral); }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--bg-dark); color: #cfccc8; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { height: 34px; margin-bottom: 16px; }
.footer-brand p { color: #9b9893; font-size: .96rem; max-width: 320px; }
.footer-sal { display: inline-block; margin-top: 22px; border-radius: 10px; transition: transform .3s var(--ease), opacity .3s; }
.footer-sal img { height: 58px; width: auto; border-radius: 8px; }
.footer-sal:hover { transform: translateY(-2px); opacity: .9; }
.footer-col h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #9b9893; font-size: .94rem; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #cfccc8;
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease);
}
.footer-social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.footer-bottom p { color: #807d79; font-size: .86rem; }

/* ----------------------------- PAGINI LEGALE ----------------------------- */
.legal-hero { position: relative; text-align: center; padding: var(--space-section) 0 0; }
.legal-hero .container { position: relative; z-index: 1; }
/* Glow dedicat, mai discret și complet stins înainte de marginea secțiunii,
   ca să nu apară nicio linie dură (secțiunea e mai scurtă decât hero-ul homepage). */
.legal-hero .hero-glow {
  top: 50%; transform: translate(-50%, -50%);
  width: 1500px; height: 760px; max-width: 150%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(245, 123, 87, .14), rgba(239, 85, 95, .05) 42%, transparent 72%);
  filter: blur(60px);
}
.legal-title { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
.legal-meta { color: var(--muted); margin-top: 14px; font-size: .98rem; }
.legal-hero .hero-actions { margin-top: clamp(28px, 3.5vw, 38px); }
.legal-body { padding: var(--space-section) 0 var(--space-section); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content > section { margin-bottom: 38px; }
.legal-content > section:last-child { margin-bottom: 0; }
.legal-content h2 {
  font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px;
  padding-left: 16px; position: relative;
}
.legal-content h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px;
  border-radius: 4px; background: var(--grad-brand);
}
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { display: grid; gap: 10px; margin: 4px 0 16px; }
.legal-content li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.legal-content li::before { content: ""; position: absolute; left: 4px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }
.legal-content a { color: var(--c-coral); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-content a:hover { color: var(--c-coral-2); }

.legal-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin: 8px 0 18px;
}
.legal-card dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 24px; margin: 0; }
.legal-card dt { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.legal-card dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table th { font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: #fff; }
.legal-table td { color: var(--ink-soft); }

@media (max-width: 560px) {
  .legal-card dl { grid-template-columns: 1fr; gap: 4px; }
  .legal-card dt { margin-top: 8px; }
}

/* ----------------------------- PAGINĂ CONTACT ----------------------------- */
.contact-page-body { padding: var(--space-section) 0; }
.contact-wrap { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(24px, 3.5vw, 44px); align-items: start; }

.contact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-sm);
}
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.contact-form-grid .form-row-full { grid-column: 1 / -1; }
.contact-card .btn { margin-top: 6px; }

.contact-aside { display: grid; gap: 20px; }
.contact-details {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: grid; gap: 18px;
}
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail .ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-coral);
}
.contact-detail .ico svg { width: 20px; height: 20px; }
.contact-detail .info { display: grid; gap: 2px; }
.contact-detail .info span { font-family: var(--font-head); font-size: .8rem; color: var(--muted); }
.contact-detail .info a, .contact-detail .info p { color: var(--ink); font-weight: 500; font-size: .98rem; }
.contact-detail .info a:hover { color: var(--c-coral); }

.contact-socials { display: flex; gap: 12px; align-items: center; padding-top: 2px; }
.contact-socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease), border-color .25s;
}
.contact-socials a:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); }
.contact-socials svg { width: 18px; height: 18px; }

.contact-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.contact-map iframe { display: block; width: 100%; height: 240px; border: 0; }
.contact-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; flex-wrap: wrap; }
.contact-map-foot p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.contact-map-foot a { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--c-coral); white-space: nowrap; }
.contact-map-foot a:hover { color: var(--c-coral-2); }

@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}

/* ----------------------------- PAGINĂ DESPRE NOI ----------------------------- */
/* Intro / poveste */
.about-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.about-intro p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; }

/* Carduri de valori (grilă responsivă) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 60px); }
.value-card .value-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-coral); margin-bottom: 18px;
}
.value-card .value-ico svg { width: 26px; height: 26px; }

/* Traseu / timeline */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline-item { position: relative; padding: 0 0 40px 110px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 71px; top: 10px; bottom: -6px; width: 2px; background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-item::after {
  content: ""; position: absolute; left: 64px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 5px rgba(239, 85, 95, .14);
}
.timeline-year {
  position: absolute; left: 0; top: -2px; width: 54px; text-align: right;
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; line-height: 1.2;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.timeline-item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* Echipă - carduri */
.team-list { max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
.team-member {
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: clamp(20px, 3vw, 28px); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.team-member:hover { border-color: rgba(239, 85, 95, .4); box-shadow: var(--shadow-sm); }
.tm-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 28px); }
.tm-photo { flex: none; width: 104px; height: 104px; border-radius: var(--radius-sm); object-fit: cover; }
.tm-info { flex: 1; min-width: 0; }
.tm-info .tm-role { margin-bottom: 4px; }
.tm-info h3 { font-size: 1.32rem; margin-bottom: 8px; }
.tm-teaser { color: var(--ink-soft); font-size: .98rem; margin-bottom: 16px; }
.tm-toggle { padding: 10px 22px; font-size: .92rem; }
.tm-arrow { display: inline-block; transition: transform .3s var(--ease); }
.tm-toggle[aria-expanded="true"] .tm-arrow { transform: rotate(90deg); }
.tm-detail { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tm-detail p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 14px; }
.tm-detail p:last-of-type { margin-bottom: 0; }
.team-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.team-skills span {
  font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px;
}

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .tm-head { flex-direction: column; text-align: center; gap: 16px; }
  .tm-photo { width: 84px; height: 84px; }
  .team-skills { justify-content: center; }
}

/* ----------------------------- PAGINĂ PROIECT (STUDIU DE CAZ) ----------------------------- */
.case-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.case-figure {
  max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.case-figure img { width: 100%; display: block; }

/* Secțiunea de caz: aceeași spațiere între butoane→imagine, imagine→detalii și detalii→text */
.case-section { padding-top: clamp(44px, 5vw, 64px); }
.case-meta {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 5vw, 60px); justify-content: center;
  padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: clamp(44px, 5vw, 64px) 0;
}
.case-meta dt { font-family: var(--font-head); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; text-align: center; }
.case-meta dd { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0; text-align: center; }
.case-meta a { color: var(--c-coral); }
.case-meta a:hover { color: var(--c-coral-2); }

/* ----------------------------- HUB PORTOFOLIU (2 categorii) ----------------------------- */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hub-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 42px 38px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.hub-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--grad-brand); color: #fff; }
.hub-icon svg { width: 28px; height: 28px; }
.hub-card h2 { font-size: 1.55rem; }
.hub-card p { color: var(--ink-soft); }
.hub-card .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .hub-grid { grid-template-columns: 1fr; } }

/* ----------------------------- GALERIE DESIGN & BRANDING + LIGHTBOX ----------------------------- */
/* Galeria refolosește cardul de portofoliu (.portfolio-card), dar cu butoane
   în loc de linkuri - ambele (imaginea și „Vezi") deschid lightbox-ul. */
button.portfolio-thumb { display: block; width: 100%; padding: 0; border: none; background: none; cursor: pointer; }
button.portfolio-more { padding: 0; border: none; background: none; cursor: pointer; }
button.portfolio-more:hover { gap: 10px; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(20, 16, 15, .82);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; gap: 12px; }
.lb-img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.lb-cap { text-align: center; color: #fff; font-family: var(--font-head); font-weight: 600; }
.lb-close, .lb-nav { border: none; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.9rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 600px) {
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 12px; }
}

/* ----------------------------- BLOG ----------------------------- */
.blog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 46px; align-items: start; }
.blog-sidebar { position: sticky; top: 100px; }
.blog-sidebar-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; }
.blog-filters { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.blog-filter { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.blog-filter:hover { color: var(--ink); }
.blog-filter input { width: 18px; height: 18px; accent-color: var(--c-coral); cursor: pointer; flex: none; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.blog-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #ffffff, #f7ede9); display: grid; place-items: center; overflow: hidden; }
.blog-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-logo { width: 44%; max-width: 150px; opacity: .5; }
.blog-card-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px 24px; flex: 1; }
.blog-card-body h3 { font-size: 1.12rem; line-height: 1.35; margin: 0; transition: color .25s; }
.blog-card:hover .blog-card-body h3 { color: var(--c-coral); }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.blog-avatar { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.blog-meta strong { display: block; font-family: var(--font-head); font-size: .86rem; color: var(--ink); }
.blog-date { font-size: .82rem; color: var(--muted); }
.blog-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.blog-pagination[hidden] { display: none; }
.page-btn {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.page-btn:hover:not(:disabled):not(.active) { border-color: var(--c-coral); color: var(--c-coral); }
.page-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; cursor: default; }
.page-btn:disabled { opacity: .4; cursor: default; }
.page-arrow { font-size: 1.3rem; line-height: 1; }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 26px; }
  .blog-sidebar { position: static; }
  .blog-filters { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
}
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Pagina de articol */
.article-meta { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.article-meta img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.article-meta .am-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; line-height: 1.3; }
.article-meta .am-date { color: var(--muted); font-size: .9rem; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body > section:first-child h2 { margin-top: 0; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 14px; scroll-margin-top: 100px; }
.article-body p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.78; }
.article-back { max-width: 1040px; margin: 40px auto 0; }

/* Cuprins „În acest articol" (injectat de JS pe paginile de articol) */
html { scroll-behavior: smooth; }
.article-layout { display: grid; grid-template-columns: 244px 1fr; gap: 50px; align-items: start; max-width: 1040px; margin: 0 auto; }
.article-layout .article-body { max-width: 100%; margin: 0; }
.article-toc { position: sticky; top: 100px; }
.toc-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.toc-nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.toc-nav a { font-size: .9rem; color: var(--muted); line-height: 1.4; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc-nav a:hover { color: var(--ink); }
.toc-nav a.active { color: var(--c-coral); border-left-color: var(--c-coral); font-weight: 600; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .article-toc { position: static; }
}

.case-body { max-width: 760px; margin: 0 auto; }
.case-body section { margin-bottom: clamp(36px, 5vw, 52px); }
.case-body section:last-child { margin-bottom: 0; }
.case-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; margin-bottom: 16px; }
.case-body p { color: var(--ink-soft); margin-bottom: 16px; }
.case-body p:last-child { margin-bottom: 0; }

.case-do { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 6px; }
.case-do .value-card h3 { font-size: 1.06rem; }
@media (max-width: 620px) { .case-do { grid-template-columns: 1fr; } }

.case-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); }
.case-back::before { content: "\2190"; transition: transform .25s var(--ease); }
.case-back:hover { color: var(--c-coral); }
.case-back:hover::before { transform: translateX(-3px); }

/* Carduri portofoliu care duc la o pagină de proiect: imaginea și titlul devin linkuri */
a.portfolio-thumb { display: block; }
.pf-title { display: inline-block; }
.pf-title h3 { transition: color .25s; }
.portfolio-card:hover .pf-title h3 { color: var(--c-coral); }

/* Buton „Despre proiect" (înlocuiește tag-urile pe cardurile cu pagină de caz) */
.portfolio-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--c-coral);
  transition: gap .25s var(--ease);
}
.portfolio-more::after { content: "\2192"; transition: transform .25s var(--ease); }
a.portfolio-more:hover { gap: 10px; }
/* Placeholder pentru proiectele fără pagină de caz încă (neclicabil) */
span.portfolio-more { cursor: default; }

/* ----------------------------- ANIMAȚII REVEAL ----------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 980px) {
  .cards-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-text { position: static; top: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Meniul-drawer (hamburger) pe mobil ȘI tabletă, ca nav-ul desktop să nu se
   înghesuie/suprapună. Fundal ALB OPAC, ca să nu se mai vadă conținutul prin el. */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed; inset: 92px 16px auto 16px; flex-direction: column; align-items: stretch;
    background: #fff;
    padding: 14px 18px 18px; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); transform: translateY(-130%); opacity: 0;
    transition: transform .4s var(--ease), opacity .3s; z-index: 99;
    max-height: calc(100vh - 108px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.nav-cta):last-of-type { border-bottom: none; }
  .nav-cta { margin-top: 10px; text-align: center; border-bottom: none !important; }
  .lang-switch { margin-top: 14px; align-self: center; border-bottom: none !important; font-size: .92rem; padding: 9px 16px; }
  /* Dropdown pe mobil/tabletă: sublinkurile rămân vizibile, indentate */
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-dropdown-toggle { justify-content: space-between; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .nav-dropdown .nav-caret { transform: rotate(180deg); width: 15px; height: 15px; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    margin: 0; padding: 4px 0 4px 16px; min-width: 0; gap: 0;
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border: none; box-shadow: none; border-radius: 0;
  }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-menu a { padding: 11px 6px; font-size: 1rem; color: var(--muted); border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  .nav-dropdown-menu a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .sd-head { flex-direction: column; text-align: center; gap: 16px; }
  .sd-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .cards-grid, .portfolio-grid, .process-steps, .footer-inner { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ----------------------------- ACCESIBILITATE ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
