/* GHARELEC — sitewide base styles (nav, footer, buttons, variables) — auto-extracted, shared & cached across pages */


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }



    .navbar.hidden {
      transform: translateY(-120px) !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }



    @keyframes navSlideDown {
      0% { opacity: 0; transform: translateY(-30px) scale(.98); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }



    .logo-wrapper {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      margin-right: 20px;
    }



    .logo-link {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: transform .2s;
    }



    .logo-link:hover {
      transform: scale(1.02);
    }



    .logo-img {
      height: 40px;
      width: auto;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
      transition: height .3s;
      object-fit: contain;
    }



    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
      list-style: none;
      margin: 0 auto;
      padding: 0 10px;
    }



    .nav-links a {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: .95rem;
      color: #ffffff;
      text-decoration: none;
      padding: 10px 14px;
      border-radius: 40px;
      transition: all .3s;
      display: inline-block;
      position: relative;
      letter-spacing: -.01em;
    }



    .nav-links a::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: 4px;
      width: 0%;
      height: 2.5px;
      background: #f8d8d8;
      border-radius: 10px;
      transform: translateX(-50%);
      transition: width .3s;
    }



    .nav-links a:hover::after {
      width: 70%;
      box-shadow: 0 0 10px rgba(214, 40, 40, 0.2);
    }



    .nav-links a:hover {
      color: #f8d8d8;
      transform: translateY(-2px);
    }



    .right-wrapper {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }



    .language-selector {
      position: relative;
      display: inline-block;
    }



    .lang-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: .9rem;
      color: #4A1A1A;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(214, 40, 40, 0.15);
      border-radius: 40px;
      padding: 8px 16px;
      cursor: pointer;
      transition: all .3s;
    }



    .lang-btn:hover {
      background: rgba(255, 255, 255, 0.8);
      border-color: rgba(214, 40, 40, 0.3);
      box-shadow: 0 4px 15px rgba(214, 40, 40, 0.08);
    }



    .lang-btn .fa-chevron-down {
      font-size: .7rem;
      transition: transform .3s;
      color: #4A1A1A;
    }



    .lang-btn.active .fa-chevron-down {
      transform: rotate(180deg);
    }



    .lang-current {
      font-weight: 700;
      color: #4A1A1A;
    }



    .lang-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 160px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 14px;
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
      padding: 8px 0;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px) scale(.96);
      transition: all .3s;
      z-index: 100;
    }



    .lang-dropdown.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }



    .lang-dropdown a {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 500;
      font-size: .9rem;
      color: #2B2D42;
      text-decoration: none;
      padding: 10px 20px;
      transition: all .2s;
    }



    .lang-dropdown a:hover {
      background: rgba(214, 40, 40, 0.06);
      color: #D62828;
    }



    .lang-dropdown a.active-lang {
      color: #D62828;
      background: rgba(214, 40, 40, 0.08);
    }



    .lang-dropdown a.active-lang::before {
      content: '✓ ';
      font-weight: 700;
      color: #D62828;
    }



    .btn-cta {
      display: inline-block;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: .95rem;
      background: linear-gradient(145deg, #D62828, #B71C1C);
      color: #fff;
      padding: 12px 28px;
      border-radius: 60px;
      text-decoration: none;
      letter-spacing: .3px;
      box-shadow: 0 8px 22px -6px rgba(214, 40, 40, 0.3);
      transition: all .3s;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }



    .btn-cta:hover {
      transform: scale(1.05);
      box-shadow: 0 14px 30px -6px rgba(214, 40, 40, 0.55);
      background: linear-gradient(145deg, #C62828, #B71C1C);
      color: #fff;
    }



    .mobile-right-group {
      display: none;
      align-items: center;
      gap: 12px;
    }



    .language-selector-mobile {
      position: relative;
      display: inline-block;
    }



    .lang-btn-mobile {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: .85rem;
      color: #4A1A1A;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(214, 40, 40, 0.15);
      border-radius: 30px;
      padding: 6px 12px;
      cursor: pointer;
      transition: all .3s;
    }



    .lang-btn-mobile:hover {
      background: rgba(255, 255, 255, 0.8);
      border-color: rgba(214, 40, 40, 0.3);
    }



    .lang-current-mobile {
      font-weight: 700;
      color: #4A1A1A;
      font-size: .8rem;
    }



    .lang-dropdown-mobile {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      min-width: 150px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 12px;
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
      padding: 6px 0;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px) scale(.96);
      transition: all .3s;
      z-index: 100;
    }



    .lang-dropdown-mobile.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }



    .lang-dropdown-mobile a {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 500;
      font-size: .85rem;
      color: #2B2D42;
      text-decoration: none;
      padding: 8px 16px;
      transition: all .2s;
    }



    .lang-dropdown-mobile a:hover {
      background: rgba(214, 40, 40, 0.06);
      color: #D62828;
    }



    .lang-dropdown-mobile a.active-lang-mobile-link {
      color: #D62828;
      background: rgba(214, 40, 40, 0.08);
    }



    .lang-dropdown-mobile a.active-lang-mobile-link::before {
      content: '✓ ';
      font-weight: 700;
      color: #D62828;
    }



    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 32px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
      transition: transform .3s;
    }


    .hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }



    .mobile-overlay {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: 480px;
      background: linear-gradient(145deg, #D62828, #B71C1C);
      backdrop-filter: blur(8px);
      box-shadow: -20px 0 40px rgba(0, 0, 0, 0.06);
      padding: 80px 40px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transform: translateX(110%);
      transition: transform .4s;
      z-index: 1000;
      border-left: 1px solid rgba(214, 40, 40, 0.06);
      overflow-y: auto;
    }



    .mobile-overlay.open {
      transform: translateX(0);
    }



    .close-btn {
      position: absolute;
      top: 24px;
      right: 24px;
      width: 44px;
      height: 44px;
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: 2rem;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .3s, color .3s;
      border-radius: 50%;
      z-index: 1002;
    }



    .close-btn:hover {
      transform: rotate(90deg);
      color: #D62828;
      background: rgb(254, 217, 217);
    }



    .mobile-overlay ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 40px;
    }



    .mobile-overlay ul li {
      opacity: 0;
      transform: translateX(30px);
      transition: all .3s;
    }



    .mobile-overlay.open ul li {
      opacity: 1;
      transform: translateX(0);
    }


    .mobile-overlay.open ul li:nth-child(1) { transition-delay: .05s; }


    .mobile-overlay.open ul li:nth-child(2) { transition-delay: .10s; }


    .mobile-overlay.open ul li:nth-child(3) { transition-delay: .15s; }


    .mobile-overlay.open ul li:nth-child(4) { transition-delay: .20s; }


    .mobile-overlay.open ul li:nth-child(5) { transition-delay: .25s; }



    .mobile-overlay ul li a {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 2rem;
      color: #ffffff;
      text-decoration: none;
      transition: color .2s, transform .2s;
      display: inline-block;
      letter-spacing: -.02em;
    }



    .mobile-overlay ul li a:hover {
      color: #fbcccc;
      transform: translateX(6px);
    }



    .mobile-overlay .btn-cta-mobile:hover {
      transform: scale(1.03);
      box-shadow: 0 14px 30px -6px rgba(214, 40, 40, 0.55);
    }



    @media (max-width: 1024px) {
      .navbar { padding: 0 20px; left: 16px; right: 16px; }
    }



    @media (max-width: 920px) {
      .nav-links { display: none; }
      .right-wrapper { display: none; }
      .mobile-right-group { display: flex; }
      .hamburger { display: flex; }
      .navbar { height: 76px; }
      .logo-img { height: 72px; }
    }



    @media (max-width: 480px) {
      .navbar { left: 12px; right: 12px; top: 12px; padding: 0 14px; height: 68px; border-radius: 18px; }
      .logo-img { height: 60px; }
      .mobile-overlay { padding: 80px 28px 40px; max-width: 100%; }
      .mobile-overlay ul li a { font-size: 1.6rem; }
      .close-btn { top: 16px; right: 16px; font-size: 1.6rem; }
      .lang-btn-mobile { padding: 4px 10px; font-size: .75rem; }
      .lang-current-mobile { font-size: .7rem; }
      .hamburger { width: 28px; height: 20px; }
      .hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
      .hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
    }



    .back-button:hover i {
      transform: translateX(-6px);
    }
