/* ==========================================================================
   INCLUDIUMM HR — Design System
   Sistem unic de stiluri pentru întregul site.
   Culori de brand, tipografie, componente, layout responsive (mobil/tabletă/desktop).
   ========================================================================== */

:root {
  /* Brand INCLUDIUMM HR */
  --c-primary: #376bb6;      /* albastru primar — încredere, HR */
  --c-primary-dark: #2c5494; /* albastru închis */
  --c-primary-light: #5c8ed6;
  --c-accent: #4bba76;       /* verde — CTA, evidențiere, comunitate */
  --c-accent-dark: #3a9d60;

  /* Neutre */
  --c-ink: #333330;          /* grafit — text */
  --c-body: #4a4a45;
  --c-muted: #7a7a72;
  --c-line: #e7e6df;
  --c-bg: #ffffff;
  --c-bg-soft: #fafaf7;      /* hârtie — fundal */
  --c-bg-tint: #eef3fb;      /* tentă albastră */
  --c-white: #ffffff;

  /* Stare */
  --c-success: #1a8f4c;
  --c-danger: #c0392b;
  --c-info: #1565c0;

  /* Tipografie */
  --font-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.6rem;
  --fs-4xl: 3.4rem;

  /* Spațiere & formă */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(44, 84, 148, .08);
  --shadow: 0 8px 30px rgba(44, 84, 148, .10);
  --shadow-lg: 0 20px 60px rgba(44, 84, 148, .16);
  --container: 1160px;
  --transition: .2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--fs-4xl); letter-spacing: -.02em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -.01em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
small { font-size: var(--fs-sm); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: var(--c-bg-tint); }
.section--ink { background: var(--c-primary-dark); color: #dbe6f5; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: var(--fs-xs); font-weight: 700; color: var(--c-primary-light);
  margin-bottom: .75rem;
}
.section--ink .eyebrow { color: var(--c-accent); }
.lead { font-size: var(--fs-lg); color: var(--c-muted); }
.section--ink .lead { color: #c2d3ec; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; font-size: var(--fs-base); font-weight: 600;
  border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-align: center; line-height: 1.2;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--c-accent); color: #333330; }
.btn--accent:hover { background: var(--c-accent-dark); color: #333330; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary-dark); }
.btn--light:hover { background: var(--c-bg-soft); color: var(--c-primary-dark); transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: var(--fs-sm); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--c-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--c-ink); font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
/* Wordmark: „includiumm" albastru + „HR" verde */
.brand > span { color: var(--c-primary); }
.brand__hr { color: var(--c-accent); }
.brand__sub { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin-top: -3px; }
.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: .55rem .8rem; border-radius: var(--radius-sm); color: var(--c-body); font-size: var(--fs-sm); font-weight: 600; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--c-primary); background: var(--c-bg-tint); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__mobile-extra { display: none; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); margin: 5px 0; transition: var(--transition); }

