/* ============================================================================
   AVATECH — foaie de stil principală a temei
   Încărcată din _partials/head.php prin RELATIVE_PATH_APP_THEME.
   ============================================================================ */

    :root{
      --red:        #c0272e;   /* crimson principal (mâna din logo)        */
      --red-dark:   #8e1b27;   /* wine — hover / accente închise           */
      --red-tint:   #d83a47;   /* roșu aprins — accent (butoanele de pe site) */
      --charcoal:   #1f1f1f;
      --charcoal-2: #151515;
      --ink:        #1d1d1f;
      --muted:      #6b6b6b;
      --light:      #f6f5f4;
      --line:       #e7e5e3;
      --font-display:  'Space Grotesk', sans-serif;
      --font-body:     'Inter', sans-serif;
    }

    *{ scroll-behavior:smooth; }
    body{
      font-family:var(--font-body);
      color:var(--ink);
      line-height:1.7;
      overflow-x:hidden;
    }
    h1,h2,h3,h4,h5,.display-font{ font-family:var(--font-display); font-weight:700; letter-spacing:-.01em; }
    a{ text-decoration:none; }

    .text-red{ color:var(--red)!important; }
    .bg-red{ background:var(--red)!important; }

    /* brand wordmark (lowercase, subțire — ca în logo) */
    .wordmark{ font-family:var(--font-display); font-weight:300; letter-spacing:.04em; text-transform:lowercase; }

    /* ---------- Section rhythm (alb / roșu / dark) ---------- */
    .section{ padding:96px 0; position:relative; }
    .section--red{ background:var(--red); color:#fff; }
    .section--red .text-muted{ color:rgba(255,255,255,.8)!important; }
    .section--light{ background:#fff; }
    .section--gray{ background:var(--light); }
    .section--dark{ background:var(--charcoal); color:#fff; }

    .section-eyebrow{
      font-family:var(--font-display); font-weight:600; font-size:.78rem;
      letter-spacing:.22em; text-transform:uppercase; color:var(--red);
      display:inline-block; margin-bottom:14px;
    }
    .section--red .section-eyebrow{ color:rgba(255,255,255,.85); }
    .section-title{ font-size:clamp(2rem,4vw,3rem); line-height:1.1; margin-bottom:0; }
    .section-rule{ width:64px; height:4px; background:var(--red); border:0; opacity:1; margin:22px 0 0; border-radius:2px; }
    .section--red .section-rule{ background:#fff; }

    /* ---------- Watermark (cursor avatech) ---------- */
    .mark-bg{
      position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0;
    }
    .mark-bg svg{
      position:absolute; right:-40px; top:50%; transform:translateY(-50%);
      width:560px; height:560px; opacity:.05; color:var(--red);
    }
    .section--red .mark-bg svg{ color:#fff; opacity:.09; }
    .container-z{ position:relative; z-index:1; }

    /* ============================ TOPBAR ============================ */
    .topbar{ background:var(--charcoal); color:rgba(255,255,255,.85); font-size:.85rem; }
    .topbar a{ color:rgba(255,255,255,.85); }
    .topbar a:hover{ color:#fff; }
    .topbar .sep{ color:rgba(255,255,255,.25); margin:0 14px; }

    /* ============================ NAVBAR ============================ */
    .site-header{ position:sticky; top:0; z-index:1030; background:#fff; box-shadow:0 2px 16px rgba(0,0,0,.06); }
    .navbar-brand{ display:flex; align-items:center; gap:10px; padding:6px 0; }
    .navbar-brand .logo-img{ height:90px; width:auto; }
    .main-nav .nav-link{
      font-family:var(--font-display); font-weight:500; font-size:.92rem;
      letter-spacing:.01em; color:var(--ink);
      padding:10px 13px!important; position:relative;
    }
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active{ color:var(--red); }
    .main-nav .nav-link.active::after{
      content:""; position:absolute; left:13px; right:13px; top:-22px; height:3px; background:var(--red);
    }
    .dropdown-menu{ border:0; box-shadow:0 12px 32px rgba(0,0,0,.12); border-radius:10px; padding:8px; }
    .dropdown-item{ font-weight:500; font-size:.9rem; border-radius:7px; padding:9px 14px; }
    .dropdown-item:hover{ background:var(--light); color:var(--red); }

    .btn-offer{
      --bs-btn-bg:var(--red); --bs-btn-border-color:var(--red);
      --bs-btn-hover-bg:var(--red-dark); --bs-btn-hover-border-color:var(--red-dark);
      --bs-btn-color:#fff; --bs-btn-hover-color:#fff;
      font-family:var(--font-display); font-weight:600; font-size:.86rem;
      padding:10px 20px; border-radius:8px; white-space:nowrap;
    }

    .burger{
      width:44px; height:44px; border:0; background:transparent; color:var(--ink);
      font-size:1.4rem; display:none; align-items:center; justify-content:center; cursor:pointer;
    }

    /* ============================ HERO ============================ */
    .hero{
      min-height:88vh; display:flex; align-items:flex-end; position:relative; color:#fff;
      background:
        linear-gradient(180deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,.35) 35%, rgba(18,18,18,.92) 100%),
        url('https://picsum.photos/seed/avatech-office/1920/1080') center/cover no-repeat;
    }
    .hero-band{ background:var(--red); width:100%; padding:46px 0 50px; position:relative; overflow:hidden; }
    .hero-band .mark-bg svg{ opacity:.10; right:-110px; color:#fff; }
    .hero-title{ font-size:clamp(2.4rem,6vw,4.4rem); line-height:1.02; text-shadow:0 2px 18px rgba(0,0,0,.25); }
    .hero-lead{ max-width:660px; font-size:1.1rem; color:rgba(255,255,255,.92); }
    .hero-meta{ display:flex; flex-wrap:wrap; gap:34px; margin-top:26px; }
    .hero-meta .num{ font-family:var(--font-display); font-weight:600; font-size:1.5rem; line-height:1.1; }
    .hero-meta .lbl{ font-size:.82rem; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.8); }

    .btn-brand{
      --bs-btn-bg:var(--red); --bs-btn-border-color:var(--red);
      --bs-btn-hover-bg:var(--red-dark); --bs-btn-hover-border-color:var(--red-dark);
      --bs-btn-active-bg:var(--red-dark); --bs-btn-active-border-color:var(--red-dark);
      --bs-btn-color:#fff; --bs-btn-hover-color:#fff; --bs-btn-active-color:#fff;
      font-family:var(--font-display); font-weight:600; letter-spacing:.02em;
      padding:13px 30px; border-radius:8px; font-size:.92rem;
    }
    .btn-light-outline{
      border:2px solid #fff; color:#fff; background:transparent;
      font-family:var(--font-display); font-weight:600; letter-spacing:.02em;
      padding:11px 28px; border-radius:8px; font-size:.92rem;
    }
    .btn-light-outline:hover{ background:#fff; color:var(--red); }

    /* ============================ ABOUT ============================ */
    .about-mark{ width:100%; max-width:380px; color:#fff; }

    /* ============================ PROCES (timeline) ============================ */
    .timeline{ position:relative; padding-left:34px; }
    .timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--line); }
    .timeline-item{ position:relative; padding-bottom:30px; }
    .timeline-item:last-child{ padding-bottom:0; }
    .timeline-item::before{
      content:""; position:absolute; left:-34px; top:5px; width:20px; height:20px;
      border-radius:50%; background:#fff; border:4px solid var(--red);
    }
    .timeline-step{ font-family:var(--font-display); font-weight:700; color:var(--red); font-size:1.05rem; }

    /* ============================ VALUES ============================ */
    .value-card{ padding:6px 0; }
    .value-card .v-ico{
      width:54px; height:54px; border-radius:12px; background:rgba(255,255,255,.14);
      display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:16px;
    }
    .value-card h4{ font-size:1.15rem; margin-bottom:6px; }
    .value-card p{ color:rgba(255,255,255,.85); margin-bottom:0; }

    /* ============================ SOLUTIONS (icon grid) ============================ */
    .product-card{
      display:block; text-align:center; padding:40px 22px; border:1px solid var(--line);
      border-radius:14px; background:#fff; color:var(--ink); height:100%;
      transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .product-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(192,39,46,.16); border-color:var(--red); }
    .product-card .p-ico{
      width:78px; height:78px; margin:0 auto 18px; border-radius:50%;
      background:var(--light); color:var(--red); display:flex; align-items:center;
      justify-content:center; font-size:1.8rem; transition:.25s;
    }
    .product-card:hover .p-ico{ background:var(--red); color:#fff; }
    .product-card h4{ font-size:.98rem; letter-spacing:.01em; margin-bottom:0; }

    /* ============================ SERVICES (spec cards) ============================ */
    .spec-card{ background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.08); height:100%; }
    .spec-card .spec-img{ height:150px; background:center/cover no-repeat; position:relative; }
    .spec-card .spec-img i{
      position:absolute; right:16px; bottom:-22px; width:48px; height:48px; border-radius:12px;
      background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.1rem;
      box-shadow:0 8px 20px rgba(192,39,46,.35);
    }
    .spec-card .spec-body{ padding:30px 24px 24px; }
    .spec-card h4{ font-size:1.05rem; }
    .catalog-cta{ background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); border-radius:16px; padding:34px; }
    .app-list{ list-style:none; padding:0; margin:0 0 26px; }
    .app-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; color:rgba(255,255,255,.92); }
    .app-list i{ color:#fff; margin-top:6px; font-size:.7rem; }

    /* ============================ GALLERY / PROIECTE ============================ */
    .gallery-item{ position:relative; overflow:hidden; border-radius:12px; display:block; }
    .gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; aspect-ratio:4/3; }
    .gallery-item .g-cap{
      position:absolute; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end;
      padding:18px; background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(143,27,39,.85) 100%);
      opacity:0; transition:.3s; color:#fff;
    }
    .gallery-item .g-cap .g-tag{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; opacity:.85; }
    .gallery-item .g-cap .g-name{ font-family:var(--font-display); font-weight:600; }
    .gallery-item:hover .g-cap{ opacity:1; }
    .gallery-item:hover img{ transform:scale(1.07); }

    /* ============================ CONTACT / FORMS ============================ */
    .contact-line{ display:flex; gap:14px; align-items:flex-start; margin-bottom:16px; }
    .contact-line .c-ico{
      width:40px; height:40px; flex:0 0 auto; border-radius:50%; background:var(--red); color:#fff;
      display:flex; align-items:center; justify-content:center; font-size:.95rem;
    }
    .form-card{ background:#fff; border:1px solid var(--line); border-radius:18px; }
    .form-label{ font-size:.85rem; font-weight:600; color:var(--ink); margin-bottom:6px; }
    .form-control, .form-select{ border-radius:9px; padding:11px 14px; border:1px solid var(--line); font-size:.95rem; }
    .form-control:focus, .form-select:focus{ border-color:var(--red); box-shadow:0 0 0 .2rem rgba(192,39,46,.14); }
    .req{ color:var(--red); }

    .offer-card{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.22); border-radius:20px; padding:36px; }
    .offer-card .form-control, .offer-card .form-select{ border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.95); }
    .offer-card .form-label{ color:#fff; }
    .form-check-input:checked{ background-color:var(--red); border-color:var(--red); }

    /* ============================ KEYWORDS ============================ */
    .kw-chip{
      display:inline-block; padding:8px 16px; margin:5px; border-radius:30px; background:#fff;
      border:1px solid var(--line); color:var(--muted); font-size:.85rem; font-weight:500; transition:.2s;
    }
    .kw-chip:hover{ background:var(--red); color:#fff; border-color:var(--red); }

    /* ============================ FOOTER ============================ */
    .site-footer{ background:var(--charcoal); color:rgba(255,255,255,.72); padding:72px 0 0; }
    .site-footer h5{ color:#fff; font-size:.95rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:22px; }
    .site-footer a{ color:rgba(255,255,255,.72); }
    .site-footer a:hover{ color:var(--red-tint); }
    .footer-links li{ margin-bottom:11px; font-size:15px; }
    .footer-links i{ color:var(--red-tint); font-size:.7rem; margin-right:8px; }
    .footer-social a{
      width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.1); color:#fff;
      display:inline-flex; align-items:center; justify-content:center; margin-right:8px; transition:.2s;
    }
    .footer-social a:hover{ background:var(--red); }
    .footer-newsletter .form-control{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); color:#fff; }
    .footer-newsletter .form-control::placeholder{ color:rgba(255,255,255,.5); }
    .footer-bottom{ border-top:1px solid rgba(255,255,255,.1); margin-top:56px; padding:22px 0; background:var(--charcoal-2); }
    .footer-bottom, .footer-bottom a{ font-size:.82rem; color:rgba(255,255,255,.55); }
    .footer-bottom a:hover{ color:var(--red-tint); }

    /* ============================ BACK TO TOP ============================ */
    .to-top{
      position:fixed; right:24px; bottom:24px; width:48px; height:48px; border:0; border-radius:10px;
      background:var(--charcoal); color:#fff; z-index:1040; opacity:0; visibility:hidden; transition:.3s; cursor:pointer;
    }
    .to-top.show{ opacity:1; visibility:visible; }
    .to-top:hover{ background:var(--red); }

    /* ============================ MOBILE DRAWER ============================ */
    .drawer-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1050; opacity:0; visibility:hidden; transition:.3s; }
    .drawer-overlay.open{ opacity:1; visibility:visible; }
    .drawer{
      position:fixed; top:0; left:0; height:100%; width:300px; max-width:84vw; background:#fff; z-index:1060;
      transform:translateX(-100%); transition:transform .3s ease; display:flex; flex-direction:column;
      box-shadow:6px 0 30px rgba(0,0,0,.18);
    }
    .drawer.open{ transform:translateX(0); }
    .drawer-head{
      background:var(--red); color:#fff; padding:18px 20px; display:flex;
      align-items:center; justify-content:space-between;
    }
    .drawer-head .d-title{ font-family:var(--font-display); font-weight:700; font-size:1.2rem; }
    .drawer-close{ background:transparent; border:0; color:#fff; font-size:1.4rem; cursor:pointer; line-height:1; }
    .drawer-body{ flex:1; overflow-y:auto; }
    .drawer-nav a.d-link, .drawer-nav .d-parent > .d-link{
      display:flex; align-items:center; justify-content:space-between;
      padding:15px 20px; color:var(--ink); font-weight:600; border-bottom:1px solid var(--line);
    }
    .drawer-nav a.d-link:hover{ color:var(--red); }
    .drawer-nav .d-toggle{ width:34px; height:34px; border:0; background:transparent; color:var(--muted); font-size:1rem; cursor:pointer; }
    .drawer-sub{ display:none; background:var(--light); }
    .drawer-sub a{ display:block; padding:12px 20px 12px 36px; color:var(--muted); font-size:.9rem; border-bottom:1px solid #ececec; }
    .drawer-sub a:hover{ color:var(--red); }
    .drawer-foot{ padding:18px 20px 24px; }
    .drawer-foot .tagline{ font-size:.82rem; color:var(--muted); line-height:1.6; }

    /* ============================ RESPONSIVE ============================ */
    @media (max-width:991.98px){
      .main-nav{ display:none!important; }
      .nav-offer-desktop{ display:none!important; }
      .burger{ display:flex; }
      .section{ padding:64px 0; }
      .hero{ min-height:70vh; }
    }
    @media (max-width:575.98px){
      .topbar{ display:none; }
      .hero-meta{ gap:22px; }
    }
    @media (prefers-reduced-motion: reduce){
      *{ scroll-behavior:auto; }
      .gallery-item img, .product-card, .drawer, .drawer-overlay, .to-top{ transition:none!important; }
    }

/* ===================== PAGINA 404 (page-error.php) ===================== */
    .err404{ min-height:74vh; display:flex; align-items:center; }
    .err404 .big404{
      font-family:var(--font-display); font-weight:700; line-height:.9;
      font-size:clamp(5rem,16vw,11rem);
      background:linear-gradient(135deg,var(--red-tint),var(--red-dark));
      -webkit-background-clip:text; background-clip:text; color:transparent;
    }
    .err-links{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; }
    .err-links-lbl{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.5); }
    .err-links a{ color:#fff; border-bottom:1px solid rgba(255,255,255,.3); padding-bottom:2px; font-size:.92rem; }
    .err-links a:hover{ color:var(--red-tint); border-color:var(--red-tint); }
    .term{ border-radius:14px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.1); background:#0f1115; }
    .term-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:#1b1e24; border-bottom:1px solid rgba(255,255,255,.06); }
    .term-bar .dot{ width:12px; height:12px; border-radius:50%; display:inline-block; }
    .term-bar .dot.r{ background:#ff5f56; } .term-bar .dot.y{ background:#ffbd2e; } .term-bar .dot.g{ background:#27c93f; }
    .term-title{ margin-left:10px; font-size:.78rem; color:rgba(255,255,255,.45); font-family:ui-monospace,Menlo,Consolas,monospace; }
    .term-body{
      margin:0; padding:22px; color:#c9d1d9; background:#0f1115;
      font-family:ui-monospace,'Cascadia Code','Source Code Pro',Menlo,Consolas,monospace;
      font-size:.85rem; line-height:1.9; white-space:pre-wrap; word-break:break-word;
    }
    .term-body .t-ok{ color:#27c93f; } .term-body .t-path{ color:#58a6ff; }
    .term-body .t-err{ color:#ff6a6a; } .term-body .t-warn{ color:#ffbd2e; } .term-body .t-cmt{ color:#6e7681; }
    .caret{ display:inline-block; width:9px; height:1.05em; background:#c9d1d9; vertical-align:-2px; animation:blink 1.05s steps(1) infinite; }
    @keyframes blink{ 50%{ opacity:0; } }
    @media (prefers-reduced-motion: reduce){ .caret{ animation:none; } }
  

/* ===================== PAGINĂ CONȚINUT (page.php) ===================== */
    .page-hero{ padding:60px 0; position:relative; overflow:hidden; }
    .page-hero .mark-bg svg{ opacity:.09; color:#fff; }
    .crumb{ font-size:.85rem; }
    .crumb a{ color:rgba(255,255,255,.8); } .crumb a:hover{ color:#fff; text-decoration:underline; }
    .crumb i{ font-size:.7rem; margin:0 7px; opacity:.6; } .crumb span{ color:#fff; }
    /* elementul curent (activ) din breadcrumb — evidențiat separat */
    .crumb .active{ color:#fff; font-weight:600; background:rgba(255,255,255,.14); padding:2px 10px; border-radius:999px; }

    .page-article .lead-img{ width:100%; border-radius:14px; margin-bottom:28px; aspect-ratio:16/9; object-fit:cover; }
    .page-article .lead-p{ font-size:1.18rem; color:var(--ink); }
    .page-article h2{ font-size:1.5rem; margin:34px 0 14px; }
    .page-article h3{ font-size:1.15rem; margin:24px 0 10px; }
    .page-article p{ color:#41414a; }
    .page-article ul.check{ padding-left:0; list-style:none; margin:0 0 18px; }
    .page-article ul.check li{ position:relative; padding-left:28px; margin-bottom:10px; color:#41414a; }
    .page-article ul.check li::before{ content:"\f058"; font-family:"Font Awesome 6 Free"; font-weight:900; color:var(--red); position:absolute; left:0; top:3px; font-size:.95rem; }
    .page-article blockquote{ border-left:4px solid var(--red); background:var(--light); padding:18px 22px; border-radius:0 10px 10px 0; margin:26px 0; font-size:1.05rem; color:var(--ink); }
    .page-article blockquote cite{ display:block; margin-top:8px; font-size:.85rem; color:var(--muted); font-style:normal; }
    .page-article .cta-box{ margin-top:38px; background:var(--charcoal); color:#fff; border-radius:16px; padding:30px 32px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; }
    .page-article .cta-box h3{ font-size:1.25rem; margin:0; color:#fff; }

    .side-card{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; margin-bottom:22px; }
    .side-card h5{ font-family:var(--font-display); font-size:1rem; margin-bottom:16px; }
    .toc a{ display:block; padding:9px 0; color:var(--muted); border-bottom:1px solid var(--line); font-size:.92rem; }
    .toc a:last-child{ border-bottom:0; } .toc a:hover{ color:var(--red); }
    .side-card .contact-line{ margin-bottom:14px; } .side-card .contact-line:last-child{ margin-bottom:0; }
    .side-offer{ display:block; text-align:center; background:var(--red); color:#fff; font-family:var(--font-display); font-weight:600; padding:16px; border-radius:14px; transition:.2s; }
    .side-offer:hover{ background:var(--red-dark); color:#fff; }
    @media (min-width:992px){ .side-stack{ position:sticky; top:130px; } }
  

/* ===================== MESAJE (msg.php) ===================== */
.av-msg-wrap{ padding-top:18px; }
.av-alert{ display:flex; align-items:flex-start; gap:14px; border-radius:12px; padding:14px 18px; margin-bottom:8px;
  border:1px solid var(--line); background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.06); }
.av-alert__ico{ font-size:1.1rem; margin-top:2px; }
.av-alert__body{ flex:1; font-size:.95rem; color:var(--ink); }
.av-alert__close{ background:transparent; border:0; font-size:1.3rem; line-height:1; color:var(--muted); cursor:pointer; }
.av-alert__close:hover{ color:var(--ink); }
.av-alert--success{ border-color:#bfe3c6; } .av-alert--success .av-alert__ico{ color:#1e9e4a; }
.av-alert--error{   border-color:#f0c2c2; } .av-alert--error   .av-alert__ico{ color:var(--red); }
.av-alert--warning{ border-color:#f3dca6; } .av-alert--warning .av-alert__ico{ color:#c98a00; }
.av-alert--info{    border-color:#c2d6f0; } .av-alert--info    .av-alert__ico{ color:#1f6fd6; }


/* ===================== DIALOG / POPUP (dialog.php) ===================== */
.av-dialog .modal-content{ border:0; border-radius:18px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.3); }
.av-dialog .modal-header{ background:var(--charcoal); color:#fff; border-bottom:0; padding:18px 24px; }
.av-dialog .modal-header .btn-close{ filter:invert(1) grayscale(1) brightness(1.8); opacity:.8; }
.av-dialog .modal-title{ font-family:var(--font-display); font-weight:600; font-size:1.1rem; }
.av-dialog .modal-body{ padding:24px; color:var(--ink); }
.av-dialog .modal-footer{ border-top:1px solid var(--line); padding:16px 24px; }

    /* ===================== HERO SLIDER ===================== */
    .hero-slider{ background:#0d0d11; }
    /* full-bleed: pe toată lățimea, fără benzi laterale */
    .hero-carousel{ width:100%; margin:0; position:relative; }
    /* mobil: imaginea se vede integral (înălțime automată) */
    .hero-carousel .carousel-item img{ width:100%; height:auto; display:block; }
    /* desktop/tabletă: bandă mai scundă pe toată lățimea (~1920x640), decupată centrat */
    .hero-carousel .carousel-item{ position:relative; }
    @media (min-width:768px){
      .hero-carousel .carousel-item{ height:clamp(380px, 34vw, 640px); overflow:hidden; }
      .hero-carousel .carousel-item img{ height:100%; object-fit:cover; object-position:50% 58%; }
    }
    /* cât timp există un singur slide, ascundem săgețile + indicatorii */
    .hero-carousel.slider--single .carousel-control-prev,
    .hero-carousel.slider--single .carousel-control-next,
    .hero-carousel.slider--single .carousel-indicators{ display:none; }
    /* controale + indicatori adaptați pe ecrane mici (mobil) */
    @media (max-width:575.98px){
      .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next{ width:14%; }
      .hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon{ width:1.6rem; height:1.6rem; }
      .hero-carousel .carousel-indicators{ margin-bottom:.4rem; }
      .hero-carousel .carousel-indicators [data-bs-target]{ width:22px; height:3px; }
    }

    /* ===================== BUTOANE PESTE SLIDER ===================== */
    /* mobil: butoanele apar sub imagine, pe fundalul închis al slider-ului */
    .slide-cta{ display:flex; flex-wrap:wrap; gap:14px; padding:20px 7% 28px; }
    /* pe mobil: unul lângă altul, egale și mai mici */
    @media (max-width:767.98px){
      .slide-cta{ flex-wrap:nowrap; gap:10px; padding:16px 16px 22px; }
      .slide-cta .btn{ flex:1 1 0; min-width:0; padding:.6rem .5rem; font-size:.82rem; white-space:nowrap; }
      .slide-cta .btn i{ margin-left:.4rem !important; }
    }
    @media (min-width:768px){
      .slide-cta{ position:absolute; left:0; bottom:6%; padding:0 0 0 7%; z-index:2; }
    }

    /* ===================== STATISTICI (blocuri animate) ===================== */
    .stats-section{ background:#fff; position:relative; overflow:hidden; }
    /* elemente grafice: puncte (sus-stânga) + halou roșu discret (jos-dreapta) */
    .stats-section .stats-deco--dots{
      position:absolute; top:26px; left:-24px; width:190px; height:150px; pointer-events:none; opacity:.5;
      background-image:radial-gradient(rgba(0,0,0,.12) 1.5px, transparent 1.6px); background-size:16px 16px;
    }
    .stats-section::after{
      content:""; position:absolute; right:-140px; bottom:-140px; width:380px; height:380px; border-radius:50%;
      background:radial-gradient(circle, rgba(192,39,46,.09), transparent 70%); pointer-events:none;
    }
    .stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; z-index:1; }
    .stat-card{
      position:relative; background:#fff; border:1px solid var(--line); border-radius:18px;
      padding:30px 26px; overflow:hidden; transition:transform .35s ease, box-shadow .35s ease;
    }
    .stat-card::before{ content:""; position:absolute; left:0; top:0; height:4px; width:0; background:var(--red); transition:width .45s ease; }
    .stat-card:hover{ transform:translateY(-6px); box-shadow:0 18px 42px rgba(0,0,0,.10); }
    .stat-card:hover::before{ width:100%; }
    .stat-ico{
      width:56px; height:56px; border-radius:15px; display:grid; place-items:center; margin-bottom:18px;
      background:rgba(192,39,46,.10); color:var(--red); font-size:1.45rem; transition:transform .35s ease;
    }
    .stat-card:hover .stat-ico{ transform:scale(1.08) rotate(-4deg); }
    .stat-num{ font-family:var(--font-display); font-weight:700; font-size:2.7rem; line-height:1; color:var(--ink); }
    .stat-num--text{ font-size:1.55rem; }
    .stat-label{ color:var(--muted); margin-top:8px; font-size:.95rem; line-height:1.5; }

    /* reveal la scroll (fade-up cu stagger) */
    .reveal{ opacity:0; transform:translateY(28px); transition:opacity .6s ease, transform .6s ease; }
    .reveal.is-visible{ opacity:1; transform:none; }
    .stats-grid .reveal:nth-child(1){ transition-delay:.05s; }
    .stats-grid .reveal:nth-child(2){ transition-delay:.15s; }
    .stats-grid .reveal:nth-child(3){ transition-delay:.25s; }
    .stats-grid .reveal:nth-child(4){ transition-delay:.35s; }

    @media (max-width:991.98px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
    @media (max-width:575.98px){ .stats-grid{ grid-template-columns:1fr; } }
    @media (prefers-reduced-motion: reduce){
      .reveal{ opacity:1; transform:none; transition:none; }
      .stat-card, .stat-card::before, .stat-ico{ transition:none; }
    }

    /* ============================================================
       BLOCURI DE CONȚINUT REUTILIZABILE (av-*)
       Se folosesc în conținutul din baza de date (editor) pe orice
       pagină. Doar HTML curat + aceste clase; fără PHP/JS.
       Accent: roșul brandului. A se folosi în <section class="section section--light|--gray">.
       ============================================================ */

    /* --- antet centrat de secțiune: etichetă + titlu + intro --- */
    .av-head{ text-align:center; max-width:780px; margin:0 auto 48px; }
    .av-eyebrow{
      display:inline-flex; align-items:center; gap:12px;
      font-family:var(--font-display); font-weight:600; font-size:.78rem;
      letter-spacing:.2em; text-transform:uppercase; color:var(--red); margin-bottom:16px;
    }
    .av-eyebrow::before, .av-eyebrow::after{ content:""; width:26px; height:2px; background:var(--red); opacity:.55; }
    .av-head h2{ font-size:clamp(1.6rem,3.6vw,2.35rem); line-height:1.16; margin:0 0 14px; color:var(--ink); }
    .av-head p{ color:var(--muted); font-size:1.05rem; margin:0; }
    .av-accent{ color:var(--red); }

    /* --- etichetă pill (badge) --- */
    .av-badge{
      display:inline-flex; align-items:center; gap:9px; padding:7px 16px; border-radius:999px;
      background:rgba(192,39,46,.10); color:var(--red);
      font-family:var(--font-display); font-weight:600; font-size:.76rem;
      letter-spacing:.12em; text-transform:uppercase;
    }
    .av-badge::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--red); }

    /* --- grilă de carduri --- */
    .av-grid{ display:grid; gap:24px; }
    .av-grid--2{ grid-template-columns:repeat(2,1fr); }
    .av-grid--3{ grid-template-columns:repeat(3,1fr); }

    /* --- pastilă de iconiță (FA înăuntru) --- */
    .av-ico{
      width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
      background:rgba(192,39,46,.10); color:var(--red); font-size:1.35rem; flex:0 0 auto;
    }

    /* --- card vertical: iconiță + titlu + text --- */
    .av-card{
      background:#fff; border:1px solid var(--line); border-radius:16px; padding:30px 28px; height:100%;
      transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .av-card:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(0,0,0,.08); border-color:transparent; }
    .av-card .av-ico{ margin-bottom:20px; }
    .av-card h3{ font-size:1.14rem; margin:0 0 9px; color:var(--ink); }
    .av-card p{ color:var(--muted); font-size:.96rem; line-height:1.65; margin:0; }

    /* --- card orizontal: iconiță stânga + conținut (liste de module) --- */
    .av-feature{
      display:flex; gap:18px; background:#fff; border:1px solid var(--line); border-radius:16px;
      padding:24px 26px; height:100%;
      transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .av-feature:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(0,0,0,.07); border-color:transparent; }
    .av-feature .av-ico{ width:48px; height:48px; font-size:1.2rem; border-radius:12px; }
    .av-feature h3{ font-size:1.06rem; margin:0 0 6px; color:var(--ink); }
    .av-feature p{ color:var(--muted); font-size:.93rem; line-height:1.6; margin:0; }

    /* --- listă cu bife --- */
    .av-check{ list-style:none; padding:0; margin:0; display:grid; gap:26px; }
    .av-check.av-grid--2{ gap:26px 40px; }
    .av-check li{ position:relative; padding-left:44px; }
    .av-check li::before{
      content:"\f00c"; font-family:"Font Awesome 6 Free"; font-weight:900;
      position:absolute; left:0; top:0; width:28px; height:28px; border-radius:9px;
      background:rgba(192,39,46,.10); color:var(--red); display:grid; place-items:center; font-size:.82rem;
    }
    .av-check h3{ font-size:1.06rem; margin:0 0 6px; color:var(--ink); }
    .av-check p{ color:var(--muted); font-size:.94rem; line-height:1.6; margin:0; }

    /* --- bandă CTA închisă la culoare --- */
    .av-cta{ background:var(--charcoal); color:#fff; border-radius:20px; padding:52px 40px; text-align:center; }
    .av-cta h2{ color:#fff; font-size:clamp(1.5rem,3vw,2.05rem); margin:0 0 14px; }
    .av-cta p{ color:rgba(255,255,255,.75); max-width:640px; margin:0 auto 28px; }
    .av-cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

    /* --- responsive --- */
    @media (max-width:991.98px){
      .av-grid--3{ grid-template-columns:repeat(2,1fr); }
    }
    @media (max-width:767.98px){
      .av-grid--2, .av-grid--3, .av-check.av-grid--2{ grid-template-columns:1fr; }
      .av-cta{ padding:40px 24px; }
      .av-cta-actions .btn{ width:100%; }
    }

    /* ============================================================
       SHOWCASE / SPLIT (imagine aplicație + text, alternant) — reutilizabil
       ============================================================ */
    .av-split{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
    .av-split + .av-split{ margin-top:70px; }
    .av-split__media{ order:0; } .av-split__body{ order:1; }
    .av-split--rev .av-split__media{ order:1; } .av-split--rev .av-split__body{ order:0; }
    .av-split__body .av-eyebrow{ margin-bottom:8px; }
    .av-split__body h3{ font-family:var(--font-display); font-weight:700; color:var(--ink);
      font-size:clamp(1.4rem,2.6vw,1.85rem); line-height:1.2; margin:0 0 14px; }
    .av-split__body p{ color:var(--muted); font-size:1.02rem; line-height:1.7; margin:0; }

    /* etichete (pill-uri mici cu funcționalități/tehnologii) */
    .av-tags{ display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
    .av-tag{ font-size:.83rem; padding:6px 13px; border-radius:999px; background:var(--light);
      border:1px solid var(--line); color:var(--ink); }

    /* cadru tip browser pentru capturi de ecran */
    .av-shot{ border-radius:14px; overflow:hidden; border:1px solid var(--line);
      box-shadow:0 26px 60px rgba(0,0,0,.13); background:#fff; }
    .av-shot__bar{ display:flex; align-items:center; gap:7px; padding:11px 14px;
      background:#f3f1ef; border-bottom:1px solid var(--line); }
    .av-shot__bar span{ width:11px; height:11px; border-radius:50%; background:#d6d2ce; }
    .av-shot__bar span:nth-child(1){ background:#ff5f57; }
    .av-shot__bar span:nth-child(2){ background:#febc2e; }
    .av-shot__bar span:nth-child(3){ background:#28c840; }
    .av-shot img{ display:block; width:100%; height:auto; }

    @media (max-width:861px){
      .av-split{ grid-template-columns:1fr; gap:30px; }
      .av-split + .av-split{ margin-top:48px; }
      .av-split--rev .av-split__media, .av-split--rev .av-split__body{ order:0; }
    }
