/* =====================================================================
   haloip.css — szata graficzna haloip.pl
   Ładowany PO layout2025.css i wyłącznie w layout/haloip.php.
   1) tokeny nadpisujące layout2025  2) nagłówek  3) baner podstron
   4) treść wspólna  5) strona główna  6) stopka  7) responsywność
   ===================================================================== */

/* 1. TOKENY ---------------------------------------------------------- */
body.theme-haloip {
    --brand:        #c2410c;
    --brand-2:      #ea580c;
    --brand-dark:   #9a3412;
    --brand-action: #b13a0a;
    --brand-soft:   #fbf0e7;
    --brand-border: #f2cfb6;
    --ink:    #14161c;
    --ink-2:  #1f2a44;
    --text:   #3c3f48;
    --muted:  #6f717a;
    --faint:  #9a9ca3;
    --border:      #e4dfd4;
    --border-soft: #eeeae1;
    --bg:   #f6f4ef;
    --card: #ffffff;
    --tint: #faf8f4;
    --radius-lg: 22px;
    --radius:    16px;
    --radius-sm: 11px;
    --shadow-sm: 0 1px 2px rgba(20, 22, 28, .05), 0 1px 1px rgba(20, 22, 28, .03);
    --shadow:    0 1px 2px rgba(20, 22, 28, .05), 0 14px 34px -18px rgba(20, 22, 28, .22);
    --shadow-lg: 0 2px 6px rgba(20, 22, 28, .05), 0 32px 70px -30px rgba(20, 22, 28, .32);
    --button-shadow:      0 10px 30px -10px rgba(194, 65, 12, .45);
    --font: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --navy: #1f2a44;
    --amber: #f59e0b;

    color-scheme: light;
    background: var(--bg);
    color: var(--text);
}
.theme-haloip ::selection { background: rgba(194, 65, 12, .18); color: var(--ink); }
.theme-haloip :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.theme-haloip .hl-ic { width: 20px; height: 20px; flex: none; }

.hl-skip { position: absolute; left: -9999px; top: 0; }
.hl-skip:focus { left: 16px; top: 12px; z-index: 2000; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }

/* Nagłówki w treści — szeryfowy krój display */
.theme-haloip h1, .theme-haloip h2, .theme-haloip h3 { font-family: var(--font-display); color: var(--ink); letter-spacing: -.015em; }
.theme-haloip #tresc_strony h1 { font-weight: 600; }
.theme-haloip #tresc_strony h2, .theme-haloip #tresc_strony h3 { font-weight: 600; }

/* 2. NAGŁÓWEK -------------------------------------------------------- */
.theme-haloip .topbar { background-color: rgba(246, 244, 239, .82); border-bottom: 1px solid rgba(228, 223, 212, .7); }
.theme-haloip .topbar--scrolled { background-color: rgba(246, 244, 239, .94); box-shadow: 0 6px 24px -10px rgba(20, 22, 28, .18); }
.hl-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none !important; }
.hl-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 6px 12px rgba(194, 65, 12, .28)); }
.hl-wordmark { font: 700 23px/1 var(--font); letter-spacing: -.03em; color: var(--ink); }
.hl-wordmark b { font-weight: 700; color: var(--brand); }
.theme-haloip .menu-link { color: var(--text); font-weight: 500; }
.theme-haloip .menu-link:hover { background-color: transparent; color: var(--ink); }
.theme-haloip .menu-link.active { color: var(--ink); font-weight: 600; }
.theme-haloip .menu-link::after { background: linear-gradient(90deg, var(--brand), var(--amber)); }
.theme-haloip .hl-login { border: 1px solid var(--border); background: rgba(255, 255, 255, .6); margin-left: 6px; }
.theme-haloip .hl-login::after { display: none; }
.theme-haloip .hl-login:hover { border-color: var(--ink); }
.theme-haloip .menu-cta .btn-primary,
.theme-haloip .menu-cta .btn-small {
    background: var(--ink); color: #fff; border-color: var(--ink);
    border-radius: 12px; box-shadow: 0 8px 22px -12px rgba(20, 22, 28, .55);
}
.theme-haloip .menu-cta .btn-primary:hover { background: #000; color: #fff; }

/* Przyciski wspólne (formularze, cennik) w tonacji marki */
.theme-haloip .btn-primary { background: var(--brand); border-color: var(--brand); border-radius: 12px; }
.theme-haloip .btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* 3. BANER PODSTRON -------------------------------------------------- */
.hl-pagehead {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 64px 0 56px; border-bottom: 1px solid var(--border-soft);
    background: radial-gradient(42% 120% at 85% 0%, rgba(245, 158, 11, .16), transparent 70%),
                radial-gradient(38% 110% at 5% 0%, rgba(31, 42, 68, .08), transparent 70%), var(--bg);
}
.hl-pagehead::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 90% at 70% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 90% at 70% 0%, #000, transparent 75%);
}
.hl-pagehead h1 { overflow-wrap: anywhere; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; font-weight: 600; margin: 16px 0 12px; max-width: 820px; }
.hl-pagehead p { margin: 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 680px; }
.hl-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.hl-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* 4. TREŚĆ WSPÓLNA ---------------------------------------------------- */
.theme-haloip .content { padding-top: 40px; padding-bottom: 72px; }
.theme-haloip #menu_boczne { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.theme-haloip #tresc_strony { border-radius: var(--radius-lg); }
.theme-haloip .breadcrumbs { color: var(--muted); }

