/* ============================================================
   Info-Fis — wspólny arkusz stylów
   Paleta: ciemna zieleń tablicy szkolnej + mosiądz starego dzwonka
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Poppins:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --ink: #17261F;
    --ink-2: #1D2A22;
    --brass: #BE9B4E;
    --brass-dim: #8A7638;
    --paper: #EEF0E7;
    --paper-2: #E4E7DA;
    --muted: #55645A;
    --line: #C9CBBC;
    --alarm: #B23A2E;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink-2);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brass);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ===================== NAWIGACJA ===================== */
header.site {
    position: sticky; top: 0; z-index: 100;
    background: var(--ink); color: var(--paper);
    border-bottom: 1px solid #2A3D30;
}
header.site .wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.logo {
    font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--paper);
    text-decoration: none; letter-spacing: -0.3px;
    display: flex; flex-direction: column; line-height: 1.1;
}
.logo span.accent { color: var(--brass); }
.logo .wordmark { white-space: nowrap; }
.logo .tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 2px; color: #8FA089; text-transform: uppercase; margin-top: 3px; font-weight: 400; }

nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a {
    text-decoration: none; color: #D8DED4; font-size: 0.92rem; font-weight: 500;
    padding: 9px 16px; border-radius: 7px; transition: background .15s, color .15s;
}
nav.main a:hover { background: rgba(190,155,78,0.12); color: var(--paper); }
nav.main a.active { color: var(--brass); }
nav.main a.cta-btn {
    background: var(--brass); color: var(--ink); font-weight: 600; margin-left: 6px;
}
nav.main a.cta-btn:hover { background: #D4B266; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--paper); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-toggle { display: none; }

/* ===================== HERO OGÓLNY ===================== */
.hero {
    position: relative; background: var(--ink); color: var(--paper); overflow: hidden;
    padding: 84px 0 96px;
}
.hero .rings {
    position: absolute; top: 50%; right: -160px; transform: translateY(-50%);
    width: 640px; height: 640px; opacity: 0.9; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero h1 {
    font-family: var(--serif); font-size: 3rem; line-height: 1.08; font-weight: 700;
    letter-spacing: -0.5px; margin: 18px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--brass); }
.hero p.lead { font-size: 1.13rem; color: #D8DED4; font-weight: 300; max-width: 520px; margin-bottom: 32px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 14px 26px; border-radius: 9px; text-decoration: none;
    font-weight: 600; font-size: 0.97rem; transition: transform .15s, background .15s;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #D4B266; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid #4A6047; color: var(--paper); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.btn-alarm { background: var(--alarm); color: #F6EDE8; }
.btn-alarm:hover { background: #C64A3D; transform: translateY(-1px); }

/* ===================== TRUST STRIP ===================== */
.trust {
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    padding: 15px 0; font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
}
.trust .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===================== SEKCJE ===================== */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
h2.section-title {
    font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--ink);
    margin-bottom: 14px; letter-spacing: -0.3px;
}
p.section-lead { color: var(--muted); font-size: 1.02rem; max-width: 620px; margin-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }

/* ===================== ŁAŃCUCH SYGNAŁU (sygnaturowy element) ===================== */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.chain::before {
    content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--brass) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.chain-step { position: relative; z-index: 1; padding: 0 14px; text-align: center; }
.chain-step .dot {
    width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: var(--brass);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    margin: 0 auto 18px; border: 2px solid var(--brass);
}
.chain-step h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.chain-step p { font-size: 0.88rem; color: var(--muted); }
.chain-step a.more { font-size: 0.8rem; color: var(--brass-dim); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 10px; }
.chain-step a.more:hover { text-decoration: underline; }

/* ===================== KARTY USŁUG ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px;
    transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--brass); transform: translateY(-2px); }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 0.92rem; color: var(--muted); }
.card ul { margin-top: 14px; padding-left: 18px; font-size: 0.88rem; color: var(--ink-2); }
.card li { margin-bottom: 5px; }

/* ===================== PLAN-ROW STYL (funkcje SzkoSygnał) ===================== */
.plan-row {
    display: flex; align-items: flex-start; gap: 18px; padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.plan-row:last-child { border-bottom: none; }
.plan-row .num {
    flex: 0 0 auto; width: 34px; height: 34px; background: var(--ink); color: var(--brass);
    font-family: var(--mono); font-size: 0.82rem; font-weight: 600; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
}
.plan-row.alarm .num { background: var(--alarm); color: #F6EDE8; }
.plan-row h3 { font-family: var(--serif); font-size: 1.08rem; margin-bottom: 4px; color: var(--ink); }
.plan-row p { font-size: 0.92rem; color: var(--muted); }

/* ===================== SCREENSHOT BLOK ===================== */
.shot-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.shot-block img { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(23,38,31,0.25); }
.shot-block.reverse { grid-template-columns: 1fr 1fr; }
.shot-block.reverse .shot-text { order: 2; }
.shot-block.reverse .shot-img { order: 1; }

/* ===================== CYTAT / QUOTE ===================== */
.quote-band {
    background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 48px 0; text-align: center;
}
.quote-band p { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); max-width: 720px; margin: 0 auto; }

/* ===================== CTA BAND ===================== */
.cta-band { background: var(--ink); color: var(--paper); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band .rings-sm { position: absolute; bottom: -120px; left: -80px; width: 340px; height: 340px; opacity: 0.5; }
.cta-band .wrap { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; max-width: 460px; }
.cta-band h2 em { font-style: normal; color: var(--brass); }

/* ===================== TABELA/LISTA KONTAKT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px;
}
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic { font-size: 1.3rem; width: 32px; text-align: center; }
.contact-line a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.contact-line a:hover { color: var(--brass-dim); }
.contact-line .label { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 2px; }

/* ===================== STOPKA ===================== */
footer.site {
    background: var(--ink); color: #8FA089; padding: 44px 0 30px; font-size: 0.85rem;
    border-top: 1px solid #2A3D30;
}
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer.site a { color: #D8DED4; text-decoration: none; }
footer.site a:hover { color: var(--brass); }
footer.site .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ===================== PODSTRONA NAGŁÓWEK (bez pełnego hero) ===================== */
.page-head { background: var(--ink); color: var(--paper); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-head .rings { position: absolute; top: -140px; right: -140px; width: 420px; height: 420px; opacity: 0.7; }
.page-head .inner { position: relative; z-index: 2; }
.page-head h1 { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; margin: 12px 0 14px; }
.page-head p { color: #D8DED4; max-width: 560px; font-size: 1.03rem; font-weight: 300; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 880px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-inner { max-width: 100%; }
    .chain { grid-template-columns: 1fr; gap: 34px; }
    .chain::before { display: none; }
    .grid-3, .grid-2, .shot-block, .contact-grid { grid-template-columns: 1fr; }
    .shot-block.reverse .shot-text, .shot-block.reverse .shot-img { order: unset; }
    .page-head h1 { font-size: 1.9rem; }
    .cta-band .wrap { flex-direction: column; align-items: flex-start; }
    .cta-band h2 { font-size: 1.5rem; }

    .nav-toggle { display: flex; }
    nav.main {
        display: none; position: absolute; top: 76px; left: 0; right: 0;
        background: var(--ink); border-bottom: 1px solid #2A3D30;
        flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 2px;
    }
    nav.main.open { display: flex; }
    nav.main a { padding: 13px 10px; }
    nav.main a.cta-btn { margin-left: 0; margin-top: 8px; text-align: center; }
    header.site .wrap { position: relative; }
    .logo .tag { display: none; }
    .hero .rings, .page-head .rings { width: 340px; height: 340px; right: -160px; }
}

@media (max-width: 480px) {
    .wrap { padding: 0 18px; }
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 1.55rem; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn { text-align: center; }
}
