/* ============================================
   HurtowniaStron.pl — Main Stylesheet
   Prefix: hs-
   Fonts: Montserrat (display) + Inter (body)
   ============================================ */

:root {
    /* Colors */
    --hs-primary: #0a1628;
    --hs-primary-light: #142240;
    --hs-accent: #ff3b00;
    --hs-accent-hover: #e63500;
    --hs-accent-glow: rgba(255, 59, 0, 0.15);
    --hs-dark: #0d0d0d;
    --hs-gray-900: #1a1a2e;
    --hs-gray-700: #374151;
    --hs-gray-500: #6b7280;
    --hs-gray-300: #d1d5db;
    --hs-gray-100: #f3f4f6;
    --hs-white: #ffffff;
    --hs-bg: #fafbfc;

    /* Typography */
    --hs-font-display: 'Montserrat', sans-serif;
    --hs-font-body: 'Inter', sans-serif;
    --hs-fs-h1: clamp(1.75rem, 1.4rem + 1.75vw, 2.75rem);
    --hs-fs-h2: clamp(1.75rem, 1.4rem + 1.75vw, 3rem);
    --hs-fs-h3: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
    --hs-fs-body: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
    --hs-fs-small: 0.875rem;

    /* Spacing */
    --hs-section-py: clamp(4rem, 8vw, 7rem);
    --hs-container: 1200px;
    --hs-gap: clamp(1.5rem, 3vw, 2.5rem);

    /* Effects */
    --hs-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --hs-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --hs-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --hs-shadow-card: 0 2px 20px rgba(10,22,40,0.06);
    --hs-radius: 12px;
    --hs-radius-sm: 8px;
    --hs-ease: cubic-bezier(0.25, 1, 0.5, 1);
    --hs-dur: 300ms;

    /* Header */
    --hs-header-h: 72px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hs-header-h); }
body {
    font-family: var(--hs-font-body);
    font-size: var(--hs-fs-body);
    line-height: 1.7;
    color: var(--hs-gray-700);
    background: var(--hs-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--hs-dur) var(--hs-ease); }
h1, h2, h3, h4 {
    font-family: var(--hs-font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--hs-primary);
}

/* ============================================
   PRELOADER
   ============================================ */
.hs-preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--hs-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.hs-preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hs-preloader__spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--hs-accent);
    border-radius: 50%;
    animation: hsPin 0.7s linear infinite;
}
@keyframes hsPin { to { transform: rotate(360deg); } }

/* ============================================
   HEADER
   ============================================ */
.hs-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--hs-header-h);
    background: transparent;
    transition: background var(--hs-dur) var(--hs-ease), box-shadow var(--hs-dur) var(--hs-ease);
}
.hs-header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.15);
}
.hs-header__container {
    max-width: var(--hs-container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.hs-header__logo {
    font-family: var(--hs-font-display);
    font-size: 1.35rem; font-weight: 800;
    color: var(--hs-white);
    letter-spacing: -0.02em;
}
.hs-header__logo-accent { color: var(--hs-accent); }
.hs-header__logo-dot { color: var(--hs-gray-300); font-weight: 400; }
.hs-header__nav { display: flex; align-items: center; gap: 2rem; }
.hs-header__link {
    font-family: var(--hs-font-display);
    font-size: 0.875rem; font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--hs-dur) var(--hs-ease);
}
.hs-header__link:hover { color: var(--hs-white); }
.hs-header__link--cta {
    color: var(--hs-white);
    background: var(--hs-accent);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background var(--hs-dur) var(--hs-ease), transform 0.15s;
}
.hs-header__link--cta:hover { background: var(--hs-accent-hover); color: var(--hs-white); transform: translateY(-1px); }

/* Burger */
.hs-header__burger {
    display: none; cursor: pointer;
    background: none; border: none;
    width: 32px; height: 24px;
    position: relative; z-index: 1001;
}
.hs-header__burger-line {
    display: block; position: absolute; left: 0;
    width: 100%; height: 2px;
    background: var(--hs-white);
    transition: transform var(--hs-dur) var(--hs-ease), opacity var(--hs-dur);
}
.hs-header__burger-line:nth-child(1) { top: 0; }
.hs-header__burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hs-header__burger-line:nth-child(3) { bottom: 0; }
.hs-header__burger.active .hs-header__burger-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hs-header__burger.active .hs-header__burger-line:nth-child(2) { opacity: 0; }
.hs-header__burger.active .hs-header__burger-line:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.hs-mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: var(--hs-primary);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--hs-ease), visibility 0.4s;
}
.hs-mobile-menu.active { opacity: 1; visibility: visible; }
.hs-mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hs-mobile-menu__link {
    font-family: var(--hs-font-display);
    font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700;
    color: var(--hs-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(20px); opacity: 0;
    transition: transform 0.4s var(--hs-ease), opacity 0.4s, color 0.2s;
}
.hs-mobile-menu.active .hs-mobile-menu__link { transform: translateY(0); opacity: 1; }
.hs-mobile-menu.active .hs-mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.hs-mobile-menu.active .hs-mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.hs-mobile-menu.active .hs-mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.hs-mobile-menu.active .hs-mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.hs-mobile-menu.active .hs-mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }
.hs-mobile-menu__link:hover { color: var(--hs-accent); }

