/* LION SACCO public website. Same language as the sign-in page: the Night Atlas
   wallpaper, frosted glass, one warm accent (the gold of SACCO and the lion's eyes). */

:root {
  --gold: #fbbf24;
  --gold-2: #f59e0b;
  --gold-soft: rgba(251, 191, 36, .14);
  --ink: #0b0f17;
  --text: #e7ebf1;
  --muted: rgba(231, 235, 241, .68);
  --slate: 159, 179, 200;
  --glass: rgba(14, 19, 28, .55);
  --line: rgba(var(--slate), .18);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.site {
  margin: 0; color: var(--text); font: 16px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; background: #070a11;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.site::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("/assets/images/bg-themes/21.webp") center / cover no-repeat;
}
body.site::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 40% at 78% 18%, rgba(251, 191, 36, .14), transparent 70%),
    radial-gradient(50% 50% at 8% 90%, rgba(251, 191, 36, .07), transparent 70%),
    linear-gradient(180deg, rgba(5, 8, 14, .55), rgba(5, 8, 14, .78));
}
a { color: var(--gold); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6rem; color: #fff; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 2rem; }
.gold { color: var(--gold); background: linear-gradient(90deg, #fde68a, var(--gold) 40%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.glass {
  background: linear-gradient(145deg, rgba(var(--slate), .12), rgba(var(--slate), .03) 60%), var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem; border-radius: 12px; font-weight: 700; font-size: .95rem;
       border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(251, 191, 36, .55); outline-offset: 2px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, #fcd34d, var(--gold) 45%, var(--gold-2)); color: #111827; box-shadow: 0 10px 28px rgba(245, 158, 11, .35); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(245, 158, 11, .5); color: #111827; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-dark { background: #111827; color: #fff; }
.btn-dark:hover { color: var(--gold); }
.btn-dark-ghost { color: #111827; border-color: rgba(17, 24, 39, .4); }
.btn-dark-ghost:hover { background: rgba(17, 24, 39, .1); color: #111827; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 10, 17, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.brand b { color: var(--gold); }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .93rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; border-radius: 10px; width: 44px; height: 44px; font-size: 1.6rem; }
.nav-mobile-only { display: none; }
@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 16px 1rem; background: rgba(7, 10, 17, .96);
               border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; margin: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-mobile-only { display: block; color: var(--gold) !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 74px); display: flex; align-items: center; padding: 3rem 0 5rem; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
          text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(251, 191, 36, .35); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; margin-bottom: 1.1rem; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.6rem 2.2rem; margin: 0; }
.stats dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stats dd { margin: .15rem 0 0; font-size: 1.7rem; font-weight: 800; color: #fff; }
.stats dd small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.hero-art { position: relative; }
.lion-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(251, 191, 36, .28);
              box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 8px rgba(255, 255, 255, .03), 0 0 120px rgba(251, 191, 36, .12); }
.lion-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.03); animation: breathe 14s ease-in-out infinite alternate; }
.lion-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 9, 15, .85) 100%); }
.lion-word { position: absolute; left: 1.8rem; bottom: 1.6rem; line-height: 1; }
.lion-word span, .lion-word b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: .04em; }
.lion-word b { color: var(--gold); }
.lion-word small { display: block; margin-top: .6rem; color: var(--muted); font-size: .85rem; letter-spacing: .08em; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem; border-radius: 14px; font-weight: 700; font-size: .88rem; color: #fff;
        background: rgba(14, 19, 28, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip i { color: var(--gold); font-size: 1.2rem; }
.chip-a { top: 10%; left: -2.2rem; animation: float 6s ease-in-out infinite; }
.chip-b { bottom: 22%; right: -1.6rem; animation: float 7s ease-in-out -2s infinite; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); color: var(--muted); font-size: 2rem; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scroll-cue { animation-name: cue; } @keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes breathe { from { transform: scale(1.03); } to { transform: scale(1.09); } }
@media (max-width: 991px) {
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-in { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .chip-a { left: -.5rem; } .chip-b { right: -.5rem; }
  .stats { grid-template-columns: repeat(2, auto); }
}

/* ---------- sections ---------- */
.sec { padding: 5.5rem 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head p { color: var(--muted); }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.grid { display: grid; gap: 1.2rem; }
.grid-values { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-team { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.card { padding: 1.6rem; transition: transform .2s ease, border-color .2s ease; }
.card:hover, .product:hover, .person:hover { transform: translateY(-4px); border-color: rgba(251, 191, 36, .4); }
.card h3, .product h3, .step h3, .person h3 { font-size: 1.15rem; font-weight: 700; }
.card p, .product p, .step p, .person p { color: var(--muted); font-size: .95rem; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.55rem; margin-bottom: 1rem;
       color: #111827; background: linear-gradient(135deg, #fcd34d, var(--gold-2)); box-shadow: 0 8px 22px rgba(245, 158, 11, .3); }
.ico-lg { width: 60px; height: 60px; font-size: 1.85rem; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.about-copy p { color: var(--muted); }
.about-panel { padding: 1rem 1.4rem; }
.about-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.about-row:last-child { border: 0; }
.about-row i { font-size: 1.7rem; color: var(--gold); width: 40px; text-align: center; }
.about-row b { display: block; color: #fff; }
.about-row span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.product { padding: 1.8rem; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #fcd34d, var(--gold-2)); }
.product p { flex: 1 1 auto; }
.facts { list-style: none; padding: 0; margin: .4rem 0 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.facts span { color: var(--muted); }
.facts b { color: #fff; }
.facts b small { color: var(--muted); font-weight: 500; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.2rem; counter-reset: s; }
.step { padding: 1.6rem; position: relative; }
.step-n { position: absolute; top: 1.1rem; right: 1.3rem; font-size: 2.6rem; font-weight: 800; color: rgba(251, 191, 36, .2); line-height: 1; }

.person { padding: 1.6rem; text-align: center; transition: transform .2s ease, border-color .2s ease; }
.person img, .avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid rgba(251, 191, 36, .6); }
.avatar { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: #111827; background: linear-gradient(135deg, #fcd34d, var(--gold-2)); }
.role { display: block; color: var(--gold); font-weight: 700; font-size: .85rem; margin-bottom: .6rem; }
.quote { padding: 1.6rem; margin: 0; }
.quote i { font-size: 2rem; color: var(--gold); }
.quote blockquote { margin: .4rem 0 1rem; color: #fff; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

.faq { display: grid; gap: .8rem; }
.faq details { padding: 0 1.3rem; border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--gold); font-size: 1.3rem; transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .8rem; align-items: center; }
.contact-list i { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--gold); background: var(--gold-soft); }
.contact-list a { color: #fff; }
.map { width: 100%; height: 240px; border: 0; border-radius: 14px; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.contact-form { padding: 1.8rem; display: grid; gap: .9rem; }
.contact-form h3 { font-size: 1.3rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: #fff; background: rgba(0, 0, 0, .35); border: 1px solid rgba(var(--slate), .25); border-radius: 12px; padding: .75rem .9rem; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, .2); }
.form-msg { min-height: 1.2em; margin: 0; font-size: .9rem; }
.form-msg.ok { color: #4ade80; } .form-msg.bad { color: #fca5a5; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

.band { padding: 0 0 5rem; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.4rem 2.6rem; border-radius: 24px;
           background: linear-gradient(120deg, #fcd34d, var(--gold) 45%, var(--gold-2)); color: #111827; box-shadow: 0 30px 80px rgba(245, 158, 11, .25); }
.band-in h2 { color: #111827; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.band-in p { margin: 0; color: rgba(17, 24, 39, .8); font-weight: 500; }
.band-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

.foot { border-top: 1px solid var(--line); background: rgba(5, 8, 14, .75); padding: 2.6rem 0 1.4rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; align-items: center; }
.foot-in p { color: var(--muted); margin: .4rem 0 0; font-size: .9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot-links a { color: rgba(255, 255, 255, .75); font-size: .92rem; }
.foot-links a:hover { color: var(--gold); }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; border: 1px solid var(--line); }
.social a:hover { color: #111827; background: var(--gold); }
.foot-legal { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted); font-size: .82rem; }

/* ---------- live chat ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.2rem; border-radius: 999px; border: 0; cursor: pointer;
            font: 700 .95rem "Plus Jakarta Sans", sans-serif; color: #111827; background: linear-gradient(135deg, #fcd34d, var(--gold-2)); box-shadow: 0 14px 34px rgba(245, 158, 11, .45); }
.chat-fab i { font-size: 1.5rem; }
.chat-fab .dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.chat-box { position: fixed; right: 20px; bottom: 90px; z-index: 61; width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden; background: rgba(12, 16, 24, .92); }
.chat-box[hidden] { display: none; }
.chat-box header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; background: linear-gradient(135deg, rgba(251, 191, 36, .22), rgba(251, 191, 36, .05)); border-bottom: 1px solid var(--line); }
.chat-box header small { display: block; color: var(--muted); font-size: .78rem; }
.chat-x { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
.chat-start { padding: 1rem 1.1rem; overflow-y: auto; }
.chat-start form { display: grid; gap: .55rem; }
.chat-greet { color: var(--muted); font-size: .9rem; }
.chat-thread { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.chat-thread[hidden] { display: none; }
.chat-msgs { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; min-height: 240px; }
.msg { max-width: 82%; padding: .55rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg small { display: block; font-size: .68rem; opacity: .7; margin-top: .15rem; }
.msg.me { align-self: flex-end; background: var(--gold); color: #111827; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: rgba(255, 255, 255, .09); color: #fff; border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: none; color: var(--muted); font-size: .78rem; text-align: center; }
.chat-send { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat-send input { flex: 1 1 auto; }
.chat-send button { width: 46px; border: 0; border-radius: 12px; background: var(--gold); color: #111827; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 575px) { .chat-fab span { display: none; } .chat-fab { padding: .9rem; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lion-frame img, .chip, .scroll-cue { animation: none; }
}

/* ---------------------------------------------- reports & downloads */
.grid-reports { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.report { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; border-radius: 18px; }
.report-year { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--gold); }
.report h3 { font-size: 1.02rem; font-weight: 700; }
.report p { color: var(--muted); font-size: .9rem; margin: 0; }
.report-files { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .4rem; }
.btn-sm { padding: .4rem .8rem; font-size: .82rem; border-radius: 999px; }
.downloads-head { font-size: 1.1rem; font-weight: 700; margin: 2.4rem 0 .9rem; }
.downloads { list-style: none; margin: 0; padding: .4rem 1.2rem; border-radius: 18px; }
.downloads li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.downloads li:last-child { border-bottom: 0; }
.downloads li span { display: block; color: var(--muted); font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
