/* Traguardo Group — допълнителен стил (горна лента, подвижна лента, митнически курсове) */
:root{--tg-gold:#b8964e;--tg-gold-2:#d4b46a;--tg-dark:#0f1412;--tg-glass:rgba(15,20,18,.78)}

/* ---------- Горна информационна лента ---------- */
.tg-topbar{background:#fff;border-bottom:1px solid var(--gray-200,#e2e2e0);font:600 12.5px/1 var(--font-body,Inter,sans-serif);color:#1c1c1c}
.tg-topbar .tg-wrap{max-width:var(--max-width,1140px);margin:0 auto;padding:9px 24px;display:flex;justify-content:center;gap:56px;flex-wrap:wrap}
.tg-topbar a{color:inherit;text-decoration:none}
.tg-topbar a:hover{color:var(--tg-gold)}
.tg-topbar b{font-weight:600;color:#6b6b6b;margin-right:4px}

/* ---------- Бутон „Контакти“ в менюто ---------- */
.nav-links > li > a.tg-cta{background:var(--tg-gold);color:#fff!important;padding:10px 20px;border-radius:4px;font-weight:700}
.nav-links > li > a.tg-cta:hover{background:#9c7d3c}
.nav-links > li > a.tg-cta::after{display:none!important}

/* ---------- Подвижна лента ---------- */
.tg-ticker{background:var(--tg-dark);color:#e9e6df;border-bottom:2px solid var(--tg-gold);overflow:hidden;white-space:nowrap;font:500 13px/1 var(--font-body,Inter,sans-serif);height:36px;display:flex;align-items:center;position:relative}
.tg-ticker-track{display:inline-flex;animation:tg-marquee 90s linear infinite;will-change:transform}
.tg-ticker:hover .tg-ticker-track{animation-play-state:paused}
.tg-ticker-group{display:inline-flex;align-items:center;padding-right:40px}
.tg-ti{display:inline-flex;align-items:center;gap:6px;margin-right:22px}
.tg-ti svg{width:14px;height:14px;flex:none;color:var(--tg-gold-2)}
.tg-ti strong{color:#fff;font-weight:700;margin-left:16px}
.tg-ti .up{color:#7fd18b}.tg-ti .down{color:#ef8a7a}
.tg-sep{color:var(--tg-gold);margin-right:22px}
@keyframes tg-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.tg-ticker-track{animation-duration:400s}}

/* ---------- Начална страница: hero като в референцията ---------- */
.tg-home .hero{padding:110px 0 70px}
.tg-home .hero .container{max-width:var(--max-width,1140px);text-align:left}
.tg-home .hero h1{text-align:left;max-width:700px;font-size:clamp(2rem,4.2vw,3.4rem);margin-left:0}
.tg-home .hero .lead{text-align:left;max-width:640px;margin-left:0}
.tg-home .hero .page-logo-wrap{justify-content:flex-start;text-align:left}
.tg-home .hero .page-logo-wrap img{width:72px;height:auto}
.tg-home .hero .hero-actions{justify-content:flex-start}
.tg-hero-inner{position:relative}

.tg-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:46px}
.tg-tile{display:flex;flex-direction:column;justify-content:space-between;min-height:118px;padding:18px 16px;border:1.5px solid rgba(255,255,255,.85);border-radius:6px;color:#fff;text-decoration:none;background:rgba(0,0,0,.18);backdrop-filter:blur(2px);transition:background .2s,color .2s,transform .2s}
.tg-tile span{font:700 15px/1.25 var(--font-body,Inter,sans-serif)}
.tg-tile small{font:400 12px/1.2 var(--font-heading,serif);opacity:.8;margin-top:12px}
.tg-tile:hover{background:#fff;color:var(--tg-dark);transform:translateY(-2px)}

/* ---------- Митнически валутни курсове ---------- */
.tg-rates{position:absolute;top:-60px;right:24px;width:236px;background:var(--tg-glass);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px 12px 10px;color:#fff;font-family:var(--font-body,Inter,sans-serif);box-shadow:0 14px 40px rgba(0,0,0,.35);backdrop-filter:blur(6px);z-index:3}
.tg-rates h3{font:700 13px/1.25 var(--font-body,Inter,sans-serif);margin:0 0 4px;color:#fff;text-align:left}
.tg-rates .tg-valid{font-size:10.5px;color:#cfcac0;margin-bottom:8px}
.tg-rates table{width:100%;border-collapse:collapse;font-size:12px}
.tg-rates td{padding:5px 2px;border-top:1px solid rgba(255,255,255,.1)}
.tg-rates td:first-child{font-weight:700}
.tg-rates td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.tg-rates .tg-flag{display:inline-block;width:18px;margin-right:6px}
.tg-rates .tg-foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:10.5px;color:#cfcac0}
.tg-rates button{background:#fff;color:var(--tg-dark);border:0;border-radius:3px;font:700 10.5px/1 var(--font-body,Inter,sans-serif);padding:5px 8px;cursor:pointer}
.tg-rates button:hover{background:var(--tg-gold);color:#fff}

/* модален прозорец */
.tg-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:1000;padding:16px}
.tg-modal.open{display:flex}
.tg-modal-box{background:#fff;color:#1c1c1c;max-width:520px;width:100%;max-height:85vh;overflow:auto;border-radius:8px;padding:22px 22px 16px;font-family:var(--font-body,Inter,sans-serif)}
.tg-modal-box h3{margin:0 0 4px;font:700 18px/1.3 var(--font-heading,serif)}
.tg-modal-box p{margin:0 0 12px;font-size:13px;color:#6b6b6b}
.tg-modal-box table{width:100%;border-collapse:collapse;font-size:13.5px}
.tg-modal-box th,.tg-modal-box td{padding:7px 6px;border-bottom:1px solid #eee;text-align:left}
.tg-modal-box td:last-child,.tg-modal-box th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.tg-modal-close{float:right;background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:#555}
.tg-modal-note{font-size:11.5px;color:#888;margin-top:12px}

/* ---------- Странична лента с контакти ---------- */
.tg-side{position:fixed;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;z-index:90}
.tg-side a{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--tg-dark);border-bottom:1px solid rgba(255,255,255,.12);transition:width .2s,background .2s}
.tg-side a:first-child{border-top-left-radius:6px}.tg-side a:last-child{border-bottom-left-radius:6px;border-bottom:0}
.tg-side a:hover{background:var(--tg-gold);width:52px}
.tg-side svg{width:19px;height:19px}

/* ---------- Мобилни ---------- */
@media (max-width:1100px){
  .tg-tiles{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .tg-rates{position:static;width:auto;margin:30px 0 0;max-width:420px}
  .tg-topbar .tg-wrap{gap:18px;justify-content:space-between}
  .tg-topbar .tg-hide-m{display:none}
}
@media (max-width:640px){
  .tg-home .hero{padding:70px 0 50px}
  .tg-tiles{grid-template-columns:1fr 1fr;gap:10px}
  .tg-tile{min-height:96px;padding:14px 12px}
  .tg-side{display:none}
  .tg-topbar b{display:none}
}
