* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #0f172a;
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
/* Buttons */
.btn-primary,
.btn-orange,
.btn-outline {
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.25s ease;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
}
.btn-primary:hover {
    background: #1d4ed8;
}
.btn-orange {
    background: #f97316;
    color: #fff;
}
.btn-orange:hover {
    background: #ea580c;
}
.btn-outline {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #111827;
}
.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.full {
    width: 100%;
}
/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15,23,42,0.06);
}
.header-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}
.logo span {
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
}
.nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}
.nav a {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width .2s ease;
}
.nav a:hover::after {
    width: 100%;
}
.header-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-phone {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.header-contact .header-phone {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #0f172a;
}
.header-email {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #4b5563;
    white-space: nowrap;
}
.header-contact .header-phone:hover,
.header-email:hover {
    color: #2563eb;
}
.header-contact .header-phone:focus-visible,
.header-email:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 2px;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    margin-left: auto;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0f172a;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
.header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
.header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.header-panel {
    display: contents;
}
/* Hero */
.hero {
    padding: 70px 0 80px;
    background: radial-gradient(circle at top left, #e0edff, #ffffff);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 60px;
    align-items: center;
}
.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0f172a;
}
.hero-text p {
    font-size: 17px;
    color: #4b5563;
    max-width: 460px;
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-image {
    position: relative;
}
.hero-image-bg {
    position: absolute;
    inset: -20px;
    background: rgba(59,130,246,0.18);
    filter: blur(32px);
    border-radius: 26px;
}
.hero-image img {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(15,23,42,0.35);
}
/* Education */
.education {
    padding: 70px 0;
    background: #fff;
}
.education-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 50px;
    align-items: center;
}
.education-image-wrapper {
    position: relative;
}
.education-image-bg {
    position: absolute;
    inset: -18px;
    background: rgba(59,130,246,0.10);
    filter: blur(28px);
    border-radius: 24px;
}
.education-image-wrapper img {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.25);
}
.education-content h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}
.education-lead {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 16px;
}
.education-list {
    margin-bottom: 20px;
}
.education-list li {
    font-size: 14px;
    color: #4b5563;
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}
.education-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #2563eb;
}
/* Section titles */
.section-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
}
.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}
.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}
/* Who we are */
.who-we-are {
    padding: 70px 0;
    background: #fff;
}
.who-we-are-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: flex-start;
}
.who-we-are-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}
.who-we-are-title .highlight {
    color: #2563eb;
}
.who-we-are-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 14px;
}
.who-we-are-left .btn-primary {
    margin-top: 20px;
}
.who-we-are-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.who-we-are-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 18px 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.who-we-are-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.who-we-are-card-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}
.who-we-are-card-icon.turquoise {
    background: #cffafe;
    color: #06b6d4;
}
.who-we-are-card-icon.orange {
    background: #fed7aa;
    color: #f97316;
}
.who-we-are-card-icon svg {
    width: 24px;
    height: 24px;
}
.who-we-are-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}
.who-we-are-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}
/* Our Realizations */
.our-realizations {
    padding: 70px 0;
    background: #fff;
}
.realizations-header {
    text-align: center;
    margin-bottom: 50px;
}
.realizations-header .section-title .highlight {
    color: #2563eb;
}
.realizations-cta-wrapper {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}
.realizations-steps {
    margin-bottom: 60px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 20px 26px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    position: relative;
    text-align: center;
}
.step-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.step-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step-icon-wrapper.blue {
    background: #dbeafe;
    color: #2563eb;
}
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}
.step-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}
.realizations-testimonials {
    margin-top: 60px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 20px 26px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
}
.testimonial-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.testimonial-quote {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}
.testimonial-author strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.testimonial-author span {
    font-size: 13px;
    color: #6b7280;
}
.testimonial-company {
    font-weight: 600;
    color: #4b5563;
}
/* Why us */
.why-us {
    padding: 70px 0;
    background: #f9fafb;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
}
.why-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px 16px 22px;
    text-align: left;
    border: 1px solid #f97316;
}
.why-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.why-box p {
    font-size: 14px;
    color: #4b5563;
}
/* Offer */
.offer {
    padding: 70px 0;
    background: #fff;
}
.offer-grid-2 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 26px;
    align-items: stretch;
}
.offer-card {
    position: relative;
    border-radius: 20px;
    padding: 24px 20px 26px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.offer-card-main {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg,#eff6ff,#ffffff);
}
.offer-badge {
    position: absolute;
    top: -14px;
    left: 22px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.offer-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.offer-description {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
}
.offer-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 12px;
}
.offer-price-current {
    font-size: 22px;
    font-weight: 800;
}
.offer-price-old {
    font-size: 15px;
    text-decoration: line-through;
    color: #9ca3af;
}
.offer-price-brutto {
    font-size: 12px;
    color: #6b7280;
}
.offer-features {
    margin-bottom: 18px;
}
.offer-features li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}
.offer-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 11px;
    color: #16a34a;
}
/* Business */
.business {
    padding: 70px 0;
    background: #f3f4f6;
}
.business-layout {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 44px;
    align-items: center;
}
.business-image-wrapper {
    position: relative;
}
.business-image-bg {
    position: absolute;
    inset: -18px;
    background: rgba(59,130,246,0.10);
    filter: blur(26px);
    border-radius: 24px;
}
.business-image-wrapper img {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.25);
}
.business-main-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}
.business-lead {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 16px;
}
.business-subcard {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}
.business-subcard h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.business-subcard p {
    font-size: 14px;
    color: #4b5563;
}
.business-list li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}
.business-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #2563eb;
}
/* Benefits */
.benefits {
    padding: 70px 0;
    background: #fff;
}
.benefits-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 40px;
    align-items: flex-start;
}
.benefits-left h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}
.benefits-list li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}
.benefits-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #2563eb;
}
.benefits-steps-card {
    background: #f9fafb;
    border-radius: 20px;
    padding: 20px 20px 22px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.benefits-steps-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.benefits-steps-card ol {
    margin-left: 18px;
    margin-bottom: 10px;
}
.benefits-steps-card li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 6px;
}
.benefits-cta-text {
    font-size: 14px;
    color: #111827;
}
/* Image section */
.image-section {
    padding: 60px 0 70px;
    background: #f9fafb;
}
.image-section-wrapper {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15,23,42,0.25);
}
.image-section-caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,0.8);
    color: #fff;
    font-size: 14px;
}
/* Polecane modele – strona główna */
.home-recommended-models {
    padding: 70px 0;
    background: #f8fafc;
}
.home-recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.home-recommended-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.home-recommended-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 16px 16px 18px;
}
.home-recommended-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 16px;
}
.home-recommended-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 749;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2f7;
}
.home-recommended-name {
    display: block;
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1.35;
}
.home-recommended-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.45;
}
.home-recommended-card:hover .home-recommended-name {
    text-decoration: underline;
}
.home-recommended-more {
    margin-top: 26px;
    text-align: center;
}
.home-recommended-more a {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}
.home-recommended-more a:hover {
    text-decoration: underline;
}
/* Blog teaser */
.blog-teaser {
    padding: 70px 0;
    background: #fff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}
.blog-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
}
.blog-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.blog-image--placeholder {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 45%, #ecfeff 100%);
    border-bottom: 1px solid #e5e7eb;
}
.blog-content {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.blog-content h3 {
    font-size: 16px;
    font-weight: 700;
}
.blog-content h3 .blog-link {
    font-size: inherit;
    font-weight: inherit;
    color: #2563eb;
    text-decoration: none;
}
.blog-content h3 .blog-link:hover {
    text-decoration: underline;
}
/* Listing artykułów: tytuł-anchor ma wyglądać jak nietknięte tytuły sąsiednich kart */
.blog-teaser .blog-content h3 .blog-link--title {
    color: inherit;
}
.blog-content p {
    font-size: 14px;
    color: #4b5563;
}
.blog-link {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}
.blog-more {
    margin-top: 26px;
    text-align: center;
}
/* Contact */
.contact {
    padding: 70px 0 80px;
    background: #f9fafb;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 40px;
    align-items: flex-start;
}
.section-title-left {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.section-subtitle-left {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 18px;
}
.contact-details p {
    font-size: 14px;
    color: #111827;
    margin-bottom: 6px;
}
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 22px 20px 24px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.contact-form .form-group {
    margin-bottom: 14px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}
.contact-form textarea {
    resize: vertical;
}
/* Footer */
.footer {
    background: #020617;
    color: #e5e7eb;
    padding-top: 32px;
    position: relative;
    z-index: 50;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) repeat(2,minmax(0,1fr));
    gap: 30px;
    padding-bottom: 20px;
}
.footer-logo img {
    width: 46px;
    height: 46px;
}
.footer-logo span {
    font-size: 16px;
}
.footer-text {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 10px;
    max-width: 320px;
}
.footer h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    font-size: 14px;
    color: #e5e7eb;
}
.footer-links a:hover {
    color: #bfdbfe;
}
.footer-bottom {
    border-top: 1px solid #111827;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    padding: 10px 0 14px;
}
/* Helpers */
.hidden {
    display: none !important;
}
/* Responsive */
/* ==== DODATKOWE SEKCJE: OFERTA, BLOG, ARTYKULY, KOSZYK ==== */