/* 5. STRONA GŁÓWNA ---------------------------------------------------- */
.hl-home a:hover { text-decoration: none; }
.hl-hero { position: relative; isolation: isolate; padding: 84px 0 64px; overflow: hidden; }
.hl-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 130%; z-index: -1;
    background: radial-gradient(40% 50% at 80% 30%, rgba(245, 158, 11, .22), transparent 70%),
                radial-gradient(35% 45% at 10% 10%, rgba(31, 42, 68, .10), transparent 70%);
}
.hl-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hl-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hl-hero h1 { font-size: clamp(42px, 5.8vw, 76px); line-height: 1.03; font-weight: 600; margin: 22px 0; letter-spacing: -.025em; }
.hl-hero h1 em { font-style: italic; color: var(--brand); }
.hl-lead { font-size: clamp(17px, 1.6vw, 19.5px); max-width: 560px; margin: 0 0 34px; color: var(--text); }
.hl-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hl-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 13px; font: 600 15px/1 var(--font); border: 1px solid transparent; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.hl-btn .hl-ic { width: 18px; height: 18px; transition: transform .2s ease; }
.hl-btn:hover .hl-ic { transform: translateX(3px); }
.hl-btn-dark { background: var(--ink); color: #fff !important; box-shadow: 0 10px 26px -12px rgba(20, 22, 28, .6); }
.hl-btn-dark:hover { transform: translateY(-1px); background: #000; }
.hl-btn-ghost { border-color: var(--border); color: var(--ink) !important; background: rgba(255, 255, 255, .6); }
.hl-btn-ghost:hover { border-color: var(--ink); }
.hl-btn-light { background: #fff; color: var(--ink) !important; position: relative; }
.hl-trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hl-trust li { display: flex; align-items: center; gap: 8px; }
.hl-trust .hl-ic { width: 17px; height: 17px; color: var(--brand); }
.hl-art { width: 100%; height: auto; display: block; overflow: visible; }
.hl-sv-card { fill: #fff; stroke: var(--border); }
.hl-sv-soft { fill: #f3efe7; }
.hl-sv-ink { fill: var(--ink); opacity: .85; }
.hl-sv-muted { fill: var(--border); }
.hl-sv-shadow { filter: drop-shadow(0 18px 30px rgba(20, 22, 28, .14)); }
.hl-sv-t { font: 500 13px var(--font); fill: var(--ink); }
.hl-sv-m { fill: var(--muted); font-weight: 400; font-size: 12px; }
.hl-sv-big { font: 700 22px var(--font); fill: var(--ink); }
@keyframes hl-float { 50% { transform: translateY(-8px); } }
@keyframes hl-pulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.12); } }
.hl-float { animation: hl-float 6s ease-in-out infinite; }
.hl-f2 { animation-delay: -3s; }
.hl-pulse { transform-origin: 300px 210px; animation: hl-pulse 3.6s ease-out infinite; }
.hl-p2 { animation-delay: -1.8s; }
@media (prefers-reduced-motion: reduce) { .hl-float, .hl-pulse { animation: none; } }

.hl-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hl-stat { padding: 30px 24px; border-left: 1px solid var(--border); }
.hl-stat:first-child { border-left: 0; padding-left: 0; }
.hl-stat b { display: block; font: 600 34px/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; margin-bottom: 10px; }
.hl-stat span { font-size: 14px; color: var(--muted); }

.hl-section { padding: 96px 0; }
.hl-section--last { padding-bottom: 104px; }
.hl-band { background: #efebe3; }
.hl-sec-head { max-width: 680px; margin-bottom: 52px; }
.hl-sec-head h2, .hl-h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 600; margin: 16px 0 14px; }
.hl-sec-head p { margin: 0; font-size: 18px; }
.hl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: hl-step; }
.hl-step { padding: 34px 30px 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); counter-increment: hl-step; }
.hl-step::before { content: "0" counter(hl-step); display: block; font: 500 15px/1 var(--font-display); color: var(--brand); margin-bottom: 46px; letter-spacing: .04em; }
.hl-step h3 { font-size: 23px; font-weight: 600; margin: 0 0 10px; }
.hl-step p { margin: 0; font-size: 15.5px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.hl-feat { display: block; background: var(--card); padding: 34px 30px; color: var(--text) !important; transition: background .25s ease; }
.hl-feat:hover { background: #fffaf5; }
.hl-feat h3 { font: 600 19px/1.3 var(--font); letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.hl-feat p { margin: 0; font-size: 15px; }
.hl-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: rgba(194, 65, 12, .1); margin-bottom: 22px; }
.hl-more { margin: 28px 0 0; }
.hl-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink) !important; border-bottom: 1px solid var(--brand); padding-bottom: 2px; }
.hl-link .hl-ic { width: 17px; height: 17px; color: var(--brand); }
.hl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hl-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.hl-checks li { display: flex; gap: 12px; align-items: flex-start; }
.hl-checks .hl-ic { color: var(--brand); margin-top: 3px; }
.hl-offer { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: 26px; padding: 40px; box-shadow: var(--shadow-lg); }
.hl-offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--amber)); }
.hl-tag { display: inline-block; font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 99px; background: rgba(194, 65, 12, .1); color: var(--brand); }
.hl-offer h3 { font-size: 30px; font-weight: 600; margin: 20px 0 10px; }
.hl-offer p { margin: 0 0 24px; }
.hl-faq { max-width: 820px; }
.hl-acc { border-bottom: 1px solid #ddd7ca; }
.hl-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 600 18px/1.4 var(--font); color: var(--ink); }
.hl-acc summary::-webkit-details-marker { display: none; }
.hl-acc summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--brand); transition: transform .25s ease; }
.hl-acc[open] summary::after { transform: rotate(45deg); }
.hl-acc p { margin: 0 0 24px; max-width: 680px; }
.hl-cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: 72px 56px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.hl-cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .5), transparent 65%); }
.hl-cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; font-weight: 600; max-width: 620px; margin: 0; position: relative; }

