/* Look of the newer pages (grupy, cennik, zapisy, egzamin). */
* { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --color-primary-dark: #034f84;
            --color-secondary-teal: #009688;
            --color-accent-yellow: #facc15;
            --footy: #1B7A3E;
            --dance: #b0307a;
            --bg-soft: #f8fafc;
            --text-main: #334155;
            --text-light: #64748b;
        }
        html { scroll-behavior: smooth; }
        body { font-family: 'Inter', sans-serif; background-color: #f7fafc; line-height: 1.7; color: var(--text-main); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
        .container { max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
        section { padding: 4.5rem 0; }
        h2 { font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--color-primary-dark); line-height: 1.2; margin-bottom: 1rem; }
        .lead { font-size: 1.15rem; max-width: 760px; }
        .todo { background: #fee2e2; color: #991b1b; font-weight: 700; padding: 0 .3rem; border-radius: .3rem; }

        .top-info-bar { background: #0b1120; color: #94a3b8; padding: 0.6rem 1rem; font-size: 0.75rem; font-weight: 500; border-bottom: 2px solid #034f84; }
        .tib-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
        .tib-link { color: #94a3b8; text-decoration: none; }

        .business-name-bar { background: white; border-bottom: 3px solid var(--color-secondary-teal); padding: .9rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .business-name-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; }
        .brand-with-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
        .logo-header { height: 64px; width: auto; }
        .business-name { font-size: 1.25rem; font-weight: 900; color: var(--color-primary-dark); }
        .business-tagline { font-size: 0.85rem; color: var(--color-secondary-teal); font-weight: 600; }
        .nav-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
        .nav-links a { color: var(--color-primary-dark); font-weight: 800; text-decoration: none; font-size: .95rem; }

        .hero { background-image: linear-gradient(135deg, #034f84 0%, #009688 100%); color: white; padding: 5rem 0 5.5rem; text-align: center; }
        .hero .kicker { display: inline-block; background: rgba(255,255,255,.15); padding: .35rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 1.2rem; }
        .hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.2rem; text-shadow: 0 4px 15px rgba(0,0,0,0.25); }
        .hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto 2rem; }
        .btn-main { background: var(--color-accent-yellow); color: #1f2937; padding: 1rem 2.2rem; border-radius: 9999px; font-weight: 900; text-decoration: none; display: inline-block; font-size: 1.05rem; border: 0; cursor: pointer; }
        .btn-main:hover { transform: translateY(-2px); }
        .btn-ghost { color: white; font-weight: 800; text-decoration: underline; margin-left: 1rem; display: inline-block; margin-top: 1rem; }

        .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
        .card { background: white; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
        .group-card { border-top: 8px solid var(--footy); }
        .group-card.dance { border-top-color: var(--dance); }
        .group-card h3 { font-size: 1.6rem; font-weight: 900; color: var(--footy); margin-bottom: .3rem; }
        .group-card.dance h3 { color: var(--dance); }
        .group-card .sub { font-weight: 700; color: var(--text-light); margin-bottom: 1rem; }
        .group-card ul { margin: 1rem 0 1.5rem 1.2rem; }
        .group-card li { margin-bottom: .4rem; }
        .group-card .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
        .btn-app { display: inline-block; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: white; background: var(--footy); }
        .dance .btn-app { background: var(--dance); }
        .btn-outline { display: inline-block; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--color-primary-dark); border: 2px solid var(--color-primary-dark); }

        .scene { background: #f0f9ff; border-left: 6px solid var(--color-secondary-teal); padding: 1.5rem; border-radius: 1rem; font-size: 1.1rem; margin-top: 1.5rem; }
        .step-num { display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--color-accent-yellow); color: #1f2937; font-weight: 900; align-items: center; justify-content: center; margin-bottom: .8rem; }
        .card h4 { color: var(--color-primary-dark); font-weight: 900; font-size: 1.15rem; margin-bottom: .5rem; }

        .details { width: 100%; border-collapse: collapse; background: white; border-radius: 1rem; overflow: hidden; }
        .details th, .details td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
        .details th { width: 38%; color: var(--color-primary-dark); background: #f1f5f9; }

        .downloads a { display: block; padding: .8rem 1rem; border: 1px solid #e2e8f0; border-radius: .8rem; margin-bottom: .6rem; text-decoration: none; color: var(--text-main); font-weight: 600; background: white; }
        .downloads a:hover { border-color: var(--color-secondary-teal); }

        .zapisy-band { background: linear-gradient(135deg, #034f84 0%, #009688 100%); color: white; }
        .zapisy-band > .container > h2, .zapisy-band > .container > .lead { color: white; }
        .form-card { background: white; color: var(--text-main); border-radius: 1.5rem; padding: 2rem; max-width: 720px; margin: 2rem auto 0; }
        .form-card label { display: block; font-weight: 700; margin: 1rem 0 .35rem; color: var(--color-primary-dark); }
        .form-card input[type=text], .form-card input[type=tel], .form-card input[type=email], .form-card select, .form-card textarea { width: 100%; padding: .8rem; border: 2px solid #cbd5e1; border-radius: .7rem; font: inherit; }
        .form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--color-secondary-teal); }
        .checks { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
        .checks label, .consent label { font-weight: 500; color: var(--text-main); margin: 0; display: flex; gap: .5rem; align-items: flex-start; }
        .consent { margin-top: 1.2rem; font-size: .9rem; }
        .form-card .btn-main { width: 100%; margin-top: 1.5rem; }
        .hidden { display: none; }
        .note { font-size: .85rem; color: var(--text-light); margin-top: .8rem; }

        .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
        .faq-item { background: white; padding: 1.6rem; border-radius: 1.2rem; border: 1px solid #e2e8f0; }
        .faq-item h4 { color: var(--color-primary-dark); font-size: 1.1rem; font-weight: 900; margin-bottom: .5rem; }

        footer { background: #0b1120; color: white; padding: 4rem 0 2.5rem; border-top: 10px solid var(--color-accent-yellow); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2.5rem; }
        .footer-col h4 { color: var(--color-accent-yellow); font-size: 1rem; margin-bottom: 1.2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; }
        .footer-list { list-style: none; }
        .footer-list li { margin-bottom: .7rem; }
        .footer-list a { color: #94a3b8; text-decoration: none; }
        .footer-list a:hover { color: white; }
        .footer-legal-bar { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; color: #64748b; }

        .whatsapp-btn { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; text-decoration: none; box-shadow: 0 10px 30px rgba(37,211,102,0.4); z-index: 200; }

        @media (max-width: 640px) {
            section { padding: 3rem 0; }
            .hero { padding: 3.5rem 0 4rem; }
            .logo-header { height: 48px; }
            .business-name { font-size: 1.05rem; }
            .card, .form-card { padding: 1.4rem; }
            .details th { width: 45%; }
            .btn-ghost { margin-left: 0; }
        }
