/* Branże: kafle (strona główna, „Inne branże”) i strona branży (templates/site/pages/industry.html.twig). Prefiks ind-. */

/* ── Kafle ── */
.hh-industries { background: #fff; padding-block: clamp(72px, 9vw, 112px); }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ind-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .ind-grid { gap: 10px; } }
.ind-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; isolation: isolate; }
.ind-tile picture, .ind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-tile img { transition: transform .5s ease; }
.ind-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,22,0) 40%, rgba(15,18,22,.78) 100%); }
.ind-tile:hover img, .ind-tile:focus-visible img { transform: scale(1.05); }
.ind-tile-icon { position: absolute; z-index: 1; top: 14px; left: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.ind-tile-text { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.ind-tile-text strong { font-size: clamp(17px, 1.5vw, 20px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ind-tile-text span { font-size: 14px; font-weight: 500; color: #DADDE2; }
.ind-tile--contact { background: var(--brand); }
.ind-tile--contact::after { display: none; }
.ind-tile--contact .ind-tile-icon { background: rgba(255,255,255,.18); }
.ind-tile--contact .ind-tile-text span { color: var(--brand-soft); }
.ind-tile--contact:hover { background: var(--brand-700); }
@media (max-width: 460px) { .ind-tile-icon { top: 10px; left: 10px; width: 36px; height: 36px; } .ind-tile-text { left: 12px; right: 12px; bottom: 12px; } .ind-tile-text span { font-size: 13px; } }

/* ── Strona branży: hero ze zdjęciem (nagłówek leży na nim - site-header--overlay) ── */
.ind-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86vh, 860px); min-height: min(86svh, 860px); }
.ind-hero-photo, .ind-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,22,.82) 0%, rgba(15,18,22,.55) 55%, rgba(15,18,22,.25) 100%); }
@media (max-width: 720px) { .ind-hero-scrim { background: rgba(15,18,22,.66); } }
.ind-hero-body { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; gap: 20px;
    padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px)); padding-bottom: clamp(56px, 9vh, 104px); }
.ind-hero .breadcrumbs { margin-bottom: 0; color: #C9CCD1; }
.ind-hero .breadcrumbs a { color: #C9CCD1; }
.ind-hero .breadcrumbs a:hover { color: #fff; }
.ind-hero .metka--glass { align-self: flex-start; }
.ind-hero .metka--glass::before { display: none; }
.ind-hero h1 { max-width: 900px; color: #fff; font-size: clamp(36px, 5.2vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: .96; }
.ind-lead { max-width: 640px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.5; color: #E6E8EB; }
.ind-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; }
.ind-badges li { display: inline-flex; align-items: center; gap: 8px; }
.ind-badges .ico { color: var(--sun); }

/* ── Bloki: tekst + makieta ── */
.ind-block { padding-block: clamp(64px, 8vw, 104px); background: #fff; }
.ind-block + .ind-block { border-top: 1px solid var(--line); }
.ind-block:nth-of-type(odd) { background: var(--paper-2); }
.ind-block-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ind-block--flip .ind-block-copy { order: 2; }
@media (max-width: 900px) { .ind-block-grid { grid-template-columns: 1fr; } .ind-block--flip .ind-block-copy { order: 0; } }
.ind-block-copy { display: flex; flex-direction: column; gap: 20px; }
.ind-block-copy h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }

.ind-mock { background: #fff; border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(15,18,22,.28), inset 0 0 0 1px var(--line); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ind-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ind-mock-head strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.ind-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-700); font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ind-mock-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ind-mock-rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); }
.ind-mock-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ind-mock-name b { font-size: 15px; font-weight: 700; }
.ind-mock-name small { font-size: 13px; color: var(--muted); }
.ind-mock-val { flex: none; font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.ind-mock-val--ok { background: #E3F5E9; color: #1D6B3A; box-shadow: none; }
.ind-mock-val--warn { background: #FFF1CC; color: #7A5200; box-shadow: none; }
.ind-mock-val--bad { background: #FDE4E1; color: #A0261A; box-shadow: none; }
.ind-mock-val--brand { background: var(--brand); color: #fff; box-shadow: none; }
.ind-mock-foot { font-size: 14px; font-weight: 600; color: var(--brand-700); }

/* ── Kanały ── */
.ind-channels { background: var(--ink); color: #fff; padding-block: clamp(72px, 9vw, 112px); }
.ind-channels .hh-kicker { color: var(--sun); }
.ind-channels .hh-head h2 { color: #fff; }
.ind-channels .hh-text { color: #C9CCD1; }
.ind-channel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.ind-channel-grid li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: #1C2027; box-shadow: inset 0 0 0 1px #2A2E35; }
.ind-channel-grid strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ind-channel-grid span { font-size: 15px; line-height: 1.45; color: #9AA0A8; }
.ind-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 16px; font-weight: 500; color: #C9CCD1; }
.ind-note .ico { color: var(--sun); }
.ind-note a { color: #fff; font-weight: 700; text-underline-offset: 4px; }

/* ── Kroki ── */
.ind-steps { background: #fff; padding-block: clamp(72px, 9vw, 104px); }
.ind-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ind-step-list li { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 16px; background: var(--paper-2); }
.ind-step-list strong { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 8px; }
.ind-step-list p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ── Inne branże ── */
.ind-others { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 96px); }
.ind-others .hh-head { margin-bottom: 32px; }
.ind-others .hh-head h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ── Miniatury w makietach i logo kanałów ── */
.ind-mock-head { justify-content: flex-start; }
.ind-mock-head .ind-chip { margin-left: auto; }
.ind-mock-rows li { justify-content: flex-start; }
.ind-mock-rows .ind-mock-val { margin-left: auto; }
.ind-thumb { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ind-thumb picture, .ind-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ind-thumb--lg { width: 56px; height: 56px; border-radius: 12px; }
.ind-thumb--logo { padding: 7px; }
.ind-thumb--logo img { object-fit: contain; }
.ind-channel-logo { display: grid; place-items: center start; height: 40px; margin-bottom: 8px; }
.ind-channel-logo img { max-height: 30px; max-width: 120px; padding: 6px 10px; box-sizing: content-box; border-radius: 8px; background: #fff; object-fit: contain; }
.ind-thumb--icon { color: var(--brand); background: var(--brand-soft); box-shadow: none; }