.offer-page-hero {
    padding: 60px 0 30px;
    background: #f9fafb;
}
.offer-page-hero h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
    color: #2563eb;
    position: relative;
    display: inline-block;
    width: 100%;
}
.offer-page-hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #f97316);
    border-radius: 2px;
}
.offer-page-hero p {
    font-size: 15px;
    color: #4b5563;
    max-width: 700px;
}
.offer-page-hero .realizacje-description {
    text-align: center;
    color: #2563eb;
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}
.offer-page-hero .realizacje-extended-description {
    text-align: center;
    color: #2563eb;
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 20px auto 0;
}
.offer-related {
    padding: 60px 0;
    background: #f9fafb;
}
.offer-grid-related {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.offer-card.small {
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}
.offer-related-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}
.offer-faq,
.offer-specs {
    padding: 50px 0 70px;
    background: #ffffff;
}
.offer-specs h2,
.offer-faq h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.offer-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 30px;
}
.offer-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.offer-specs-table th,
.offer-specs-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
.offer-specs-table th {
    font-weight: 600;
    color: #374151;
    width: 40%;
}
.faq-list {
    max-width: 800px;
}
.faq-item + .faq-item {
    margin-top: 16px;
}
.faq-question {
    font-weight: 600;
    margin-bottom: 4px;
}
.faq-answer {
    font-size: 14px;
    color: #4b5563;
}

