/* grupa.spct.pl — strona grupy spct. Osobny styl (nie korzysta z app.css):
   kolorowe „bento” — białe tło, duże zaokrąglone kafle, każdy produkt w swoim kolorze. */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
img, svg { display: block; max-width: 100%; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #f4f4f2;
  --ink: #141414;
  --yellow: #ffd426;
  --violet: #7b4dff;
  --green: #2ee59d;
  --navy: #101a3f;
  --pink: #ff8fc7;
  --sky: #8fd3ff;
  --orange: #ff8a3d;
  --coral: #ff5a4e;
  --white: #ffffff;
  --r: clamp(24px, 4vw, 36px);
  --gap: clamp(10px, 1.6vw, 16px);
  --display: 'Bricolage Grotesque', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

body.bn { min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; padding: 0 clamp(10px, 2vw, 20px); }
::selection { background: var(--yellow); }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- nagłówek ---------- */
.bn-top { position: sticky; top: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 76rem; margin: 10px auto var(--gap); padding: 8px 8px 8px 18px; border-radius: 999px; background: rgb(255 255 255 / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgb(0 0 0 / .25); }
.bn-word { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.bn-word-logo { width: 28px; height: 28px; fill: currentColor; }
.bn-top-cta { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; }
.bn-top-cta:hover { background: var(--violet); }

/* ---------- siatka bento ---------- */
.bn-grid { display: grid; gap: var(--gap); max-width: 76rem; margin-inline: auto; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bn-grid { grid-template-columns: repeat(3, 1fr); } }

.bn-tile { position: relative; overflow: hidden; display: grid; align-content: start; gap: 12px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r); background: var(--white); }
.bn-tile h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: .95; letter-spacing: -.04em; }
.bn-tile > p:not(.bn-tag) { font-size: 1.02rem; max-width: 34rem; }
.bn-tag { justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgb(0 0 0 / .08); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.bn-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; transition: transform .15s; }
.bn-btn:hover { transform: translateY(-2px); }
.bn-btn:active { transform: scale(.97); }
.bn-btn-light { background: #fff; color: var(--ink); }
.bn-btn-dark { background: var(--ink); color: #fff; }
.bn-btn-yellow { background: var(--yellow); color: var(--ink); }
.bn-btn-moon { background: #ffe9a8; color: var(--navy); }
.bn-more { justify-self: start; display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bn-more .ico { width: 16px; height: 16px; }

/* hero */
.bn-hero { background: var(--yellow); min-height: clamp(360px, 60vw, 460px); align-content: end; }
.bn-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 5rem); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.bn-hero .bn-tag { position: absolute; top: clamp(22px, 4vw, 36px); left: clamp(22px, 4vw, 36px); }
.bn-hero-lead { font-size: clamp(1.05rem, 2vw, 1.2rem) !important; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bn-chip { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: transform .15s; }
.bn-chip:hover { transform: rotate(-3deg) scale(1.05); }
.bn-chip-spct { background: var(--violet); color: #fff; }
.bn-chip-cr { background: var(--green); }
.bn-chip-luna { background: var(--navy); color: #fff; }
@media (min-width: 720px) { .bn-hero { grid-column: span 2; } }

/* ---------- kafle produktów z makietą aplikacji ---------- */
.bn-luna, .bn-spct, .bn-cr { padding-bottom: 0; gap: 22px; align-content: stretch; grid-template-rows: auto 1fr; }
.bn-copy { display: grid; gap: 12px; align-content: start; }
.bn-copy > p:not(.bn-tag) { font-size: 1.02rem; max-width: 34rem; }
.bn-phone { justify-self: center; width: min(100%, 270px); height: 330px; align-self: end; padding: 14px 14px 0; border: 8px solid #0b0b0d; border-bottom: 0; border-radius: 38px 38px 0 0; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); overflow: hidden; display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.35; transition: transform .3s; }
.bn-tile:hover .bn-phone { transform: translateY(-6px); }
.bn-phone svg { flex: none; }
.bn-phone::before { content: ''; align-self: center; width: 70px; height: 18px; margin: -4px 0 2px; border-radius: 999px; background: #0b0b0d; flex: none; }

.bn-luna { background: var(--navy); color: #fff; }
.bn-luna .bn-tag { background: rgb(255 255 255 / .14); }
.bn-luna .bn-copy > p:not(.bn-tag) { color: rgb(255 255 255 / .78); }
.bn-stars { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 45% 18%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 80% 12%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 88% 40%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 10% 70%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 92% 75%, #fff 50%, transparent 51%); opacity: .6; }
.bn-luna > *:not(.bn-stars) { position: relative; }
.bn-soon { justify-self: start; margin-top: 4px; padding: 8px 14px; border-radius: 999px; border: 1.5px dashed rgb(255 255 255 / .45); font-size: .85rem; font-weight: 600; }

.bn-spct { background: var(--violet); color: #fff; }
.bn-spct .bn-tag { background: rgb(255 255 255 / .18); }
.bn-spct b { font-weight: 700; }

.bn-cr { background: var(--green); }
@media (min-width: 1040px) {
  .bn-cr { grid-column: span 2; grid-template-columns: 1fr auto; grid-template-rows: 1fr; column-gap: 32px; }
  .bn-cr .bn-copy { align-self: center; padding-bottom: 36px; }
  .bn-cr .bn-phone { grid-row: 1; grid-column: 2; align-self: end; }
}

/* makieta: spct (ciemna strona miasta z akcentem miasta) */
.bn-app-spct { background: radial-gradient(120% 60% at 50% 0%, #3b0f22, #0a0a0c 70%); color: #f5f5f7; }
.sa-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.sa-bar b { font-size: 13px; font-weight: 800; }
.sa-bar span { margin-left: auto; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.sa-logo { width: 18px; height: 18px; fill: currentColor; }
.sa-card { display: grid; gap: 9px; padding: 10px; border-radius: 16px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.sa-prof { display: flex; align-items: center; gap: 8px; }
.sa-prof > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.sa-prof b { font-size: 12px; }
.sa-prof small { font-size: 9px; color: rgb(255 255 255 / .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #7f1d3a; flex: none; }
.sa-av .sa-logo { width: 18px; height: 18px; }
.sa-ig { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.sa-ig .ico { width: 14px; height: 14px; }
.sa-box { border-radius: 12px; background: rgb(0 0 0 / .4); border: 1px solid rgb(255 255 255 / .08); }
.sa-box > span { display: block; height: 62px; padding: 10px; color: rgb(255 255 255 / .35); }
.sa-boxbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 10px; border-top: 1px solid rgb(255 255 255 / .06); }
.sa-boxbar small { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; color: rgb(255 255 255 / .55); }
.sa-boxbar .ico { width: 10px; height: 10px; }
.sa-send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #be123c; }
.sa-send .ico { width: 13px; height: 13px; }
.sa-next { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: rgb(190 18 60 / .14); border: 1px solid rgb(190 18 60 / .3); }
.sa-next > .ico { width: 26px; height: 26px; padding: 6px; border-radius: 8px; background: rgb(190 18 60 / .25); color: #fda4af; }
.sa-next span { display: grid; }
.sa-next small { font-size: 9px; color: rgb(255 255 255 / .55); }

/* makieta: Chatring (czarne tło, pierścień w gradiencie) */
.bn-app-cr { background: #060708; color: #fff; align-items: center; text-align: center; }
.ca-bar { align-self: stretch; display: flex; align-items: center; justify-content: space-between; }
.ca-bar b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.ca-bar span { padding: 4px 9px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .15); font-size: 9px; font-weight: 600; }
.ca-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); font-size: 9px; color: rgb(255 255 255 / .8); }
.ca-pill i { width: 6px; height: 6px; border-radius: 50%; background: #22e3a0; }
.ca-ring { position: relative; display: grid; place-items: center; width: 128px; height: 128px; margin-top: 4px; border-radius: 50%; background: conic-gradient(from 200deg, #2ee59d, #19c8e0 45%, #5b8cff 75%, #2ee59d); flex: none; animation: bn-spin 10s linear infinite; }
.ca-ring::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #060708; }
.ca-ring svg { position: relative; width: 34px; height: 34px; animation: bn-spin 10s linear infinite reverse; }
@keyframes bn-spin { to { rotate: 1turn; } }
.ca-h { margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.ca-sub { margin-top: -6px; font-size: 10px; color: rgb(255 255 255 / .55); }
.ca-btn { align-self: stretch; padding: 10px; border-radius: 14px; background: linear-gradient(90deg, #2ee59d, #5b8cff); color: #04130d; font-weight: 800; font-size: 13px; }

/* makieta: LUNA (panel, ciemny granat) */
.bn-app-luna { background: #0b0e12; color: #e8eaf0; }
.la-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.la-bar b { font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.la-bar span { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #171c25; font-size: 9px; color: rgb(255 255 255 / .7); }
.la-logo { width: 18px; height: 18px; fill: #ffe9a8; }
.la-head { display: flex; align-items: center; gap: 6px; }
.la-head b { font-size: 14px; }
.la-count { padding: 1px 7px; border-radius: 999px; background: rgb(255 233 168 / .15); color: #ffe9a8; font-size: 9px; font-weight: 700; }
.la-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 5px 10px; align-items: center; padding: 9px 10px; border-radius: 12px; background: #12161d; border: 1px solid rgb(255 255 255 / .06); }
.la-line { display: block; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .22); grid-column: 1; }
.la-line + .la-line { background: rgb(255 255 255 / .1); }
.w40 { width: 40%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.la-ok, .la-warn { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 800; font-size: 11px; }
.la-ok { background: rgb(74 222 128 / .16); color: #4ade80; }
.la-ok .ico { width: 12px; height: 12px; }
.la-warn { background: rgb(250 204 21 / .16); color: #facc15; }
.la-pub { display: flex; align-items: center; gap: 8px; margin-top: 2px; padding: 9px 10px; border-radius: 12px; background: linear-gradient(90deg, rgb(240 148 51 / .2), rgb(188 24 136 / .2)); border: 1px solid rgb(220 39 67 / .3); }
.la-pub > .ico { width: 16px; height: 16px; color: #f9a8d4; }
.la-pub span { display: grid; }
.la-pub small { font-size: 9px; color: rgb(255 255 255 / .55); }

/* liczby */
.bn-stat { align-content: end; gap: 4px; min-height: 170px; }
.bn-stat b { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 10vw, 4.6rem); line-height: .9; letter-spacing: -.05em; }
.bn-stat span { font-weight: 600; max-width: 14rem; }
.bn-stat-a { background: var(--pink); }
.bn-stat-b { background: var(--ink); color: #fff; }
.bn-stat-b b { color: var(--yellow); }
.bn-stat-c { background: var(--sky); }
@media (max-width: 719px) {
  .bn-stat { min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding-block: 20px; }
  .bn-stat b { font-size: 2.8rem; }
}

/* miasta */
.bn-cities ul { display: grid; gap: 8px; margin-top: 6px; }
.bn-cities li { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px; border-radius: 999px; background: var(--bg); transition: background .15s; }
.bn-cities li:hover { background: #ece8ff; }
.bn-city { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 700; font-size: 1.05rem; }
.bn-city img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #ddd; flex: none; }
.bn-city span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-city-ig { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; transition: background .15s, color .15s; }
.bn-city-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); color: #fff; }
@media (min-width: 720px) { .bn-cities { grid-column: span 2; } .bn-cities ul { grid-template-columns: repeat(2, 1fr); } }

/* współpraca */
.bn-coop { background: var(--ink); color: #fff; }
.bn-coop .bn-tag { background: rgb(255 255 255 / .14); }
.bn-coop > p:not(.bn-tag) { color: rgb(255 255 255 / .75); }

/* wartości */
.bn-val { gap: 10px; }
.bn-val h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -.03em; }
.bn-val-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgb(255 255 255 / .6); margin-bottom: 6px; }
.bn-val-ico .ico { width: 22px; height: 22px; }
.bn-val-a { background: #fff3c2; }
.bn-val-b { background: #d8f8ea; }
.bn-val-c { background: #ffd9c7; }

/* kontakt */
.bn-contact { background: var(--coral); color: #fff; }
.bn-contact .bn-tag { background: rgb(255 255 255 / .2); }
.bn-mail { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 8.5vw, 5rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.bn-mail:hover { color: var(--ink); }
.bn-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bn-links a { padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; }
.bn-links a:hover { background: var(--yellow); }
@media (min-width: 720px) { .bn-contact { grid-column: 1 / -1; } }

/* stopka */
.bn-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 76rem; margin: var(--gap) auto 0; padding: 22px 8px calc(22px + env(safe-area-inset-bottom)); font-family: var(--display); font-weight: 800; }
.bn-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--sans); font-weight: 600; font-size: .9rem; }
.bn-foot nav a:hover { color: var(--violet); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ca-ring, .ca-ring svg { animation: none; } }