/* ============================================
   BUTTONS
   ============================================ */
.hs-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--hs-font-display);
    font-size: 0.875rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.875rem 2rem;
    border-radius: var(--hs-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-btn--primary { background: var(--hs-accent); color: var(--hs-white); border-color: var(--hs-accent); }
.hs-btn--primary:hover {
    background: var(--hs-accent-hover); border-color: var(--hs-accent-hover);
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 59, 0, 0.3); color: var(--hs-white);
}
.hs-btn--outline { background: transparent; color: var(--hs-white); border-color: rgba(255,255,255,0.35); }
.hs-btn--outline:hover { border-color: var(--hs-white); background: rgba(255,255,255,0.08); color: var(--hs-white); }
.hs-btn--white { background: var(--hs-white); color: var(--hs-primary); border-color: var(--hs-white); }
.hs-btn--white:hover { background: transparent; color: var(--hs-white); transform: translateY(-2px); }
.hs-btn--outline-dark { background: transparent; color: var(--hs-gray-700); border-color: var(--hs-gray-300); }
.hs-btn--outline-dark:hover { border-color: var(--hs-primary); color: var(--hs-primary); }
.hs-btn--outline-dark svg { transform: rotate(180deg); }
.hs-btn--lg { padding: 1rem 2.5rem; font-size: 0.9375rem; }
.hs-btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO — Compact elegant bar
   ============================================ */
.hs-hero {
    position: relative;
    padding: calc(var(--hs-header-h) + clamp(2.5rem, 4vw, 3.5rem)) 0 0;
    overflow: hidden;
    background: var(--hs-primary);
}
.hs-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 59, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-light) 50%, var(--hs-primary) 100%);
}
.hs-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hs-hero__container {
    position: relative; z-index: 2;
    max-width: var(--hs-container);
    margin: 0 auto;
    padding: 0 2rem;
}
.hs-hero__top {
    text-align: center;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.hs-hero__content {
    max-width: 720px;
    margin: 0 auto;
}
.hs-hero__badge {
    display: inline-block;
    font-family: var(--hs-font-display);
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hs-accent);
    border: 1px solid rgba(255, 59, 0, 0.3);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.hs-hero__title {
    font-size: var(--hs-fs-h1);
    color: var(--hs-white);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.hs-hero__subtitle {
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.125rem);
    color: rgba(255,255,255,0.65);
    font-weight: 400;
    margin-bottom: 1.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.hs-hero__actions {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    justify-content: center;
}

/* Hero bottom bar — 4 stats */
.hs-hero__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}
.hs-hero__bar-item {
    text-align: center;
    padding: 0 1rem;
}
.hs-hero__bar-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
}
.hs-hero__bar-number {
    display: block;
    font-family: var(--hs-font-display);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 900;
    color: var(--hs-accent);
    line-height: 1.1;
}
.hs-hero__bar-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* ============================================
   SECTIONS (generic)
   ============================================ */