/* Blog / artykuły — FAQ (<details>/<summary>): wizualnie jak pillar /monitory/ */
.blog-faq-accordion.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.blog-faq-accordion .faq-item + .faq-item {
    margin-top: 0;
}
.blog-faq-accordion details.faq-item {
    border: 1.2px solid #e9eef6;
    border-radius: 13px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    overflow: hidden;
}
.blog-faq-accordion details.faq-item[open] {
    border-color: #ff9440;
    box-shadow: 0 2px 7px 0 rgba(39, 64, 97, 0.06);
}
.blog-faq-accordion details.faq-item summary.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.07rem;
    color: #18213c;
    padding: 20px 22px;
    outline: none;
    border-radius: 12px;
    user-select: none;
    background: transparent;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
}
.blog-faq-accordion details.faq-item summary.faq-question:hover,
.blog-faq-accordion details.faq-item summary.faq-question:focus-visible {
    background: #f7faff;
}
.blog-faq-accordion details.faq-item summary.faq-question::-webkit-details-marker {
    display: none;
}
.blog-faq-accordion details.faq-item summary.faq-question::after {
    content: "+";
    flex-shrink: 0;
    margin-left: auto;
    font-size: 1.35rem;
    font-weight: 600;
    color: #b8c6dc;
    line-height: 1;
    min-width: 26px;
    text-align: center;
}
.blog-faq-accordion details.faq-item[open] summary.faq-question::after {
    content: "\2013";
    color: #ff9440;
}
.blog-faq-accordion .faq-chevron {
    display: none;
}
.blog-faq-accordion .faq-answer {
    margin: 0;
    padding: 18px 22px 22px;
    font-size: 1.01rem;
    line-height: 1.65;
    font-weight: 400;
    color: #547398;
    background: #fff;
    border-top: 1px solid #f0f3f9;
    box-sizing: border-box;
    animation: blog-faqfadeIn 0.33s;
}
@keyframes blog-faqfadeIn {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.blog-faq-accordion .faq-answer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.blog-faq-accordion .faq-answer a:hover {
    text-decoration: underline;
}
.blog-faq-accordion--fluid details.faq-item summary.faq-question {
    font-size: clamp(15px, 2.5vw, 1.07rem);
}
@media (max-width: 600px) {
    .blog-faq-accordion.faq-accordion {
        gap: 13px;
    }
    .blog-faq-accordion details.faq-item summary.faq-question {
        font-size: 0.98rem;
        padding: 17px 14px;
    }
    .blog-faq-accordion .faq-answer {
        font-size: 0.95rem;
        padding: 13px 14px 15px;
    }
}

/* Blog hero */
.blog-hero {
    padding: 60px 0 30px;
    background: #f9fafb;
}
.blog-hero h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}
.blog-hero p {
    font-size: 15px;
    color: #4b5563;
    max-width: 720px;
}
/* Blog – polecany poradnik (nad listą artykułów) */
.blog-featured-guide {
    padding: 0 0 50px;
    background: #f9fafb;
    text-align: center;
}
.blog-featured-guide .blog-featured-guide-container {
    display: block;
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-featured-guide .blog-featured-guide-card {
    display: block;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 20px;
    padding: 28px 26px 26px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    text-align: center;
}
.blog-featured-guide .blog-featured-guide-badge {
    display: inline-block;
    background: #fed7aa !important;
    color: #c2410c !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.blog-featured-guide .blog-featured-guide-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0369a1 !important;
}
.blog-featured-guide .blog-featured-guide-desc {
    font-size: 15px;
    color: #0e7490 !important;
    line-height: 1.65;
    margin-bottom: 16px;
}
.blog-featured-guide .blog-featured-guide-link {
    font-size: 15px;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-decoration: none;
}
.blog-featured-guide .blog-featured-guide-link:hover {
    text-decoration: underline;
}
/* Blog SEO block */
.blog-seo {
    padding: 40px 0 70px;
    background: #fff;
}
.blog-seo h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-seo p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
/* Artykuł */
.article {
    padding: 60px 0 80px;
    background: #fff;
}
.article h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}
.article-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}
.article-image {
    width: 100%;
    max-width: 800px;
    border-radius: 18px;
    margin: 0 0 20px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.15);
}
.article p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 10px;
}
.article h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 18px 0 8px;
}
.article ul {
    margin-bottom: 10px;
    padding-left: 20px;
}
.article ul li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 4px;
}
.article-cta {
    margin-top: 16px;
    font-size: 14px;
}
.article-cta a {
    color: #2563eb;
}
/* Koszyk — Cart temporarily disabled (feature flag); styles kept for future use */
.cart {
    padding: 60px 0 80px;
    background: #fff;
}
.cart h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}
.cart-info {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}
.cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #f9fafb;
    border-radius: 16px;
    overflow: hidden;
}
.cart-table th,
.cart-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}
.cart-table th {
    background: #e5e7eb;
    font-weight: 700;
    font-size: 13px;
}
.cart-note {
    font-size: 12px;
    color: #6b7280;
}
.cart-total-label {
    text-align: right;
    font-weight: 700;
    font-size: 14px;
}
.cart-total-value {
    font-weight: 800;
    font-size: 16px;
}
.qty-control {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    overflow: hidden;
    align-items: center;
}
.qty-btn {
    border: none;
    background: #f3f4f6;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 16px;
}
.qty-btn:hover {
    background: #e5e7eb;
}
.qty-input {
    width: 48px;
    border: none;
    text-align: center;
    font-size: 14px;
    padding: 4px 2px;
    background: #fff;
}
.qty-input:focus {
    outline: none;
}
.cart-order {
    margin-top: 20px;
}
.cart-order h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.cart-form {
    max-width: 520px;
}
.cart-note-bottom {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
}
/* Responsywność nowych sekcji */
/* ==== BLOG FULL STYLES APPENDED ==== */
.blog-page{padding:60px 0;}
/* === NEW RESPONSIVE SYSTEM (MOBILE-FIRST OVERRIDES) === */
/* Tablets and small laptops */
/* Header: logo + menu + phone/email need ~1062px. .container is 92%
   (max 1200px), so a 1200px viewport gives a 1104px row (~42px spare).
   Overflow starts near 1155px viewport. Switch to hamburger at 1199px,
   just before that squeeze, instead of wrapping the menu. */
