    :root {
      --erbi-dark: #313B43;
      --erbi-accent: #B27646;
      --erbi-light: #f8fafc;
    }

    /* ═══════════════════════════════════════
       GLOBAL
    ═══════════════════════════════════════ */
    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #212529;
      padding-top: 70px;
      overflow-x: hidden; /* Elimină scroll-ul orizontal */
    }

    /* ═══════════════════════════════════════
       NAVBAR
    ═══════════════════════════════════════ */
    .navbar {
      background-color: #fff !important;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      padding-top: 0.4rem;
      padding-bottom: 0.4rem;
    }

    .logo-top {
      height: 50px;
      width: auto;
      max-width: 200px;
      object-fit: contain;
      border-radius: 6px;
    }

    .nav-link {
      color: var(--erbi-dark) !important;
      font-weight: 500;
      padding: 0.6rem 1rem !important;
    }

    .nav-link:hover {
      color: var(--erbi-accent) !important;
    }

    /* Meniu mobil — stilizare dropdown */
    .navbar-collapse {
      background: #fff;
      border-radius: 0 0 12px 12px;
      padding: 0.5rem 0;
    }

    .navbar-toggler {
      border: 2px solid var(--erbi-accent);
      padding: 0.3rem 0.6rem;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(178, 118, 70, 0.25);
    }

    /* ═══════════════════════════════════════
       HERO SECTION
    ═══════════════════════════════════════ */
    .hero {
      min-height: 75vh;
      display: flex;
      align-items: center;
      background:
        linear-gradient(rgba(49, 59, 67, .85), rgba(49, 59, 67, .85)),
        url("../images/header-bg-min.jpg");
      background-size: cover;
      background-position: center;
      color: #fff;
      margin-top: -70px;
      padding-top: 70px;
    }

    .hero h1 {
      font-weight: 800;
      font-size: clamp(1.6rem, 5vw, 3.5rem); /* Responsive font size */
      line-height: 1.2;
    }

    .hero .lead {
      font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    }

    .hero .badge {
      font-size: clamp(0.75rem, 2vw, 1rem);
    }

    /* ═══════════════════════════════════════
       SECȚIUNI GENERALE
    ═══════════════════════════════════════ */
    .section-padding {
      padding: 50px 0;
    }

    .section-padding h2 {
      font-size: clamp(1.4rem, 4vw, 2rem);
    }

    /* ═══════════════════════════════════════
       CARDURI SERVICII
    ═══════════════════════════════════════ */
    .service-card {
      border: 0;
      border-radius: 18px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
      transition: transform .25s ease, box-shadow .25s ease;
      height: 100%;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
    }

    .icon-box {
      width: 56px;
      height: 56px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      background: rgba(178, 118, 70, .1);
      color: var(--erbi-accent);
      font-size: 1.6rem;
      margin-bottom: 1rem;
    }

    .bg-soft {
      background: var(--erbi-light);
    }

    /* ═══════════════════════════════════════
       FUNDAL SERVICII (rețea poligonală)
    ═══════════════════════════════════════ */
    #servicii {
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    #servicii::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('assets/images/bg-servicii.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.08;
      z-index: -1;
      pointer-events: none;
    }

    /* ═══════════════════════════════════════
       ICON BOX MIC (Date Firmă)
    ═══════════════════════════════════════ */
    .icon-box-sm {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: rgba(178, 118, 70, .1);
      color: var(--erbi-accent);
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .ls-1 {
      letter-spacing: 1px;
    }

    /* ═══════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════ */
    footer {
      background: var(--erbi-dark);
      color: rgba(255, 255, 255, .8);
      padding-top: 40px;
      padding-bottom: 15px;
    }

    footer h5 {
      color: #fff;
      font-weight: 700;
      margin-bottom: 1.2rem;
      text-transform: uppercase;
      font-size: 0.9rem;
      letter-spacing: 1px;
    }

    footer a {
      color: rgba(255, 255, 255, .7);
      text-decoration: none;
      transition: color 0.3s;
      display: block;
      margin-bottom: 0.4rem;
      font-size: 0.9rem;
    }

    footer a:hover {
      color: var(--erbi-accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 30px;
      padding-top: 15px;
      font-size: 0.8rem;
    }

    /* Sigla footer — culori originale, dimensiune mai mare */
    .logo-bottom {
      height: 120px;       /* Înălțime mărită (era 80px/100px) */
      width: auto;
      max-width: 300px;    /* Lățime maximă mărită pentru proporții corecte */
      object-fit: contain;
      border-radius: 10px;
      margin-bottom: 1.5rem;
    }
    
    .credit-link a {
      margin-bottom: 0 !important;
      line-height: inherit;
      display: inline !important;
    }

    /* ═══════════════════════════════════════
       SCROLL TO TOP
    ═══════════════════════════════════════ */
    #scrollTopBtn {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 99;
      border: none;
      outline: none;
      background-color: var(--erbi-accent);
      color: white;
      cursor: pointer;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      font-size: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      transition: background-color 0.3s, transform 0.3s;
      display: none;
      align-items: center;
      justify-content: center;
    }

    #scrollTopBtn:hover {
      background-color: #966238;
      transform: scale(1.1);
    }

    /* ═══════════════════════════════════════
       UTILITARE CULORI
    ═══════════════════════════════════════ */
    .text-erbi-accent { color: var(--erbi-accent) !important; }
    .bg-erbi-accent { background-color: var(--erbi-accent) !important; }
    .btn-erbi-accent {
      background-color: var(--erbi-accent);
      border-color: var(--erbi-accent);
      color: white;
    }
    .btn-erbi-accent:hover {
      background-color: #966238;
      border-color: #966238;
      color: white;
    }

    /* ═══════════════════════════════════════
       MEDIA QUERIES — TABLETĂ (max 768px)
    ═══════════════════════════════════════ */
    @media (max-width: 767.98px) {
      body {
        padding-top: 60px;
      }

      .navbar {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
      }

      .logo-top {
        height: 40px;
        max-width: 170px;
      }

      .hero {
        min-height: 65vh;
        margin-top: -60px;
        padding-top: 60px;
        padding-bottom: 30px;
      }

      .hero .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
      }

      .section-padding {
        padding: 40px 0;
      }

      .service-card {
        border-radius: 14px;
      }

      .service-card .card-body {
        padding: 1.25rem !important;
      }

      .icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
      }

      /* Despre Noi — carduri statistici */
      .display-6 {
        font-size: 2rem !important;
      }

      /* Date firmă — IBAN */
    .iban-text {
      white-space: nowrap;
      display: block;
      width: 100%;        
      font-size: clamp(0.65rem, 1.8vw, 0.85rem); 
      letter-spacing: -0.5px;
      overflow: visible;     
    }

      /* Footer */
      footer {
        padding-top: 30px;
      }

      .logo-bottom {
        height: 90px;
        max-width: 250px;
      }

      footer h5 {
        margin-bottom: 0.8rem;
        margin-top: 1rem;
      }

      .footer-bottom {
        font-size: 0.75rem;
      }

      .footer-bottom .row > div {
        text-align: center !important;
      }

      /* Scroll to top — mai mare pentru touch */
      #scrollTopBtn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
      }
    }

    /* ═══════════════════════════════════════
       MEDIA QUERIES — MOBIL MIC (max 400px)
    ═══════════════════════════════════════ */
    @media (max-width: 400px) {
      body {
        padding-top: 55px;
      }

      .logo-top {
        height: 35px;
        max-width: 150px;
      }

      .hero {
        min-height: 60vh;
        margin-top: -55px;
        padding-top: 55px;
      }

      .hero h1 {
        font-size: 1.4rem;
      }

      .section-padding {
        padding: 30px 0;
      }

      .container {
        padding-left: 12px;
        padding-right: 12px;
      }

      .logo-bottom {
        height: 70px;
        max-width: 200px;
      }

      .icon-box-sm {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
      }
    }

    /* ═══════════════════════════════════════
       MEDIA QUERIES — DESKTOP (min 992px)
    ═══════════════════════════════════════ */
    @media (min-width: 992px) {
      body {
        padding-top: 80px;
      }

      .logo-top {
        height: 65px;
        max-width: 250px;
      }

      .hero {
        min-height: 75vh;
        margin-top: -80px;
        padding-top: 80px;
      }

      .section-padding {
        padding: 80px 0;
      }

      .icon-box {
        width: 64px;
        height: 64px;
        font-size: 1.9rem;
      }

      footer {
        padding-top: 60px;
      }

      .logo-bottom {
        height: 140px;
        max-width: 350px;
      }

      .navbar-collapse {
        background: transparent;
        padding: 0;
      }
    }


    /* Ajustări pentru mobil */
    @media (max-width: 575.98px) {
      .footer-compliance {
        gap: 1rem !important;
        align-items: center !important; /* Centrat pe mobil */
        justify-content: center;
      }
      
      .anpc-img {
        height: 30px;
      }
      
      /* Ascundem separatorul pe mobil dacă e nevoie, sau îl lăsăm */
      .footer-compliance .d-none.d-sm-block {
        display: none !important;
      }
    }

    /* LOGO ANPC+NETOPIA */
    /* ═══════════════════════════════════════
       FOOTER COMPLIANCE (NETOPIA + SAL ANPC)
    ═══════════════════════════════════════ */
    
    /* 1. Stil pentru containerul Netopia */
    .netopia-script-wrapper {
      display: inline-block;
      line-height: 0;
    }
    
    /* 2. Targetăm DIV-ul generat de Netopia pentru fundal alb */
    .netopia-script-wrapper > div {
        background-color: #ffffff !important; /* Forțăm fundal alb */
        border-radius: 4px;                   /* Colțuri rotunjite */
        padding: 2px 5px;                     /* Spațiu intern */
        box-sizing: border-box;
        display: flex; /* Asigură centrarea imaginii interne Netopia */
        align-items: center;
        justify-content: center;      
    }
    
    /* 3. Stil pentru imaginea SAL ANPC (rămâne neschimbată, dar o includem pentru claritate) */
    .anpc-img {
        width: 250px;
        max-width: 100%;
        height: auto;
        display: block;
        transition: opacity 0.3s ease;
    }
    
    .anpc-img:hover {
        opacity: 0.8;
    }


    /* ═══════════════════════════════════════
       SIDE MENU (Meniu Lateral)
    ═══════════════════════════════════════ */
    
    /* Blocare scroll body când meniul e deschis */
    body.side-menu-open {
      overflow: hidden;
    }
    
    /* Buton declanșator în navbar */
    .side-menu-trigger {
      text-decoration: none;
      transition: color 0.3s;
      display: inline-flex;
      align-items: center;
    }
    .side-menu-trigger:hover {
      color: var(--erbi-accent) !important;
    }
    
    /* Overlay (Fundal negru transparent) */
    .side-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(2px);
      z-index: 9998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
    }
    
    .side-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    
    /* Panoul Lateral */
    .side-menu {
      position: fixed;
      top: 0;
      right: -400px; /* Ascuns în dreapta */
      width: 350px;
      max-width: 85vw; /* Nu mai mult de 85% din ecran pe mobil */
      height: 100vh;
      background-color: var(--erbi-dark); /* #313B43 */
      color: #fff;
      z-index: 9999;
      box-shadow: -5px 0 25px rgba(0,0,0,0.2);
      transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
      display: flex;
      flex-direction: column;
    }
    
    .side-menu.open {
      right: 0; /* Vizibil */
    }
    
    /* Header Side Menu (Logo + Close) */
    .side-menu-header {
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      background: rgba(0,0,0,0.1);
    }
    
    .side-logo {
      height: 50px;
      width: auto;
      /* Dacă logo-ul tău are fundal transparent și e închis la culoare, 
         poți adăuga un filtru pentru a-l face alb pe acest fundal închis: */
      filter: brightness(0) invert(1); 
    }
    
    .close-side {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 5px;
      transition: color 0.3s;
    }
    
    .close-side:hover {
      color: var(--erbi-accent);
    }
    
    /* Body Side Menu (Scrollabil) */
    .side-menu-body {
      padding: 25px 20px;
      overflow-y: auto;
      flex-grow: 1;
    }
    
    /* Titluri secțiuni */
    .side-title {
      color: var(--erbi-accent);
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 15px;
      font-weight: 700;
    }
    
    .side-divider {
      border-color: rgba(255,255,255,0.1);
      margin: 25px 0;
    }
    
    /* Link-uri Navigare */
    .side-nav {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .side-nav li {
      margin-bottom: 10px;
    }
    
    .side-nav a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 1rem;
      display: flex;
      align-items: center;
      padding: 8px 10px;
      border-radius: 6px;
      transition: all 0.3s;
    }
    
    .side-nav a:hover {
      background: rgba(255,255,255,0.05);
      color: #fff;
      padding-left: 15px; /* Efect de glisare la hover */
    }
    
    .side-nav i {
      color: var(--erbi-accent);
      font-size: 1.1rem;
    }
    
    /* Listă Contact */
    .side-contact {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .side-contact li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 18px;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.8);
    }
    
    .side-contact .icon {
      width: 30px;
      flex-shrink: 0;
      color: var(--erbi-accent);
      font-size: 1.1rem;
      margin-top: 2px;
    }
    
    .side-contact .info span {
      display: block;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.5);
      margin-bottom: 2px;
      text-transform: uppercase;
    }
    
    .side-contact a {
      color: #fff;
      text-decoration: none;
    }
    
    .side-contact a:hover {
      color: var(--erbi-accent);
    }