.hs-section { padding: var(--hs-section-py) 0; position: relative; }
.hs-section--dark { background: var(--hs-primary); color: rgba(255,255,255,0.8); }
.hs-section--dark h2, .hs-section--dark h3 { color: var(--hs-white); }
.hs-section--accent {
    background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-light) 100%);
    color: rgba(255,255,255,0.85);
}
.hs-section--accent h2 { color: var(--hs-white); }
.hs-section__container { max-width: var(--hs-container); margin: 0 auto; padding: 0 2rem; }
.hs-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.hs-section__title { font-size: var(--hs-fs-h2); margin-bottom: 1rem; letter-spacing: -0.02em; }
.hs-section__subtitle {
    font-family: var(--hs-font-display);
    font-size: var(--hs-fs-small); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--hs-accent); margin-bottom: 0.5rem;
}
.hs-section__text {
    font-size: var(--hs-fs-body); color: var(--hs-gray-500);
    max-width: 640px; margin: 0 auto; line-height: 1.8;
}

/* ============================================
   O NAS — Benefits (4 columns)
   ============================================ */
.hs-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hs-gap);
}
.hs-benefit {
    padding: 2rem 1.5rem;
    border-radius: var(--hs-radius);
    background: var(--hs-white);
    border: 1px solid var(--hs-gray-100);
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--hs-shadow-lg);
    border-color: transparent;
}
.hs-benefit__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--hs-accent-glow);
    color: var(--hs-accent);
    border-radius: var(--hs-radius-sm);
    margin-bottom: 1.25rem;
}
.hs-benefit__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.hs-benefit__text { color: var(--hs-gray-500); font-size: 0.8125rem; line-height: 1.65; }

/* ============================================
   PROCES — Steps (3 columns)
   ============================================ */
.hs-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hs-gap);
}
.hs-step {
    padding: 2.5rem 2rem;
    border-radius: var(--hs-radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s var(--hs-ease);
}
.hs-step:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255, 59, 0, 0.2);
    transform: translateY(-4px);
}
.hs-step__number {
    font-family: var(--hs-font-display);
    font-size: 3.5rem; font-weight: 900;
    color: rgba(255, 59, 0, 0.15);
    line-height: 1; margin-bottom: 1rem;
}
.hs-step__title { font-size: var(--hs-fs-h3); color: var(--hs-accent); margin-bottom: 0.75rem; }
.hs-step__text { font-size: var(--hs-fs-small); line-height: 1.7; color: rgba(255,255,255,0.65); }

/* ============================================
   OFERTA — Services (3 columns, 2 rows = 6)
   ============================================ */
.hs-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hs-gap);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hs-service {
    padding: 2rem;
    border-radius: var(--hs-radius);
    background: var(--hs-white);
    border: 1px solid var(--hs-gray-100);
    text-align: center;
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--hs-shadow-lg);
    border-color: transparent;
}
.hs-service__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--hs-primary); color: var(--hs-accent);
    border-radius: var(--hs-radius-sm);
    margin: 0 auto 1.25rem;
}
.hs-service__name { font-size: 1.05rem; margin-bottom: 0.5rem; }
.hs-service__desc { color: var(--hs-gray-500); font-size: var(--hs-fs-small); line-height: 1.6; }
.hs-oferta__bottom {
    text-align: center; padding: 2.5rem;
    background: var(--hs-gray-100); border-radius: var(--hs-radius);
}
.hs-oferta__pricing {
    font-family: var(--hs-font-display);
    font-size: var(--hs-fs-h3); font-weight: 700;
    color: var(--hs-primary); margin-bottom: 1.5rem;
}

/* ============================================
   REALIZACJE — Stats (2x2)
   ============================================ */
.hs-realizacje__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hs-realizacje__desc { font-size: var(--hs-fs-body); color: rgba(255,255,255,0.7); margin: 1.25rem 0 2rem; line-height: 1.8; }
.hs-realizacje__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hs-stat {
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--hs-radius);
    text-align: center;
    transition: all 0.4s var(--hs-ease);
}
.hs-stat:hover { background: rgba(255, 59, 0, 0.1); border-color: rgba(255, 59, 0, 0.25); transform: scale(1.03); }
.hs-stat__number {
    display: block; font-family: var(--hs-font-display);
    font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 900;
    color: var(--hs-accent); line-height: 1.1; margin-bottom: 0.25rem;
}
.hs-stat__label { display: block; font-size: var(--hs-fs-small); color: rgba(255,255,255,0.6); }

