@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

:root {
    --bg-primary: #050607;
    --bg-secondary: #0b0d10;
    --bg-card: #111418;
    --bg-card-hover: #181c22;
    --orange: #ff6a00;
    --orange-light: #ff9f1c;
    --orange-dark: #cc5500;
    --text-primary: #f3f5f7;
    --text-secondary: #9ca6b1;
    --text-muted: #5a6370;
    --border-color: #1e2328;
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

.container {
    width: min(var(--max-width), 92vw);
    margin: 0 auto;
}

/* =================== HEADER / NAV =================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 6, 7, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 160px;
    width: auto;
    mix-blend-mode: lighten;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--orange);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: var(--orange);
    background: rgba(255, 106, 0, 0.12);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =================== HERO =================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 106, 0, 0.15) 0%, transparent 60%),
                var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,6,7,0.95) 0%, rgba(5,6,7,0.6) 50%, rgba(5,6,7,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--orange);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: #fff;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =================== SECTION =================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--orange);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =================== PRODUCT GRID =================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 106, 0, 0.1);
    background: var(--bg-card-hover);
}

.product-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.badge-promo {
    background: #e53e3e;
    color: #fff;
}

.badge-new {
    background: var(--orange);
    color: #fff;
}

.badge-homologacja {
    background: #38a169;
    color: #fff;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-card-body .specs {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .current {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange);
}

.product-price .old {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* =================== PRODUCT DETAIL =================== */
.product-detail {
    padding: 40px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 90px;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--orange);
    opacity: 1;
}

.product-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.product-info .price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.price-block .current-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--orange);
}

.price-block .old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 0;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: var(--text-secondary);
    width: 45%;
    font-weight: 500;
}

.specs-table td:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.equipment-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 32px;
}

.equipment-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 22px;
    position: relative;
}

.equipment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

/* =================== CATEGORIES SHOWCASE =================== */
.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,6,7,0.9) 0%, rgba(5,6,7,0.2) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.category-card-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.category-card-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-card-overlay .arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.category-card:hover .arrow {
    background: var(--orange);
}

/* =================== FEATURES =================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: rgba(255, 106, 0, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =================== FIRE SERVICE PAGE =================== */
.fire-hero {
    background: radial-gradient(ellipse at 30% 50%, rgba(229,62,62,0.15) 0%, transparent 60%),
                var(--bg-primary);
    min-height: 60vh;
}

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

.fire-feature {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.fire-feature h4 {
    color: #e53e3e;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.fire-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =================== WYPRAWY PAGE =================== */
.wyprawy-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,106,0,0.12) 0%, transparent 60%),
                var(--bg-primary);
}

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

.trip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.trip-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-4px);
}

.trip-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--orange);
}

.trip-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.trip-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.trip-card ul li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding-left: 20px;
    position: relative;
}

.trip-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* =================== CONTACT =================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.contact-item h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--orange);
}

.contact-item a:hover {
    color: var(--orange-light);
}

/* =================== FOOTER =================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--orange);
}

.footer-socials a svg {
    width: 20px;
    height: 20px;
    fill: var(--orange);
    transition: fill var(--transition);
}

.footer-socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.footer-socials a:hover svg {
    fill: #fff;
}

/* =================== BREADCRUMB =================== */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb span {
    margin: 0 8px;
}

/* =================== PAGE HEADER =================== */
.page-header {
    padding: 48px 0 32px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 106, 0, 0.08) 0%, transparent 60%);
}

.page-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.04em;
}

.page-header h1 span {
    color: var(--orange);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 8px;
}

/* =================== SCROLLBAR =================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* =================== MOBILE NAV OVERLAY =================== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,6,7,0.96);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.06em;
    padding: 12px 30px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-overlay a:hover,
.nav-overlay a.active {
    color: var(--orange);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .categories {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .fire-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 240px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .trip-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fire-features {
        grid-template-columns: 1fr;
    }

    .equipment-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

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

/* =================== SCROLL PROGRESS BAR =================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    z-index: 10000;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

/* =================== SCROLL REVEAL ANIMATIONS =================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.61s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.68s; }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.75s; }
.stagger-children.visible > *:nth-child(12) { transition-delay: 0.82s; }
.stagger-children.visible > *:nth-child(13) { transition-delay: 0.89s; }
.stagger-children.visible > *:nth-child(14) { transition-delay: 0.96s; }
.stagger-children.visible > *:nth-child(15) { transition-delay: 1.03s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* =================== HERO ENTRANCE ANIMATIONS =================== */
.hero-content .hero-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero background slow zoom */
.hero-bg img {
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* =================== FLOATING ORBS =================== */
.floating-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.07;
    animation: orbFloat linear infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: 10%;
    left: -100px;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #ff9f1c;
    top: 60%;
    right: -80px;
    animation-duration: 30s;
    animation-delay: -10s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #e53e3e;
    bottom: 10%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -20s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(80px, -60px) rotate(90deg); }
    50% { transform: translate(-40px, -120px) rotate(180deg); }
    75% { transform: translate(60px, 40px) rotate(270deg); }
}