@media (max-width: 1199px) {
  .header-wrapper {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
  }
  .header-panel {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 8px;
  }
  .header.is-open .header-panel {
    display: flex;
  }
  .nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 15px;
  }
  .nav a::after {
    display: none;
  }
  .header-right {
    width: 100%;
  }
  .header-contact {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: 4px;
  }
  .header-contact .header-phone,
  .header-email {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
  }
  .header-contact .header-phone {
    font-size: 16px;
  }
  .header-email {
    font-size: clamp(12px, 3.5vw, 15px);
    color: #4b5563;
  }
}
@media (max-width: 980px) {
  .hero-grid,
  .education-grid,
  .business-layout,
  .benefits-grid,
  .contact-grid,
  .offer-grid-2,
  .why-grid,
  .blog-grid,
  .who-we-are-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
}
/* Phones */
@media (max-width: 640px) {
  html, body {
    font-size: 17px;
    line-height: 1.6;
  }
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .hero-text h1 {
    font-size: 26px;
    line-height: 1.25;
  }
  .hero-text p {
    font-size: 15px;
    max-width: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero .hero-actions {
    display: none;
  }
  .btn-primary,
  .btn-secondary,
  .btn-orange {
    width: 100%;
    text-align: center;
  }
  .education,
  .why-us,
  .offer,
  .business,
  .benefits,
  .blog-teaser,
  .contact,
  .offer-page-hero,
  .cart-section,
  .who-we-are,
  .our-realizations {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .section-title {
    font-size: 22px;
  }
  .section-subtitle {
    font-size: 14px;
  }
  .offer-card,
  .benefit-item,
  .business-card {
    padding: 18px;
  }
  .blog-hero,
  .blog-teaser,
  .blog-featured-guide,
  .article {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .blog-featured-guide-card {
    padding: 22px 18px 20px;
  }
  .blog-featured-guide-title {
    font-size: 20px;
  }
  .article .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .article-image {
    margin: 18px 0;
  }
  .footer-bottom {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Cart mobile layout */
  .cart-table {
    width: 100%;
    font-size: 14px;
  }
  .cart-table thead {
    display: none;
  }
  .cart-table tr {
    display: block;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #f9fafb;
  }
  .cart-table td {
    display: block;
    padding: 4px 0;
    border-bottom: none;
  }
  .cart-row-total {
    font-weight: 700;
    margin-top: 4px;
  }
  .qty-controls {
    justify-content: flex-start;
  }
  .cart-summary {
    font-size: 18px;
    margin-top: 10px;
  }
  .cart-form {
    margin-top: 24px;
  }
  .contact-form input,
  .contact-form textarea,
  .cart-form input,
  .cart-form textarea {
    width: 100%;
  }
}
/* === Mobile refinements for Oferta (accessories + specs) === */
@media (max-width: 980px) {
  /* Accessories grid: 2 columns on tablets */
  .offer-grid-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .offer-grid-related .offer-card.small {
    padding: 16px;
  }
  /* Specs: single column on tablets */
  .offer-specs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 640px) {
  /* Accessories grid: 1 column on phones */
  .offer-grid-related {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .offer-grid-related .offer-card.small {
    padding: 14px;
  }
  /* Specs: stacked layout on phones */
  .offer-specs {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .offer-specs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .offer-specs-table {
    font-size: 13px;
  }
  .offer-specs-table th,
  .offer-specs-table td {
    padding: 6px 4px;
    word-wrap: break-word;
  }
}
/* Oferta – karty produktów SMART Board */
.offer-card-product {
    padding-top: 18px;
}
.offer-card-image {
    position: relative;
    margin-bottom: 14px;
    border-radius: 16px;
    overflow: hidden;
}
.offer-card-image img {
    display: block;
    width: 100%;
    height: auto;
}
.vat-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.96);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.offer-price-note {
    font-size: 12px;
    color: #6b7280;
    align-self: flex-end;
}
.offer-actions-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}
@media (max-width: 640px) {
  .offer-actions-row {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Szczegóły specyfikacji – przyciski i treść */
.spec-toggle {
    margin-top: 18px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}
.spec-toggle::after {
    content: "▼";
    font-size: 11px;
    transition: transform 0.2s ease;
}
.spec-toggle.open::after {
    transform: rotate(180deg);
}
.spec-content {
    display: none;
    margin-top: 4px;
}
.spec-content.open {
    display: block;
}
/* === Strona produktowa (edukacyjna, pełna treść) === */
.product-hero-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(15,23,42,0.12);
}
.product-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}
.product-intro {
    max-width: 800px;
    margin: 0 auto 56px;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}
.product-intro p {
    margin-bottom: 16px;
}
.product-intro p:last-child {
    margin-bottom: 0;
}
.product-section {
    padding: 48px 0;
    background: #fff;
}
.product-section:nth-child(even) {
    background: #f9fafb;
}
.product-section h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}
.product-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}
.product-section ul {
    list-style: none;
    margin: 12px 0 0;
}
.product-section ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}
.product-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}
.product-section-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15,23,42,0.1);
}
.product-section-image img {
    display: block;
    width: 100%;
    height: auto;
}
.product-related-links {
    list-style: none;
    margin: 16px 0 0;
}
.product-related-links li {
    margin-bottom: 10px;
    padding-left: 0;
}
.product-related-links li::before {
    display: none;
}
.product-related-links a {
    font-weight: 600;
    color: #2563eb;
}
.product-related-links a:hover {
    text-decoration: underline;
}
.offer-specs-table tr.spec-group th {
    background: #f3f4f6;
    font-weight: 700;
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    color: #0f172a;
}
.contact-support-list {
    list-style: disc;
    padding-left: 20px;
    margin: 12px 0 0;
}
.contact-support-list li {
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 15px;
    color: #374151;
}
.contact-support-list li::before {
    display: none;
}
/* === RESPONSIVE RWD FIXES === */
@media (max-width: 768px) {
    img { max-width: 100%; height: auto; }
    /* .hero-image-bg ma inset: -20px i przy wąskim ekranie wystaje poza stronę */
    .hero-image { overflow: hidden; border-radius: 22px; }
    .hero-content { padding: 40px 20px; text-align: center; }
    .hero-title { font-size: 28px; line-height: 1.3; }
    .hero-subtitle { font-size: 18px; }
    .benefits-grid,
    .offer-grid,
    .blog-grid,
    .home-recommended-grid,
    .offer-specs-grid,
    .offer-grid-related {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px !important;
    }
    table { width: 100%; display: block; overflow-x: auto; }
    td, th { white-space: normal; word-break: break-word; }
    .footer-columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    form input, form textarea, form select {
        width: 100%;
        font-size: 16px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid,
    .offer-grid,
    .blog-grid,
    .home-recommended-grid,
    .offer-specs-grid,
    .offer-grid-related {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
/* === Enhanced RWD (A) + CSS cleanup (B) === */
@media(max-width:768px){
    section{padding:40px 20px;}
    h1,h2,h3{line-height:1.25;}
    img{max-width:100%;height:auto;}
    .hero-content{padding:50px 20px;text-align:center;}
    .hero-title{font-size:26px!important;}
    .hero-subtitle{font-size:18px!important;}
    .benefits-grid,
    .offer-grid,
    .blog-grid,
    .offer-specs-grid,
    .home-recommended-grid,
    .offer-grid-related{
        display:grid;
        grid-template-columns:1fr!important;
        gap:28px!important;
    }
    table{width:100%;display:block;overflow-x:auto;}
    td,th{white-space:normal;word-break:break-word;}
    form input, form textarea{width:100%;font-size:16px;}
    .footer-columns{
        display:grid;
        grid-template-columns:1fr;
        gap:32px;
        text-align:center;
    }
}
@media(min-width:769px) and (max-width:1024px){
    section{padding:60px 40px;}
    .hero-title{font-size:34px!important;}
    .benefits-grid,
    .offer-grid,
    .blog-grid,
    .offer-specs-grid,
    .home-recommended-grid,
    .offer-grid-related{
        display:grid;
        grid-template-columns:repeat(2,1fr)!important;
        gap:32px;
    }
    .footer-columns{grid-template-columns:repeat(2,1fr);}
}
/* === CSS cleanup === */


/* === UX microinteractions & smooth scrolling === */

html {
  scroll-behavior: smooth;
}

.btn-orange {
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.offer-card,
.blog-card,
.benefit-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover,
.blog-card:hover,
.benefit-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* Home Program Cyfrowy Uczeń Section */
.home-program-cyfrowy-uczen {
  background: #f8fafc;
  padding: 80px 0;
}

.home-program-cyfrowy-uczen .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.home-program-cyfrowy-uczen .section-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-program-cyfrowy-uczen .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.home-program-cyfrowy-uczen .section-header h2 .highlight {
  color: #2563eb;
}

.home-program-cyfrowy-uczen .section-desc {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.home-program-cyfrowy-uczen .cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-program-cyfrowy-uczen .offer-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-program-cyfrowy-uczen .offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-program-cyfrowy-uczen .offer-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.home-program-cyfrowy-uczen .offer-card.blue .icon {
  background: #dbeafe;
}

.home-program-cyfrowy-uczen .offer-card.green .icon {
  background: #d1fae5;
}

.home-program-cyfrowy-uczen .offer-card.orange .icon {
  background: #fed7aa;
}

.home-program-cyfrowy-uczen .offer-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.home-program-cyfrowy-uczen .offer-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.home-program-cyfrowy-uczen .offer-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.home-program-cyfrowy-uczen .offer-card ul li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
}

.home-program-cyfrowy-uczen .offer-card.blue ul li::before {
  content: "•";
  color: #2563eb;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.home-program-cyfrowy-uczen .offer-card.green ul li::before {
  content: "•";
  color: #10b981;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.home-program-cyfrowy-uczen .offer-card.orange ul li::before {
  content: "•";
  color: #f97316;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.home-program-cyfrowy-uczen .offer-card a {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-program-cyfrowy-uczen .offer-card a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .home-program-cyfrowy-uczen .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-program-cyfrowy-uczen {
    padding: 60px 0;
  }

  .home-program-cyfrowy-uczen .section-header h2 {
    font-size: 2rem;
  }

  .home-program-cyfrowy-uczen .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* About Page Styles */
.about-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}

.about-hero h1 .highlight {
  color: #2563eb;
}

.about-hero p {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.about-what-we-do,
.about-values,
.about-team,
.about-contact {
  padding: 70px 0;
}

.about-what-we-do {
  background: #fff;
}

.about-values {
  background: #f9fafb;
}

.about-team {
  background: #fff;
}

.about-contact {
  background: #f9fafb;
}

.about-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.about-cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.about-value-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.about-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-value-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.about-value-icon svg {
  width: 24px;
  height: 24px;
}

.about-value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.about-team-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.about-team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.about-team-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.about-team-role {
  font-size: 0.95rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-team-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.about-contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.about-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-contact-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.about-contact-icon svg {
  width: 24px;
  height: 24px;
}

.about-contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.about-contact-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.section-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-badge svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

@media (max-width: 1024px) {
  .about-cards-grid-4,
  .about-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0 40px;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .about-cards-grid-2,
  .about-cards-grid-4,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-what-we-do,
  .about-values,
  .about-team,
  .about-contact {
    padding: 50px 0;
  }
}

/* Realizacje Grid Styles */
.realizacje-grid-section {
  padding: 60px 0;
  background: #fff;
}

.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.realizacja-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realizacja-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
}

.realizacja-card-image {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  background: #f3f4f6;
}

.realizacja-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.realizacja-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 20px 8px;
  color: #0f172a;
}

.realizacja-card p {
  font-size: 15px;
  color: #4b5563;
  margin: 0 20px 20px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .realizacje-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .realizacje-grid {
    grid-template-columns: 1fr;
  }
}

/* Realizacja Single Page Styles */
.realizacja-hero-image {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.realizacja-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.realizacja-gallery {
  padding: 40px 0 60px;
  background: #fff;
}

.realizacja-gallery h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
  color: #0f172a;
}

.realizacja-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.realizacja-gallery-item {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f3f4f6;
}

.realizacja-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.realizacja-gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .realizacja-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .realizacja-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .realizacja-hero-image {
    margin: 20px auto 30px;
    border-radius: 16px;
  }
}

/* Realizacja Content Styles */
.realizacja-content {
  padding: 40px 0;
  background: #fff;
}

.realizacja-content .container {
  max-width: 900px;
}

.realizacja-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.realizacja-content a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.realizacja-content a:hover {
  text-decoration: underline;
}

.realizacja-scope {
  background: #f9fafb;
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.realizacja-scope h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.realizacja-scope ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.realizacja-scope li {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.realizacja-scope li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #2563eb;
  font-size: 20px;
  font-weight: bold;
}

.realizacja-back-link {
  text-align: center;
  padding: 40px 20px;
}

.realizacja-back-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
}

.realizacja-back-link a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Oferta Submenu Sidebar */
.oferta-submenu {
  position: fixed;
  top: 72px;
  left: 0;
  width: 160px;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px 0;
  z-index: 30;
  height: calc(100vh - 72px - 250px);
  max-height: calc(100vh - 72px - 250px);
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(15, 23, 42, 0.04);
}

.oferta-submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oferta-submenu li {
  margin: 0;
  padding: 0;
}

.oferta-submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  line-height: 1.4;
}

.oferta-submenu a:hover {
  background: #f9fafb;
  color: #2563eb;
}

.oferta-submenu a.active {
  background: #dbeafe;
  color: #1e40af;
  border-left-color: #3b82f6;
}

.oferta-submenu-models {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oferta-submenu .oferta-submenu-model {
  display: block;
  padding: 8px 14px 8px 28px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  line-height: 1.4;
}

.oferta-submenu .oferta-submenu-model:hover {
  background: #f9fafb;
  color: #2563eb;
}

.oferta-submenu .oferta-submenu-model.active {
  background: #dbeafe;
  color: #1e40af;
  border-left-color: #3b82f6;
}

/* Adjust main content to account for sidebar */
body.has-oferta-menu main {
  margin-left: 160px;
}

@media (max-width: 1024px) {
  .oferta-submenu {
    width: 150px;
  }
  
  body.has-oferta-menu main {
    margin-left: 150px;
  }
}

@media (max-width: 768px) {
  .oferta-submenu {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 0;
    overflow-x: auto;
    overflow-y: visible;
  }
  
  .oferta-submenu ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 16px;
  }
  
  .oferta-submenu li {
    flex-shrink: 0;
  }
  
  .oferta-submenu a {
    padding: 10px 16px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  
  .oferta-submenu a.active {
    border-left: none;
    border-bottom-color: #2563eb;
  }

  .oferta-submenu .oferta-submenu-models {
    padding: 0;
  }

  .oferta-submenu .oferta-submenu-model {
    padding: 8px 16px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .oferta-submenu .oferta-submenu-model.active {
    border-left: none;
    border-bottom-color: #2563eb;
  }
  
  body.has-oferta-menu main {
    margin-left: 0;
  }
}

/* Mobile brand/model selector — replaces the sidebar below 768px */
.brand-switch {
  display: none;
}

@media (max-width: 768px) {
  body.has-brand-switch .oferta-submenu {
    display: none;
  }

  .brand-switch {
    display: block;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .brand-switch,
  .brand-switch * {
    box-sizing: border-box;
  }

  .brand-switch-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
  }

  .brand-switch-summary::-webkit-details-marker {
    display: none;
  }

  .brand-switch-summary::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
  }

  .brand-switch[open] .brand-switch-summary::after {
    transform: rotate(-135deg);
  }

  .brand-switch-current {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .brand-switch-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
  }

  .brand-switch-list--brands {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 8px;
  }

  .brand-switch-item {
    display: block;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    border-left: 3px solid transparent;
    overflow-wrap: anywhere;
  }

  .brand-switch-item.active {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
  }
}