/* ============================================
   KONTAKT — Fullwidth Form
   ============================================ */
.hs-kontakt { background: var(--hs-bg); }

/* Trust bar */
.hs-kontakt__trust-bar {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding: 1.25rem 2rem;
    background: var(--hs-white);
    border-radius: var(--hs-radius);
    border: 1px solid var(--hs-gray-100);
}
.hs-kontakt__trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: var(--hs-fs-small); color: var(--hs-gray-700);
}
.hs-kontakt__trust-item svg { flex-shrink: 0; color: #059669; }
.hs-kontakt__trust-item strong { color: var(--hs-primary); }
.hs-kontakt__trust-item a { color: var(--hs-accent); font-weight: 600; }
.hs-kontakt__trust-item a:hover { text-decoration: underline; }

/* Fullwidth form card */
.hs-kontakt__form-wrap { max-width: 900px; margin: 0 auto; }
.hs-form-card {
    background: var(--hs-white);
    border-radius: var(--hs-radius);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--hs-shadow-lg);
    border: 1px solid rgba(10,22,40,0.06);
    position: relative;
}

/* Step indicators */
.hs-form-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 2.5rem;
}
.hs-form-steps__item { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem; }
.hs-form-steps__num {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--hs-font-display);
    font-size: 0.85rem; font-weight: 800;
    color: var(--hs-gray-500); background: var(--hs-gray-100);
    border-radius: 50%; transition: all var(--hs-dur) var(--hs-ease);
}
.hs-form-steps__label {
    font-family: var(--hs-font-display);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--hs-gray-500); transition: color var(--hs-dur);
}
.hs-form-steps__item.active .hs-form-steps__num {
    background: var(--hs-accent); color: var(--hs-white);
    box-shadow: 0 2px 12px rgba(255, 59, 0, 0.3);
}
.hs-form-steps__item.active .hs-form-steps__label { color: var(--hs-primary); }
.hs-form-steps__item.done .hs-form-steps__num { background: var(--hs-primary); color: var(--hs-white); }
.hs-form-steps__item.done .hs-form-steps__label { color: var(--hs-primary); }
.hs-form-steps__line { flex: 0 0 40px; height: 2px; background: var(--hs-gray-100); border-radius: 1px; }

/* Step panels */
.hs-form__step { display: none; }
.hs-form__step.active { display: block; animation: hsStepIn 0.35s var(--hs-ease); }
@keyframes hsStepIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Form grids */
.hs-form__grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0.25rem; }
.hs-form__grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hs-form__group--span2 { grid-column: span 2; }
.hs-form__group { margin-bottom: 1.25rem; position: relative; }
.hs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hs-form__label {
    display: block; font-family: var(--hs-font-display);
    font-size: var(--hs-fs-small); font-weight: 600;
    color: var(--hs-primary); margin-bottom: 0.375rem;
}
.hs-form__input {
    width: 100%; padding: 0.875rem 1rem;
    font-family: var(--hs-font-body); font-size: 1rem;
    color: var(--hs-primary); background: var(--hs-bg);
    border: 1.5px solid var(--hs-gray-300);
    border-radius: var(--hs-radius-sm);
    transition: border-color var(--hs-dur), box-shadow var(--hs-dur), background var(--hs-dur);
    outline: none;
}
.hs-form__input::placeholder { color: var(--hs-gray-500); font-size: 0.9rem; }
.hs-form__input:focus { border-color: var(--hs-accent); box-shadow: 0 0 0 3px var(--hs-accent-glow); background: var(--hs-white); }
.hs-form__input.has-error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
.hs-form__textarea { resize: vertical; min-height: 130px; }
.hs-form__error { display: none; font-size: 0.75rem; font-weight: 500; color: #dc2626; margin-top: 0.25rem; }
.hs-form__error.visible { display: block; }

/* Radio card group (volume) */
.hs-form__radio-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.hs-form__radio-card { cursor: pointer; }
.hs-form__radio-card input { position: absolute; opacity: 0; }
.hs-form__radio-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 1.25rem 0.5rem;
    border: 2px solid var(--hs-gray-100); border-radius: var(--hs-radius-sm);
    background: var(--hs-bg);
    transition: all var(--hs-dur) var(--hs-ease); text-align: center;
}
.hs-form__radio-card input:checked + .hs-form__radio-body {
    border-color: var(--hs-accent); background: var(--hs-accent-glow); transform: scale(1.02);
}
.hs-form__radio-card:hover .hs-form__radio-body { border-color: var(--hs-gray-300); }
.hs-form__radio-number {
    font-family: var(--hs-font-display); font-size: 1.5rem; font-weight: 900;
    color: var(--hs-primary); line-height: 1.1;
}
.hs-form__radio-card input:checked + .hs-form__radio-body .hs-form__radio-number { color: var(--hs-accent); }
.hs-form__radio-label {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--hs-gray-500); margin-top: 0.25rem;
}

