/* =====================================================================
   HAGATE — odswiezony front (2026-11)
   Ladowany TYLKO w layout_front.php, po custom_panel.css.
   Wszystko pod body.hg-front, zeby nie dotknac panelu klienta.
   ===================================================================== */

body.hg-front {
    --hg-ink: #0b1024;
    --hg-ink-2: #1e2540;
    --hg-muted: #5b6480;
    --hg-soft: #8a93ad;
    --hg-line: #e4e8f2;
    --hg-bg: #f6f8fc;
    --hg-card: #ffffff;
    --hg-indigo: #6366f1;
    --hg-blue: #3b82f6;
    --hg-cyan: #06b6d4;
    --hg-violet: #8b5cf6;
    --hg-amber: #fbbf24;
    --hg-green: #22c55e;
    --hg-grad: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
    --hg-grad-text: linear-gradient(120deg, #818cf8 0%, #60a5fa 45%, #22d3ee 100%);
    --hg-radius: 20px;
    --hg-shadow-sm: 0 1px 2px rgba(11,16,36,.04), 0 4px 14px rgba(11,16,36,.05);
    --hg-shadow: 0 2px 6px rgba(11,16,36,.04), 0 18px 48px rgba(11,16,36,.08);
    --hg-head: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    --hg-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* zmienne uzywane przez stare widoki frontu (pricing/about/...) */
    --text-main: var(--hg-ink);
    --text-muted: var(--hg-muted);
    --border-color: var(--hg-line);

    display: block;
    margin: 0;
    background: var(--hg-bg);
    color: var(--hg-ink);
    font-family: var(--hg-body);
    -webkit-font-smoothing: antialiased;
}
/* custom_panel.css wymusza Segoe na '*' — nadpisujemy (bez ikon <i>) */
body.hg-front *:not(i) { font-family: inherit; }
body.hg-front h1, body.hg-front h2, body.hg-front h3, body.hg-front h4 { font-family: var(--hg-head); letter-spacing: -0.02em; }
body.hg-front ::selection { background: rgba(99,102,241,.22); }

.hg-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------------
   LOGO
   --------------------------------------------------------------------- */
.hg-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.hg-brand-mark { width: 44px; height: 44px; display: block; filter: drop-shadow(0 6px 14px rgba(59,130,246,.35)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.hg-brand:hover .hg-brand-mark { transform: rotate(-6deg) scale(1.05); }
.hg-brand-copy { display: flex; flex-direction: column; line-height: 1; }
.hg-brand-word { font-family: var(--hg-head) !important; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--hg-ink); }
.hg-brand-word b { font-weight: 800; background: var(--hg-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hg-brand-slogan { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hg-soft); }
.hg-brand--light .hg-brand-word { color: #fff; }
.hg-brand--light .hg-brand-slogan { color: #8a93ad; }

/* ---------------------------------------------------------------------
   NAWIGACJA (sticky, szklo)
   --------------------------------------------------------------------- */
body.hg-front .front-navbar {
    position: sticky; top: 0; left: auto; right: auto;
    z-index: 900;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 12px max(24px, calc((100vw - 1248px) / 2));
    background: rgba(255,255,255,.78);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(228,232,242,.9);
    box-shadow: none;
    transition: box-shadow .25s, background .25s;
}
body.hg-front .front-navbar.is-scrolled { background: rgba(255,255,255,.92); box-shadow: 0 8px 30px rgba(11,16,36,.07); }

body.hg-front .front-nav-links { display: flex; align-items: center; list-style: none; gap: 4px; margin: 0; padding: 0; }
body.hg-front .front-nav-link {
    position: relative; display: inline-block; padding: 9px 14px; border-radius: 10px;
    color: var(--hg-ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
    transition: color .2s, background .2s;
}
body.hg-front .front-nav-link:hover { color: var(--hg-ink); background: rgba(99,102,241,.08); }

.hg-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: var(--hg-ink-2); font-size: 17px; text-decoration: none; transition: background .2s, color .2s; }
.hg-cart:hover { background: rgba(99,102,241,.08); color: var(--hg-indigo); }
.hg-cart-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }

.front-nav-tail { display: flex; align-items: center; gap: 10px; margin-left: 10px; padding-left: 16px; border-left: 1px solid var(--hg-line); }

body.hg-front .lang-switcher-pill { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #eef1f8; border: 1px solid var(--hg-line); }
body.hg-front .lang-switcher-pill a { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--hg-muted); text-decoration: none; transition: .2s; }
body.hg-front .lang-switcher-pill a:hover { color: var(--hg-indigo); }
body.hg-front .lang-switcher-pill a.active { background: #fff; color: var(--hg-indigo); box-shadow: 0 2px 6px rgba(11,16,36,.08); }

.hg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 12px; border: 0; cursor: pointer;
    font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.hg-btn--primary { background: var(--hg-grad); background-size: 140% 140%; color: #fff; box-shadow: 0 8px 22px rgba(59,130,246,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.hg-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(59,130,246,.42), inset 0 1px 0 rgba(255,255,255,.25); background-position: 100% 0; }
.hg-btn--ghost { color: var(--hg-ink-2); background: transparent; }
.hg-btn--ghost:hover { background: rgba(99,102,241,.08); color: var(--hg-ink); }
.hg-btn--glass { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hg-btn--glass:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.hg-btn--white { background: #fff; color: var(--hg-ink); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.hg-btn--white:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0,0,0,.24); }
.hg-btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }

.hg-logout { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; color: var(--hg-soft); font-size: 16px; transition: .2s; }
.hg-logout:hover { color: #ef4444; background: #fef2f2; }

body.hg-front .front-burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; font-size: 20px; color: var(--hg-ink); }
body.hg-front .front-burger:hover { background: rgba(99,102,241,.08); }

@media (max-width: 1360px) { .hg-brand-slogan { display: none; } }
@media (max-width: 1240px) {
    body.hg-front .front-nav-link { padding: 9px 10px; font-size: 14.5px; }
    .front-nav-tail { margin-left: 4px; padding-left: 10px; gap: 6px; }
    .hg-btn { padding: 10px 15px; font-size: 14px; }
}
@media (max-width: 1080px) {
    body.hg-front .front-burger { display: inline-flex; align-items: center; justify-content: center; }
    body.hg-front .front-nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 18px 18px; background: #fff;
        border-bottom: 1px solid var(--hg-line); box-shadow: 0 24px 48px rgba(11,16,36,.14);
    }
    body.hg-front .front-nav-links.open { display: flex; }
    body.hg-front .front-nav-links > li > a.front-nav-link { display: block; padding: 13px 12px; font-size: 16px; }
    .hg-cart { width: auto; justify-content: flex-start; padding: 0 12px; gap: 10px; }
    .hg-cart-badge { position: static; box-shadow: none; }
    .front-nav-tail { flex-direction: column; align-items: stretch; gap: 12px; margin: 8px 0 0; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--hg-line); }
    body.hg-front .lang-switcher-pill { align-self: flex-start; }
    .front-nav-tail .hg-btn { padding: 14px; font-size: 15px; }
    .hg-logout { align-self: flex-start; }
}

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.hg-hero {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: 0;
    padding: clamp(56px, 9vw, 112px) 20px clamp(64px, 9vw, 104px);
    text-align: center; color: #fff;
    background: #070b1d url('../front/hero-bg.svg') center 38% / cover no-repeat;
}
.hg-hero::after { /* miekkie przejscie w jasna sekcje */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1;
    background: linear-gradient(180deg, rgba(7,11,29,0) 0%, rgba(7,11,29,.55) 100%);
}
.hg-hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }

.hg-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 8px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #e2e8f0; font-size: 14px; font-weight: 600;
    text-decoration: none;
}
.hg-eyebrow-tag { padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #451a03; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hg-eyebrow strong { color: #fff; }

.hg-hero-title {
    margin: 26px 0 0;
    font-size: clamp(40px, 7.4vw, 80px); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em;
    color: #fff;
    text-wrap: balance;
}
.hg-hero-title .hg-grad-word { background: var(--hg-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .06em; }
.hg-hero-sub { max-width: 640px; margin: 22px auto 0; color: #b8c1da; font-size: clamp(16px, 2.1vw, 19px); line-height: 1.65; font-weight: 500; text-wrap: pretty; }

/* wyszukiwarka */
.hg-search { max-width: 760px; margin: clamp(30px, 4.5vw, 42px) auto 0; }
.hg-search-box {
    position: relative; display: flex; align-items: center; gap: 8px;
    padding: 8px; border-radius: 18px; background: #fff;
    box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 0 8px rgba(255,255,255,.06), 0 30px 70px rgba(2,6,23,.55);
    transition: box-shadow .25s;
}
.hg-search-box:focus-within { box-shadow: 0 0 0 2px #818cf8, 0 0 0 9px rgba(129,140,248,.22), 0 30px 70px rgba(2,6,23,.55); }
.hg-search-ico { padding-left: 14px; color: #94a3b8; font-size: 19px; }
body.hg-front .hg-search-input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 15px 8px; font-size: 18px; font-weight: 500; color: var(--hg-ink); }
.hg-search-input::placeholder { color: #9aa3ba; }
body.hg-front .hg-search-btn { padding: 0 30px; height: 56px; border-radius: 13px; font-size: 16px; letter-spacing: .02em; }
.hg-tlds { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; color: #8a93ad; font-size: 13.5px; font-weight: 600; }
.hg-tld-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #dbe3f5; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: .2s; }
.hg-tld-chip:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; transform: translateY(-1px); }

.hg-hero-contact { margin-top: 26px; color: #8a93ad; font-size: 15px; }
.hg-link-grad { cursor: pointer; font-weight: 700; background: var(--hg-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; border-bottom: 1px solid rgba(129,140,248,.5); }
.hg-link-grad:hover { border-bottom-color: #22d3ee; }

.hg-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.hg-tick { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e2e8f0; font-size: 14px; font-weight: 600; }
.hg-tick i { color: #4ade80; }
.hg-flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.35); background: linear-gradient(#fff 50%, #dc143c 50%); }

/* animacja wejscia */
.hg-in { opacity: 0; transform: translateY(18px); animation: hgIn .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hg-d1 { animation-delay: .05s } .hg-d2 { animation-delay: .15s } .hg-d3 { animation-delay: .28s } .hg-d4 { animation-delay: .4s } .hg-d5 { animation-delay: .52s }
@keyframes hgIn { to { opacity: 1; transform: none; } }

/* pasek promo */
.hg-promo-bar { position: relative; overflow: hidden; background: linear-gradient(90deg, #4f46e5, #2563eb 50%, #0891b2); color: #fff; text-align: center; padding: 15px 20px; font-weight: 600; font-size: clamp(14px, 2vw, 16.5px); }
.hg-promo-bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: hgShine 5.5s ease-in-out infinite; }
.hg-promo-bar span { position: relative; }
@keyframes hgShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.hg-testmode { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; text-align: center; padding: 11px 20px; font-size: 14px; font-weight: 600; }

/* ---------------------------------------------------------------------
   SEKCJE
   --------------------------------------------------------------------- */
.hg-section { padding: clamp(64px, 10vw, 112px) 0; }
.hg-section--white { background: #fff; }
.hg-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.hg-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hg-indigo); }
.hg-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--hg-grad); }
.hg-h2 { margin: 14px 0 0; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; line-height: 1.1; color: var(--hg-ink); text-wrap: balance; }
.hg-lead { margin: 16px auto 0; color: var(--hg-muted); font-size: clamp(16px, 1.9vw, 18px); line-height: 1.7; }

/* --- Bento: DNS + kafelki --- */
.hg-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hg-card {
    position: relative; background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: var(--hg-radius);
    padding: 28px; box-shadow: var(--hg-shadow-sm);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.hg-card:hover { transform: translateY(-4px); box-shadow: var(--hg-shadow); border-color: #c7d2fe; }
.hg-ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; color: #fff; box-shadow: 0 10px 22px -6px var(--c, rgba(99,102,241,.6)); }
.hg-card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 700; color: var(--hg-ink); }
.hg-card p { margin: 0; color: var(--hg-muted); font-size: 15px; line-height: 1.65; }

.hg-card--dns {
    grid-column: span 2; overflow: hidden; display: flex; align-items: center; gap: 28px;
    padding: clamp(28px, 4vw, 40px);
    background: radial-gradient(120% 140% at 100% 0%, #312e81 0%, #1e1b4b 40%, #0b1024 100%);
    border-color: transparent; color: #fff;
}
.hg-card--dns:hover { border-color: transparent; }
.hg-card--dns h3 { color: #fff; font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; }
.hg-card--dns p { color: #c7d2fe; font-size: 16px; max-width: 460px; }
.hg-badge { display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #451a03; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hg-dns-art { flex-shrink: 0; width: 210px; max-width: 38%; margin-left: auto; }
.hg-card--trust { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #eef2ff, #ecfeff); border-color: #dbe4ff; }
.hg-big { font-family: var(--hg-head) !important; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; background: var(--hg-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .05em; }
.hg-card--trust .hg-big-sub { margin-top: 6px; font-weight: 700; color: var(--hg-ink-2); font-size: 16px; }

@media (max-width: 980px) {
    .hg-bento { grid-template-columns: repeat(2, 1fr); }
    .hg-card--dns { grid-column: span 2; }
}
@media (max-width: 640px) {
    .hg-bento { grid-template-columns: 1fr; }
    .hg-card--dns { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .hg-dns-art { display: none; }
}

/* --- Doswiadczenie (split) --- */
.hg-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hg-split .hg-head { text-align: left; margin: 0; }
.hg-split .hg-lead { margin-left: 0; }
.hg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hg-pill { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hg-line); color: var(--hg-ink-2); font-size: 14px; font-weight: 600; box-shadow: var(--hg-shadow-sm); }
.hg-split-cta { margin-top: 28px; color: var(--hg-muted); font-size: 15.5px; line-height: 1.6; }
.hg-split-cta .hg-link-grad { background: var(--hg-grad); -webkit-background-clip: text; background-clip: text; }
.hg-years { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.hg-years .hg-big { font-size: clamp(56px, 8vw, 88px); }
.hg-years span:last-child { font-weight: 700; font-size: 18px; color: var(--hg-ink-2); }

.hg-art-wrap { position: relative; }
.hg-art-wrap::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; background: var(--hg-grad); filter: blur(60px); opacity: .28; z-index: 0; }
.hg-art-wrap svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .hg-split { grid-template-columns: 1fr; } .hg-art-wrap { max-width: 520px; } }

/* --- CTA uslugi --- */
.hg-cta {
    position: relative; overflow: hidden; border-radius: 28px;
    padding: clamp(40px, 7vw, 76px) clamp(24px, 6vw, 72px);
    background: #1e1b4b url('../front/cta-bg.svg') center / cover no-repeat;
    color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
    box-shadow: 0 30px 70px -20px rgba(30,27,75,.55);
}
.hg-cta h2 { margin: 14px 0 0; font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; line-height: 1.12; color: #fff; text-wrap: balance; }
.hg-cta p { margin: 16px 0 0; color: #c7d2fe; font-size: 16.5px; line-height: 1.7; max-width: 560px; }
.hg-cta .hg-kicker { color: #a5f3fc; }
.hg-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.hg-cta-mail { color: #c7d2fe; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hg-cta-mail:hover { color: #fff; }
@media (max-width: 860px) { .hg-cta { grid-template-columns: 1fr; } .hg-cta-actions { justify-self: start; } }

/* --- FAQ --- */
.hg-faq { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.hg-faq .hg-head { text-align: left; margin: 0; }
.hg-faq .hg-lead { margin-left: 0; }
.hg-faq-side { position: sticky; top: 100px; }
.hg-help-card { margin-top: 28px; padding: 24px; border-radius: var(--hg-radius); background: linear-gradient(160deg, #eef2ff, #ecfeff); border: 1px solid #dbe4ff; }
.hg-help-card h4 { margin: 0 0 6px; font-size: 17px; color: var(--hg-ink); }
.hg-help-card p { margin: 0 0 16px; color: var(--hg-muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .hg-faq { grid-template-columns: 1fr; } .hg-faq-side { position: static; } }

body.hg-front .faq-item { margin-bottom: 12px; border: 1px solid var(--hg-line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--hg-shadow-sm); transition: border-color .2s, box-shadow .2s; }
body.hg-front .faq-item.open { border-color: #c7d2fe; box-shadow: var(--hg-shadow); }
body.hg-front .faq-toggle { width: 100%; padding: 20px 22px; background: none; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; text-align: left; outline: none; }
body.hg-front .faq-toggle span { font-weight: 700; color: var(--hg-ink); font-size: 16px; line-height: 1.45; pointer-events: none; }
body.hg-front .faq-toggle i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--hg-indigo); font-size: 12px; transition: transform .3s, background .2s, color .2s; pointer-events: none; }
body.hg-front .faq-item.open .faq-toggle i { background: var(--hg-indigo); color: #fff; }
body.hg-front .faq-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
body.hg-front .faq-content p { padding: 0 22px 22px; margin: 0; color: var(--hg-muted); font-size: 15px; line-height: 1.7; }

/* --- reveal przy scrollu --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   STOPKA
   --------------------------------------------------------------------- */
body.hg-front footer.hg-footer { background: #070b1d !important; color: #8a93ad; border-top: 0; padding: 72px 0 32px; text-align: left; position: relative; overflow: hidden; }
.hg-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(129,140,248,.6), rgba(34,211,238,.6), transparent); }
.hg-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.hg-footer p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.hg-footer h5 { margin: 6px 0 16px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-family: var(--hg-head); }
.hg-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hg-footer a { color: #aab3cc; text-decoration: none; font-size: 14.5px; transition: color .2s; }
.hg-footer a:hover { color: #fff; }
.hg-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 860px) { .hg-footer-grid { grid-template-columns: 1fr 1fr; } .hg-footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------------
   COOKIE
   --------------------------------------------------------------------- */
#cookie-banner.hg-cookie { display: none; position: fixed; left: 20px; bottom: 20px; right: 20px; max-width: 420px; z-index: 9999; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--hg-line); box-shadow: 0 24px 60px rgba(11,16,36,.18); transition: opacity .3s; }
.hg-cookie-row { display: flex; gap: 14px; align-items: flex-start; }
.hg-cookie-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--hg-grad); color: #fff; font-size: 18px; }
.hg-cookie h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: var(--hg-ink); }
.hg-cookie p { margin: 0; color: var(--hg-muted); font-size: 13px; line-height: 1.6; }
.hg-cookie p a { color: var(--hg-indigo); font-weight: 700; text-decoration: none; }
.hg-cookie-actions { margin-top: 18px; display: flex; gap: 8px; }
.hg-cookie-actions .hg-btn { flex: 1; padding: 12px; font-size: 14px; }
.hg-cookie-actions .hg-btn--soft { flex: 0 0 auto; background: #f1f4fa; color: var(--hg-muted); }
.hg-cookie-actions .hg-btn--soft:hover { background: #e7ebf5; }

/* ---------------------------------------------------------------------
   Pozostale podstrony frontu — delikatne ujednolicenie
   --------------------------------------------------------------------- */
body.hg-front section[style*="#f8fafc"] { background-color: var(--hg-bg) !important; }

@media (max-width: 560px) {
    .hg-search-box { flex-wrap: wrap; padding: 8px; }
    .hg-search-ico { display: none; }
    body.hg-front .hg-search-input { padding: 14px 12px; font-size: 16px; }
    body.hg-front .hg-search-btn { flex: 1 1 100%; height: 52px; }
    .hg-ticks { gap: 8px; }
    .hg-tick { font-size: 13px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .hg-in, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
    .hg-promo-bar::before { animation: none; display: none; }
}

/* Font Awesome — po nadpisaniu fontu na '*' upewniamy sie, ze ikony maja swoj krój */
body.hg-front .fa-solid, body.hg-front .fas, body.hg-front .fa-regular, body.hg-front .far { font-family: "Font Awesome 6 Free" !important; }
body.hg-front .fa-brands, body.hg-front .fab { font-family: "Font Awesome 6 Brands" !important; }