/* 6. STOPKA ----------------------------------------------------------- */
.hl-footer { background: #111318; color: #a9abb3; padding: 72px 0 36px; font-size: 14.5px; }
.hl-footer a { color: #d9dade; text-decoration: none; }
.hl-footer a:hover { color: #fff; text-decoration: none; }
.hl-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.hl-footer-grid > div > a { display: block; padding: 5px 0; }
.hl-footer-brand p { margin: 16px 0 22px; max-width: 340px; line-height: 1.6; }
.hl-logo--footer .hl-wordmark { color: #fff; font-size: 26px; }
.hl-logo--footer .hl-wordmark b { color: #fb923c; }
.hl-footer-label { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #6f717a; margin-bottom: 14px; }
.hl-footer-cta { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 600; color: #fff !important; border-bottom: 1px solid #fb923c; padding-bottom: 2px !important; }
.hl-footer-cta .hl-ic { width: 17px; height: 17px; color: #fb923c; }
.hl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid #23262e; font-size: 13.5px; color: #7d7f87; }

/* 7. RESPONSYWNOŚĆ ---------------------------------------------------- */
@media (max-width: 960px) {
    .hl-hero-grid, .hl-split { grid-template-columns: 1fr; }
    .hl-hero { padding: 56px 0 40px; }
    .hl-steps, .hl-grid { grid-template-columns: 1fr 1fr; }
    .hl-stats { grid-template-columns: 1fr 1fr; }
    .hl-stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .hl-cta-band { flex-direction: column; align-items: flex-start; padding: 48px 28px; }
    .hl-footer-grid { grid-template-columns: 1fr 1fr; }
    .theme-haloip .hl-login { margin-left: 0; }
}
@media (max-width: 640px) {
    .hl-section { padding: 64px 0; }
    .hl-steps, .hl-grid { grid-template-columns: 1fr; }
    .hl-stat { padding: 22px 0 22px 16px; }
    .hl-pagehead { padding: 44px 0 36px; }
    .hl-offer { padding: 28px; }
    .hl-footer-grid { grid-template-columns: 1fr; }
}