/* Checkbox group */
.hs-form__check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem; }
.hs-form__check-group--col3 { grid-template-columns: repeat(3, 1fr); }
.hs-form__check {
    display: flex; align-items: center; gap: 0.625rem; cursor: pointer;
    font-size: 0.875rem; color: var(--hs-gray-700);
    padding: 0.5rem 0.75rem; border-radius: var(--hs-radius-sm);
    transition: background var(--hs-dur);
}
.hs-form__check:hover { background: var(--hs-gray-100); }
.hs-form__check input { position: absolute; opacity: 0; }
.hs-form__check-box {
    flex-shrink: 0; width: 20px; height: 20px;
    border: 2px solid var(--hs-gray-300); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-form__check-box::after {
    content: ''; width: 10px; height: 10px;
    background: var(--hs-accent); border-radius: 2px;
    transform: scale(0); transition: transform 0.2s var(--hs-ease);
}
.hs-form__check input:checked + .hs-form__check-box { border-color: var(--hs-accent); }
.hs-form__check input:checked + .hs-form__check-box::after { transform: scale(1); }
.hs-form__check--rodo { padding: 0; font-size: 0.8rem; color: var(--hs-gray-500); line-height: 1.5; }
.hs-form__check--rodo a { color: var(--hs-accent); text-decoration: underline; }

/* Radio inline */
.hs-form__radio-inline { display: flex; flex-direction: column; gap: 0.375rem; }
.hs-form__radio {
    display: flex; align-items: center; gap: 0.625rem; cursor: pointer;
    font-size: 0.875rem; color: var(--hs-gray-700);
    padding: 0.5rem 0.75rem; border-radius: var(--hs-radius-sm);
    transition: background var(--hs-dur);
}
.hs-form__radio:hover { background: var(--hs-gray-100); }
.hs-form__radio input { position: absolute; opacity: 0; }
.hs-form__radio-dot {
    flex-shrink: 0; width: 20px; height: 20px;
    border: 2px solid var(--hs-gray-300); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: border-color var(--hs-dur);
}
.hs-form__radio-dot::after {
    content: ''; width: 10px; height: 10px;
    background: var(--hs-accent); border-radius: 50%;
    transform: scale(0); transition: transform 0.2s var(--hs-ease);
}
.hs-form__radio input:checked + .hs-form__radio-dot { border-color: var(--hs-accent); }
.hs-form__radio input:checked + .hs-form__radio-dot::after { transform: scale(1); }

/* Form actions */
.hs-form__actions { margin-top: 1.5rem; text-align: center; }
.hs-form__actions--split {
    display: flex; gap: 1rem; justify-content: space-between; margin-top: 1.5rem;
}

/* Status & success */
.hs-form__status {
    margin-top: 1rem; font-size: var(--hs-fs-small); font-weight: 600;
    text-align: center; padding: 0.75rem; border-radius: var(--hs-radius-sm);
}
.hs-form__status--success { color: #059669; background: rgba(5, 150, 105, 0.08); }
.hs-form__status--error { color: #dc2626; background: rgba(220, 38, 38, 0.08); }
.hs-form__success { display: none; text-align: center; padding: 2rem 0; }
.hs-form__success.visible { display: block; animation: hsStepIn 0.5s var(--hs-ease); }
.hs-form__success-icon {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #059669, #10b981);
    color: var(--hs-white); border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}
.hs-form__success-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.hs-form__success-text {
    color: var(--hs-gray-500); margin-bottom: 2rem;
    max-width: 380px; margin-left: auto; margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.hs-footer { background: var(--hs-dark); padding: 2.5rem 0; }
.hs-footer__container {
    max-width: var(--hs-container); margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
}
.hs-footer__logo { font-family: var(--hs-font-display); font-size: 1.2rem; font-weight: 800; color: var(--hs-white); }
.hs-footer__logo-accent { color: var(--hs-accent); }
.hs-footer__tagline { font-size: var(--hs-fs-small); color: rgba(255,255,255,0.4); margin-top: 0.25rem; }
.hs-footer__links { display: flex; gap: 1.5rem; }
.hs-footer__links a {
    font-family: var(--hs-font-display); font-size: var(--hs-fs-small); font-weight: 600;
    color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.04em;
    transition: color var(--hs-dur);
}
.hs-footer__links a:hover { color: var(--hs-white); }
.hs-footer__copy { text-align: right; }
.hs-footer__copy p { font-size: var(--hs-fs-small); color: rgba(255,255,255,0.4); }
.hs-footer__copy a { color: var(--hs-accent); }
.hs-footer__copy a:hover { text-decoration: underline; }

/* ============================================
   SCROLL TOP
   ============================================ */
.hs-scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--hs-primary); color: var(--hs-white);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%; cursor: pointer;
    opacity: 0; transform: translateY(10px);
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-scroll-top.visible { opacity: 1; transform: translateY(0); }
.hs-scroll-top:hover { background: var(--hs-accent); border-color: var(--hs-accent); }

/* ============================================
   COOKIES
   ============================================ */
.hs-cookies {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
    background: var(--hs-primary);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    transform: translateY(100%); transition: transform 0.4s var(--hs-ease);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
}
.hs-cookies.visible { transform: translateY(0); }
.hs-cookies__inner {
    max-width: var(--hs-container); margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.hs-cookies__content { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.hs-cookies__content svg { flex-shrink: 0; color: var(--hs-accent); opacity: 0.7; }
.hs-cookies__text { font-size: var(--hs-fs-small); color: rgba(255,255,255,0.7); line-height: 1.5; }
.hs-cookies__btn {
    font-family: var(--hs-font-display); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.625rem 1.75rem; background: var(--hs-accent); color: var(--hs-white);
    border: none; border-radius: 6px; cursor: pointer; white-space: nowrap;
    transition: background var(--hs-dur), transform 0.15s;
}
.hs-cookies__btn:hover { background: var(--hs-accent-hover); transform: translateY(-1px); }

/* ============================================
   PRIVACY MODAL
   ============================================ */
.hs-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--hs-ease), visibility 0.3s;
}
.hs-modal.active { opacity: 1; visibility: visible; }
.hs-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(4px);
}
.hs-modal__container {
    position: relative; z-index: 1;
    width: 90%; max-width: 680px; max-height: 85vh;
    display: flex; flex-direction: column;
}
.hs-modal__card {
    background: var(--hs-white);
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow-lg);
    display: flex; flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s var(--hs-ease);
}
.hs-modal.active .hs-modal__card { transform: translateY(0) scale(1); }
.hs-modal__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--hs-gray-100);
    flex-shrink: 0;
}
.hs-modal__title { font-size: 1.25rem; margin: 0; }
.hs-modal__close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--hs-gray-100); color: var(--hs-gray-700);
    border: none; border-radius: 50%; cursor: pointer;
    transition: all var(--hs-dur) var(--hs-ease);
}
.hs-modal__close:hover { background: var(--hs-primary); color: var(--hs-white); }
.hs-modal__body {
    padding: 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.hs-modal__body h3 {
    font-size: 1rem; font-weight: 700;
    margin: 1.75rem 0 0.5rem; color: var(--hs-primary);
}
.hs-modal__body h3:first-child { margin-top: 0; }
.hs-modal__body p { font-size: 0.875rem; color: var(--hs-gray-700); line-height: 1.7; margin-bottom: 0.75rem; }
.hs-modal__body ul { margin: 0 0 1rem 1.25rem; font-size: 0.875rem; color: var(--hs-gray-700); line-height: 1.8; }
.hs-modal__body li { margin-bottom: 0.25rem; }
.hs-modal__body a { color: var(--hs-accent); text-decoration: underline; }
.hs-modal__updated {
    font-size: 0.75rem; color: var(--hs-gray-500);
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--hs-gray-100);
}
.hs-modal__info-box {
    padding: 1rem 1.25rem;
    background: var(--hs-gray-100);
    border-radius: var(--hs-radius-sm);
    font-size: 0.875rem; line-height: 1.7;
    color: var(--hs-gray-700);
    margin-bottom: 1rem;
}
.hs-modal__info-box strong { color: var(--hs-primary); }
.hs-privacy-link { cursor: pointer; }