/* =================== BADGE PULSE =================== */
.product-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255, 106, 0, 0); }
}

.badge-promo {
    animation-name: badgePulseRed;
}

@keyframes badgePulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(229, 62, 62, 0); }
}

.badge-homologacja {
    animation-name: badgePulseGreen;
}

@keyframes badgePulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(56, 161, 105, 0); }
}

/* =================== CARD TILT 3D =================== */
.product-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* =================== BUTTON RIPPLE =================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* =================== GLOWING ORANGE LINE =================== */
.glow-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    margin: 0 auto 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.glow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: glowSlide 2s ease-in-out infinite;
}

@keyframes glowSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* =================== FEATURE ICON BOUNCE =================== */
.feature-card:hover .feature-icon {
    animation: iconBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
    50% { transform: translateY(-6px); }
    70% { transform: translateY(-8px); }
}

/* =================== CATEGORY CARD SHINE =================== */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 2;
}

.category-card:hover::after {
    left: 125%;
}

/* =================== FOOTER LINK UNDERLINE =================== */
.footer-col a {
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

/* =================== NAV LINK HOVER EFFECT =================== */
.nav a {
    position: relative;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav a:hover::before,
.nav a.active::before {
    width: 20px;
}

/* =================== PRODUCT CARD GLOW ON HOVER =================== */
.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--orange), transparent, var(--orange-light));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 0.15;
}

/* =================== ANIMATED COUNTER =================== */
.counter-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.counter-item .counter-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--orange);
    letter-spacing: 0.04em;
    line-height: 1;
}

.counter-item .counter-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

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

/* =================== PRODUCT IMAGE GALLERY TRANSITION =================== */
.product-gallery-main img {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-gallery-main img.changing {
    opacity: 0;
    transform: scale(0.96);
}

/* =================== MOBILE NAV ANIMATION =================== */
.nav-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    display: flex;
    opacity: 1;
}

.nav-overlay a {
    opacity: 0;
    transform: translateY(20px);
}

.nav-overlay.active a {
    animation: navSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-overlay.active a:nth-child(1) { animation-delay: 0.1s; }
.nav-overlay.active a:nth-child(2) { animation-delay: 0.15s; }
.nav-overlay.active a:nth-child(3) { animation-delay: 0.2s; }
.nav-overlay.active a:nth-child(4) { animation-delay: 0.25s; }
.nav-overlay.active a:nth-child(5) { animation-delay: 0.3s; }
.nav-overlay.active a:nth-child(6) { animation-delay: 0.35s; }

@keyframes navSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== TRIP CARD BORDER ANIMATION =================== */
.trip-card {
    position: relative;
    overflow: hidden;
}

.trip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--orange), var(--orange-light));
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.trip-card:hover::before {
    height: 100%;
}

/* =================== FIRE FEATURE HOVER =================== */
.fire-feature {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.fire-feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e53e3e, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.fire-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 62, 62, 0.3);
}

.fire-feature:hover::after {
    transform: scaleX(1);
}

/* =================== CONTACT FORM INPUT ANIMATION =================== */
.form-group input,
.form-group textarea,
.form-group select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
    transform: translateY(-1px);
}

/* =================== CURSOR GLOW (subtle) =================== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,106,0,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* =================== TYPED CURSOR =================== */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--orange);
    margin-left: 4px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =================== SCROLL-TO-TOP BUTTON =================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--orange-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.4);
}

/* =================== LOADING ANIMATION =================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =================== PRICE TAG ANIMATION =================== */
.product-price .current {
    transition: transform 0.3s ease;
}

.product-card:hover .product-price .current {
    transform: scale(1.08);
}

/* =================== PARALLAX HELPER =================== */
.parallax-bg {
    will-change: transform;
}