/* Hero */
.hero { position: relative; padding: 84px 0 72px; background: linear-gradient(160deg, #eef3fb 0%, #ffffff 60%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; color: var(--c-muted); font-size: var(--fs-sm); }
.hero__trust b { color: var(--c-ink); font-size: var(--fs-xl); display: block; }
.hero__card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; }
.hero__card h3 { display: flex; align-items: center; gap: .5rem; }
.hero__card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.hero__card li { display: flex; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.hero__card li:last-child { border-bottom: 0; }
.hero__card .tick { color: var(--c-success); flex: none; font-weight: 700; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: #fff; font-size: 1.5rem;
}
.card__icon svg { width: 26px; height: 26px; stroke-width: 2; }
/* Iconițe inline (în titluri, liste, etichete) */
.ico-in { width: 1em; height: 1em; vertical-align: -0.14em; display: inline-block; stroke-width: 2; flex: none; }
.eyebrow .ico-in { vertical-align: -0.12em; margin-right: .15em; }
.card h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.card p { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: .75rem; }
.card__link { font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .3rem; }

/* Pricing / packages */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.plan--featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow-lg); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-accent); color: #333330; font-size: var(--fs-xs); font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-size: var(--fs-lg); font-weight: 700; color: var(--c-ink); }
.plan__for { font-size: var(--fs-xs); color: var(--c-muted); margin: .25rem 0 1rem; min-height: 2.4em; }
.plan__price { font-size: 2.2rem; font-weight: 800; color: var(--c-ink); line-height: 1; }
.plan__price small { font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); }
.plan__period { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 1rem; }
.plan__features { list-style: none; padding: 0; margin: 1rem 0; flex: 1; }
.plan__features li { display: flex; gap: .55rem; font-size: var(--fs-sm); padding: .35rem 0; }
.plan__features .tick { color: var(--c-success); flex: none; font-weight: 700; }
.plan__features .cross { color: #cdd0d6; flex: none; }
.plan__actions { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}
.step h3 { font-size: var(--fs-base); }
.step p { font-size: var(--fs-sm); color: var(--c-muted); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); }
.field .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: var(--fs-sm);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; color: var(--c-ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(18,138,148,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field--check input { width: auto; margin-top: .25rem; flex: none; }
.field--check label { font-weight: 400; font-size: var(--fs-xs); color: var(--c-muted); }
.form__note { font-size: var(--fs-xs); color: var(--c-muted); }

/* Alerts / callouts */
.callout { border-left: 4px solid var(--c-primary); background: var(--c-bg-tint); padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.callout--warn { border-color: var(--c-accent); background: #eef7f1; }
.callout--info { border-color: var(--c-info); background: #eef4fc; }
.badge { display: inline-block; font-size: var(--fs-xs); font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--c-bg-tint); color: var(--c-primary); }
.badge--test { background: #eef7f1; color: var(--c-accent-dark); }

/* Page header */
.page-head { padding: 60px 0 40px; background: linear-gradient(160deg, #eef3fb, #fff); border-bottom: 1px solid var(--c-line); }
.breadcrumb { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--c-muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--c-line); }
table.data th { background: var(--c-bg-soft); font-weight: 700; color: var(--c-ink); }
table.data tr:last-child td { border-bottom: 0; }
table.data--compact { min-width: 0; }
table.data--compact th, table.data--compact td { padding: .55rem .6rem; font-size: 13px; }
table.data--compact .btn--sm { padding: .3rem .55rem; font-size: 12.5px; }
table.data--compact select { font-size: 13px; padding: .25rem .3rem; max-width: 112px; }
.cel-sub { display: block; color: var(--c-muted); font-size: 12px; }

/* ==========================================================================
   Portal — meniul lateral (Varianta A, închisă) + bara de sus
   ========================================================================== */
body.portal-app { padding-left: 246px; background: #f4f6f9; }
body.portal-app .site-header { display: none; }
.psb { position: fixed; top: 0; left: 0; bottom: 0; width: 246px; z-index: 80;
  overflow-y: auto; padding: 18px 14px 26px;
  background: linear-gradient(180deg, #24406e, #1d3357); }
.psb__brand { padding: 4px 10px 14px; }
.psb__brand a { color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: .01em; }
.psb__brand a span { color: #7fd4a1; }
.psb__brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #b9c8e2; margin-top: 2px; }
.psb__grup { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b9c8e2; padding: 14px 10px 4px; }
.psb__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 2px 0;
  border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; color: #d7e1f2; }
.psb__item svg { width: 17px; height: 17px; flex-shrink: 0; }
.psb__item:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.psb__item.activ { background: #fff; color: #24406e; }
.psb__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psb__badge { margin-left: auto; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px; background: #7fd4a1; color: #12341f; }
.pbar { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; gap: 12px;
  background: #fff; border-bottom: 1px solid #e3e7ee; padding: 10px 22px; }
.pbar__cine { font-weight: 700; margin-right: auto; }
.pbar__burger { display: none; border: 0; background: none; font-size: 21px; color: #24406e; cursor: pointer; padding: 2px 6px; }
.pbar__out { border: 1.5px solid #2c5494; color: #2c5494; background: #fff; border-radius: 9px;
  padding: 6px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.pbar__out:hover { background: #e5edf8; }
body.portal-app .push-enable { left: 262px; }
@media (max-width: 920px) {
  body.portal-app { padding-left: 0; }
  body.portal-app .push-enable { left: 16px; }
  .psb { transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; }
  body.psb-deschis .psb { transform: none; box-shadow: 0 0 44px rgba(10, 20, 40, .45); }
  .pbar__burger { display: block; }
}
@media print {
  .psb, .pbar { display: none !important; }
  body.portal-app { padding-left: 0; background: #fff; }
}

/* FAQ */
.faq details { border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: .75rem; background: #fff; }
.faq summary { padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; color: var(--c-ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-primary); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1rem; color: var(--c-muted); font-size: var(--fs-sm); }

/* Cart (plata) */
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.cart-item__name { font-weight: 600; color: var(--c-ink); }
.cart-item__meta { font-size: var(--fs-xs); color: var(--c-muted); }
.cart-total { display: flex; justify-content: space-between; font-size: var(--fs-lg); font-weight: 700; color: var(--c-ink); padding-top: 1rem; }

/* Footer */
.site-footer { background: var(--c-primary-dark); color: #b9c9e2; padding: 56px 0 28px; font-size: var(--fs-sm); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #b9c9e2; }
.site-footer a:hover { color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .5rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #93a6c9; font-size: var(--fs-xs); }
.footer__brand p { color: #9fb2d4; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.text-muted { color: var(--c-muted); }
.stack > * + * { margin-top: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: var(--fs-xs); background: var(--c-bg-tint); color: var(--c-primary-dark); padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.25rem; max-width: var(--container); margin: 0 auto; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: var(--fs-sm); color: var(--c-body); }
.cookie-banner__actions { display: flex; gap: .6rem; flex: none; }
@media (max-width: 560px) { .cookie-banner__inner { flex-direction: column; align-items: stretch; } .cookie-banner__actions { justify-content: stretch; } .cookie-banner__actions .btn { flex: 1; } }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-primary); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  :root { --fs-4xl: 2.6rem; --fs-3xl: 2.1rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform var(--transition); z-index: 90;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .85rem 1rem; border-radius: var(--radius-sm); }
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
  .nav__mobile-extra { display: block; border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 6px; }
  .nav__mobile-extra + .nav__mobile-extra { border-top: 0; margin-top: 0; padding-top: 0; }
  .nav__mobile-extra a { color: var(--c-primary); font-weight: 700; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4, .pricing, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 1rem; }
}

/* ==========================================================================
   PWA / WhatsApp / Notificări (adăugate pentru aplicația pe telefon)
   ========================================================================== */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366; color: #fff; padding: .7rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); font-weight: 700; font-size: var(--fs-sm);
}
.wa-fab:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }
.wa-fab span { line-height: 1; }
@media (max-width: 520px) { .wa-fab span { display: none; } .wa-fab { padding: .8rem; } }

.push-enable {
  position: fixed; left: 18px; bottom: 18px; z-index: 120; box-shadow: var(--shadow);
}

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px);
  background: var(--c-ink); color: #fff; padding: .85rem 1.2rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); z-index: 200; max-width: 90vw; font-size: var(--fs-sm);
  opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: auto;
}
.toast--in { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Asistent AI (chat pe site) + linkuri sociale
   ========================================================================== */
.ai-fab {
  position: fixed; right: 18px; bottom: 78px; z-index: 121;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--c-primary); color: #fff; padding: .65rem 1rem; border-radius: 999px;
  border: 0; cursor: pointer; box-shadow: 0 8px 24px rgba(44,84,148,.28); font-weight: 700; font-size: var(--fs-sm);
}
.ai-fab:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.ai-fab--hidden { display: none; }
@media (max-width: 520px) { .ai-fab span { display: none; } .ai-fab { padding: .5rem; bottom: 74px; } }
.ai-fab__av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
/* Antet Jobi cu avatar */
.ai-head__id { display: flex; align-items: center; gap: .55rem; }
.ai-head__av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.ai-head__txt { display: flex; flex-direction: column; line-height: 1.15; }
.ai-head__txt strong { font-size: .95rem; }
.ai-head__txt span { font-size: .7rem; opacity: .88; }
/* Avatar lângă mesajele lui Jobi */
.ai-msg--bot { position: relative; margin-left: 36px; }
.ai-msg--bot::before {
  content: ""; position: absolute; left: -36px; top: 0; width: 28px; height: 28px;
  border-radius: 50%; background: url("/assets/img/jobi-avatar.png") center/cover, #fff;
  border: 1px solid var(--c-line);
}

.ai-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 122; width: 340px; max-width: calc(100vw - 36px);
  height: 460px; max-height: calc(100vh - 36px); background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden;
}
.ai-panel.open { display: flex; }
.ai-panel__head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--c-primary); color: #fff; }
.ai-panel__close { background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; background: var(--c-bg-soft); }
.ai-msg { padding: .55rem .8rem; border-radius: 12px; font-size: var(--fs-sm); max-width: 85%; white-space: pre-wrap; line-height: 1.5; }
.ai-msg--user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 3px; }
.ai-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); border-bottom-left-radius: 3px; }
.ai-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--c-line); }
.ai-input { flex: 1; padding: .6rem .75rem; border: 1px solid var(--c-line); border-radius: var(--radius-sm); font: inherit; font-size: var(--fs-sm); }
.ai-input:focus { outline: none; border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(18,138,148,.15); }
.ai-note { font-size: var(--fs-xs); color: var(--c-muted); text-align: center; margin: 0; padding: 0 .7rem .6rem; }

.social-links { display: inline-flex; gap: .35rem; flex-wrap: wrap; }
.social-links a { color: #b9c9e2; }
.social-links a:hover { color: #fff; }

/* ==========================================================================
   Grupul INCLUDIUMM — structură de grup + galerie foto/video
   ========================================================================== */
.group-umbrella {
  text-align: center; max-width: 620px; margin: 0 auto 2rem;
  padding: 1.4rem 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; box-shadow: var(--shadow);
}
.group-umbrella .eyebrow { color: rgba(255,255,255,.85); }
.group-umbrella h3 { color: #fff; margin: .2rem 0 .3rem; font-size: var(--fs-xl); }
.group-umbrella p { color: rgba(255,255,255,.9); margin: 0; font-size: var(--fs-sm); }
.group-card { text-align: center; }
.group-card .group-card__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c-primary); background: var(--c-bg-tint);
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.group-card h3 { margin: .1rem 0 .4rem; font-size: var(--fs-lg); }

/* Galerie foto/video */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--c-bg-tint); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3;
}
.gallery__item img, .gallery__item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem;
  font-size: var(--fs-xs); color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.gallery__item--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--c-primary-light); background: var(--c-bg-soft); color: var(--c-muted);
  font-size: var(--fs-sm); padding: 1rem;
}
@media (max-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimoniale
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testimonial__stars { color: #f5a623; letter-spacing: .1em; font-size: var(--fs-sm); margin-bottom: .6rem; }
.testimonial__quote { font-size: var(--fs-base); color: var(--c-ink); font-style: italic; margin: 0 0 1rem; flex: 1; }
.testimonial__quote::before { content: "\201C"; color: var(--c-primary-light); font-size: 2rem; line-height: 0; vertical-align: -.3em; margin-right: .1em; }
.testimonial__author { display: flex; align-items: center; gap: .7rem; }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
}
.testimonial__name { font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); line-height: 1.2; }
.testimonial__role { color: var(--c-muted); font-size: var(--fs-xs); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* Hartă Google (locație) */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); line-height: 0; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Grupuri de pachete cursuri — nr. coloane pe desktop (mobil/tabletă rămân responsive) */
@media (min-width: 961px) {
  .pricing--3 { grid-template-columns: repeat(3, 1fr); }
  .pricing--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
  .pricing--1 { grid-template-columns: minmax(0, 400px); justify-content: center; }
}
.plan__note { font-size: var(--fs-xs); color: var(--c-muted); text-align: center; margin: .45rem 0 0; }
.plan__value { font-size: var(--fs-xs); color: var(--c-muted); margin: .2rem 0 1rem; }
.plan__auth { font-size: var(--fs-xs); color: var(--c-primary); background: var(--c-bg-tint); border-radius: var(--radius-sm); padding: .5rem .7rem; margin-top: .6rem; }
.course-group + .course-group { margin-top: 2.5rem; }
.plan__hint { font-size: var(--fs-xs); color: var(--c-body); background: #eef7f1; border-radius: var(--radius-sm); padding: .55rem .7rem; margin-top: .4rem; }
.card__link--soon { color: var(--c-muted); font-weight: 600; cursor: default; }
.card__link--soon::after { content: " ·"; }

/* Siglele obligatorii ANPC (SAL) și UE (SOL) din subsol. */
.footer__anpc { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin-top: 28px; }
.footer__anpc img { height: 48px; width: auto; display: block; border-radius: 8px; opacity: .92; transition: opacity .2s; }
.footer__anpc a:hover img { opacity: 1; }

/* Descrierea anunțurilor de job: secțiuni + liste cu bife + scurtare elegantă. */
.jd { position: relative; font-size: var(--fs-sm); line-height: 1.6; }
.jd p { margin: 6px 0; }
.jd-h { display: block; margin: 12px 0 4px; color: var(--c-primary); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .04em; }
.jd-l { list-style: none; margin: 4px 0 8px; padding: 0; }
.jd-l li { position: relative; padding-left: 20px; margin: 4px 0; }
.jd-l li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--c-accent); font-weight: 700; }
.jd--scurt { max-height: 240px; overflow: hidden; }
.jd--scurt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.jd-toggle { background: none; border: none; padding: 6px 0 10px; font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--c-primary); cursor: pointer; text-align: left; }
.jd-toggle:hover { text-decoration: underline; }