@media (max-width: 768px) {
    .hs-modal__container { width: 95%; max-height: 90vh; }
    .hs-modal__card { max-height: 90vh; }
    .hs-modal__header { padding: 1.25rem 1.5rem; }
    .hs-modal__body { padding: 1.5rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.hs-anim {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s var(--hs-ease), transform 0.6s var(--hs-ease);
    transition-delay: var(--delay, 0ms);
}
.hs-anim.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   PAGE (generic)
   ============================================ */
.hs-page { padding-top: calc(var(--hs-header-h) + 3rem); min-height: 60vh; }
.hs-page__container { max-width: 800px; margin: 0 auto; padding: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hs-benefits { grid-template-columns: repeat(2, 1fr); }
    .hs-hero__bar { grid-template-columns: 1fr auto 1fr; gap: 0.5rem; }
    .hs-hero__bar-item:nth-child(n+6) { display: none; }
    .hs-hero__bar-divider:nth-child(6) { display: none; }
    .hs-realizacje__grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hs-services { grid-template-columns: repeat(2, 1fr); }
    .hs-form__grid-3 { grid-template-columns: 1fr 1fr; }
    .hs-form__group--span2 { grid-column: span 2; }
    .hs-form__grid-2 { grid-template-columns: 1fr; }
    .hs-form__check-group--col3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hs-header__nav { display: none; }
    .hs-header__burger { display: block; }
    .hs-form__row { grid-template-columns: 1fr; }
    .hs-form-card { padding: 1.5rem; }
    .hs-form__radio-group { grid-template-columns: repeat(2, 1fr); }
    .hs-form__check-group, .hs-form__check-group--col3 { grid-template-columns: 1fr; }
    .hs-form-steps__label { display: none; }
    .hs-form__actions--split { flex-direction: column; }
    .hs-form__actions--split .hs-btn { width: 100%; justify-content: center; }
    .hs-form__grid-3 { grid-template-columns: 1fr; }
    .hs-form__group--span2 { grid-column: span 1; }
    .hs-benefits { grid-template-columns: 1fr; }
    .hs-steps { grid-template-columns: 1fr; }
    .hs-services { grid-template-columns: 1fr; }
    .hs-hero__bar { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem 1rem; }
    .hs-hero__bar-divider { display: none; }
    .hs-hero__bar-item { padding: 0.5rem 0; }
    .hs-hero__bar-item:nth-child(n+6) { display: flex; flex-direction: column; }
    .hs-kontakt__trust-bar { flex-direction: column; gap: 0.75rem; text-align: left; }
    .hs-footer__container { flex-direction: column; text-align: center; }
    .hs-footer__links { justify-content: center; flex-wrap: wrap; }
    .hs-footer__copy { text-align: center; }
    .hs-cookies__inner { flex-direction: column; text-align: center; }
    .hs-cookies__content { justify-content: center; }
    .hs-realizacje__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hs-hero__actions { flex-direction: column; }
    .hs-hero__actions .hs-btn { width: 100%; justify-content: center; }
    .hs-scroll-top { bottom: 1.25rem; right: 1.25rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .hs-anim { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
