/* ==========================================
   GRESZTA24.PL - Style CSS
   Nowoczesna strona dla firmy instalacyjnej
   ========================================== */

/* === CZCIONKA INTER (self-hosted) === */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500 700;
    font-display: optional;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500 700;
    font-display: optional;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === ZMIENNE CSS === */
:root {
    /* Kolory główne - bazowane na logo */
    --primary: #104c97;
    --primary-dark: #0d3d7a;
    --primary-light: #1a5eb8;

    /* Ciemny granat — używany jako tło hero, projektowanie, cta */
    --dark-navy: #081230;
    --dark-navy-rgb: 8, 18, 48;

    /* Kolory akcentowe */
    --accent: #3B82F6;
    --accent-light: #60A5FA;

    /* Kolory neutralne */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Kolory funkcjonalne */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typografia */
    --font-family: 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 4px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

/* === FOCUS STYLES === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

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

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

ul {
    list-style: none;
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.text-gradient {
    color: var(--primary);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9375rem;
}

.btn-full {
    width: 100%;
}

/* === SECTION STYLES === */
.section-badge {
    display: inline-block;
    padding: 0 0 6px 0;
    background: none;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 0;
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-header {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 64px;
    margin: 0 0 60px;
    text-align: left;
}

.section-header .section-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 16px;
}

.section-header h2 {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: 540px;
    text-wrap: balance;
}

.section-header p {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: end;
    margin: 0;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 480px;
}

.section-header.flip {
    grid-template-columns: 1fr 1.3fr;
}

.section-header.flip .section-badge {
    grid-column: 2;
}

.section-header.flip h2 {
    grid-column: 2;
}

.section-header.flip p {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
    transition: padding var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), border-bottom-color var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

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

.logo-suffix {
    color: var(--accent);
    font-weight: 600;
}

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

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-link-hiring {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-hiring-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}
.nav-hiring-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: navHiringPulse 1.8s ease-out infinite;
}
@keyframes navHiringPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-hiring-dot::after { animation: none; }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 750px;
    display: flex;
    align-items: center;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(var(--dark-navy-rgb), 0.90) 0%,
        rgba(var(--dark-navy-rgb), 0.70) 45%,
        rgba(var(--dark-navy-rgb), 0.20) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-typed-line {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-typed-line {
        white-space: normal;
        display: inline-block;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.65;
}

/* === HERO TYPEWRITER === */
.hero-typed-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: rgba(255, 255, 255, 0.85);
    margin-left: 4px;
    vertical-align: middle;
    border-radius: 2px;
    animation: cursor-blink 0.75s step-end infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-typed-cursor { animation: none; }
}

.btn-hero-cta {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-size: 1rem;
    padding: 14px 28px;
}

.btn-hero-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === NAVBAR PHONE BUTTON === */
.btn-nav-phone {
    background: var(--primary);
    color: var(--white) !important;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-nav-phone:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* === FEATURES STRIP === */
.features-strip {
    padding: 64px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    position: relative;
}

@media (min-width: 769px) {
    .feature-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 12%;
        bottom: 12%;
        right: -20px;
        width: 1px;
        background: var(--gray-200);
    }
}

.feature-icon-wrap {
    width: auto;
    height: auto;
    margin: 0 auto 18px;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.feature-item:hover .feature-icon-wrap {
    background: none;
}

.feature-icon-wrap svg {
    color: var(--primary);
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-strip {
        padding: 36px 0;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .feature-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 0;
    }

    .feature-item .feature-icon-wrap {
        margin: 0;
    }

    .feature-item .feature-icon-wrap svg {
        width: 22px;
        height: 22px;
    }

    .feature-item h3 {
        font-size: 0.9375rem;
        margin: 0;
        line-height: 1.25;
    }

    .feature-item p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin: 0;
        max-width: none;
        color: var(--gray-600);
    }
}

.hero-content h1 {
    margin-bottom: 24px;
}

.about-image-placeholder,
.project-placeholder {
    aspect-ratio: 4/3;
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.about-image-placeholder svg,
.project-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* === ABOUT SECTION === */
.services,
.why-us,
.projects,
.contact {
    border-top: 1px solid var(--gray-200);
}

.about {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    background: var(--dark-navy);
    color: var(--white);
}

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

.about-bg picture,
.about-bg-img {
    width: 100%;
    height: 100%;
    display: block;
}

.about-bg-img {
    object-fit: cover;
    object-position: center;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,18,48,0.92) 0%, rgba(8,18,48,0.78) 45%, rgba(8,18,48,0.30) 100%);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 600px;
}

.about-content .section-badge {
    color: var(--white);
    border-bottom-color: var(--white);
}

.about-content h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 16px;
}

.about-content > p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: #10b981;
}

.about-feature span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
}

/* === SERVICES SECTION === */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.service-card > p {
    margin: 0 0 20px 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.services-grid .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.services-grid .service-link span {
    transition: transform var(--transition-fast);
}

.services-grid .service-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.services-grid .service-link:hover span {
    transform: translateX(2px);
}

/* Zakładki usług */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 14px 32px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.service-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: invert(22%) sepia(90%) saturate(1200%) hue-rotate(197deg) brightness(70%) contrast(95%);
}


.service-list {
    display: none;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

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

.service-link {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.service-link:hover {
    color: var(--accent);
    gap: 12px;
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* === PROJEKTOWANIE SECTION === */
.projektowanie {
    padding: var(--section-padding) 0;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

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

.projektowanie-bg picture,
.projektowanie-bg-img {
    width: 100%;
    height: 100%;
    display: block;
}

.projektowanie-bg-img {
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
}

.projektowanie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(var(--dark-navy-rgb), 0.85) 0%,
        rgba(var(--dark-navy-rgb), 0.65) 50%,
        rgba(var(--dark-navy-rgb), 0.45) 100%
    );
}

.projektowanie .container {
    position: relative;
    z-index: 1;
}

.projektowanie .section-badge {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.projektowanie .section-header h2 {
    color: var(--white);
}

.projektowanie .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

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

.projekt-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    text-align: center;
}

.projekt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.projekt-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    background: rgba(30, 75, 142, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.projekt-icon img {
    width: 24px;
    height: 24px;
    filter: invert(22%) sepia(90%) saturate(1200%) hue-rotate(197deg) brightness(70%) contrast(95%);
}

.projekt-card h3 {
    margin-bottom: 12px;
}

.projekt-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.projekt-card .service-link {
    justify-content: center;
}

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

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

/* === WHY US SECTION === */
.why-us {
    padding: var(--section-padding) 0;
}

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

.why-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.why-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card:hover .why-number {
    opacity: 0.25;
}

.why-card h3 {
    margin-bottom: 12px;
}

.why-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* === AREA SECTION === */
.area {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.area-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.area-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.area-card:first-child {
    border-color: var(--primary);
    background: rgba(16, 76, 151, 0.04);
}

.area-card:first-child .area-time {
    background: var(--primary);
    color: var(--white);
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.area-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.area-time {
    background: rgba(30, 75, 142, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.area-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

.area-note {
    text-align: center;
    color: var(--gray-600);
    margin-top: 32px;
    font-size: 0.9375rem;
}

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

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

/* === PROJECTS SECTION === */
.projects {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.project-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

.project-image::after {
    content: 'Zobacz realizacje →';
    position: absolute;
    inset: 0;
    background: rgba(16, 76, 151, 0.75);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-placeholder {
    aspect-ratio: 1;
}

.project-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.project-info {
    padding: 16px;
}

.project-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.project-info h3 {
    font-size: 1rem;
    margin: 6px 0 4px;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* === CTA SECTION === */
.cta {
    padding: 80px 0;
    background: var(--dark-navy);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.about-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* === CONTACT SECTION === */
.contact {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 75, 142, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span {
    font-weight: 500;
    color: var(--gray-800);
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-hours h3 {
    margin-bottom: 12px;
}

.contact-hours p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.contact-hours .highlight {
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 75, 142, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group select {
    cursor: pointer;
}

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

.form-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 8px;
}

/* === FOOTER === */
.footer {
    background: var(--gray-900);
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-700);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-img {
    filter: brightness(0) invert(1);
    height: 36px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links li {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-legal {
    margin-top: 8px;
    font-size: 0.75rem !important;
    color: var(--gray-500) !important;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero {
        min-height: 440px;
        padding: 120px 0 60px;
    }

    .hero-content {
        max-width: 500px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-overlay {
        background: linear-gradient(180deg, rgba(8,18,48,0.92) 0%, rgba(8,18,48,0.85) 100%);
    }

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

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
        --container-padding: 16px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-lg);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 160px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        letter-spacing: -0.03em;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 24px;
        line-height: 1.55;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.875rem;
        gap: 6px;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    .sticky-call-btn {
        padding: 13px 20px;
        font-size: 0.9375rem;
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .btn-nav-phone {
        display: none;
    }

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

    .service-card {
        padding: 24px;
    }

    .section-header,
    .section-header.flip {
        grid-template-columns: 1fr;
        row-gap: 12px;
        margin-bottom: 32px;
    }

    .section-header .section-badge,
    .section-header h2,
    .section-header p,
    .section-header.flip .section-badge,
    .section-header.flip h2,
    .section-header.flip p {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        text-align: left;
        max-width: 100%;
    }

    .section-header h2,
    .section-header.flip h2 {
        font-size: 1.625rem;
        line-height: 1.2;
    }

    .section-header p,
    .section-header.flip p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    .cta-buttons .btn {
        padding: 10px 16px;
        font-size: 0.8125rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .about-cta-row {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        margin-top: 24px;
    }

    .about-cta-row .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 12px;
        font-size: 0.8125rem;
        gap: 6px;
    }

    .about-cta-row .btn svg {
        width: 14px;
        height: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

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

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .service-card {
        padding: 24px;
    }

    .why-card {
        padding: 24px;
    }

    .hero-floating-card {
        padding: 12px 16px;
        gap: 12px;
        width: calc(100% - 40px);
        max-width: 280px;
    }

    .floating-icon {
        width: 36px;
        height: 36px;
    }

    .floating-icon svg {
        width: 20px;
        height: 20px;
    }

    .floating-title {
        font-size: 0.875rem;
    }

    .floating-desc {
        font-size: 0.75rem;
    }
}

/* === CERTYFIKATY SECTION === */
.certyfikaty {
    padding: var(--section-padding) 0;
    background: var(--dark-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.certyfikaty-bg picture,
.certyfikaty-bg-img {
    width: 100%;
    height: 100%;
    display: block;
}

.certyfikaty-bg-img {
    object-fit: cover;
    object-position: center;
}

.certyfikaty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,18,48,0.88) 0%, rgba(8,18,48,0.82) 50%, rgba(8,18,48,0.92) 100%);
}

.certyfikaty .container {
    position: relative;
    z-index: 1;
}

.certyfikaty .section-badge {
    color: var(--white);
    border-bottom-color: var(--white);
}

.certyfikaty .section-header h2 {
    color: var(--white);
}

.certyfikaty .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.certyfikaty .cert-dot {
    background: rgba(255, 255, 255, 0.35);
}

.certyfikaty .cert-dot.active {
    background: var(--white);
}

.cert-carousel {
    position: relative;
    padding: 0 56px;
}

.cert-carousel-viewport {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.cert-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.cert-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 22px));
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 2;
    color: var(--gray-700);
}

.cert-carousel-prev { left: 0; }
.cert-carousel-next { right: 0; }

.cert-carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.cert-carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.cert-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.cert-dot {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    transition: background var(--transition-fast), flex-basis var(--transition-fast), width var(--transition-fast);
}

.cert-dot.active {
    flex-basis: 28px;
    width: 28px;
    background: var(--primary);
    border-radius: 5px;
}

.cert-card {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

@media (max-width: 1024px) {
    .cert-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .cert-carousel {
        padding: 0;
    }
    .cert-carousel-btn {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-color: var(--gray-100);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }
    .cert-carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    .cert-carousel-prev { left: 8px; }
    .cert-carousel-next { right: 8px; }
    .cert-carousel-viewport {
        gap: 12px;
        padding-bottom: 4px;
    }
    .cert-card {
        flex: 0 0 100%;
    }
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.cert-preview {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.cert-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.cert-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    display: block;
}

.cert-hover-label {
    position: absolute;
    inset: 0;
    background: rgba(16, 76, 151, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

.cert-card:hover .cert-hover-label {
    background: rgba(16, 76, 151, 0.72);
}

.cert-hover-label span {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    white-space: nowrap;
}

.cert-card:hover .cert-hover-label span {
    opacity: 1;
}

.cert-info {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--gray-100);
}

.cert-info h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cert-info p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    line-height: 1.4;
}

.cert-holder {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 900px) {
    .cert-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .cert-card {
        flex: 0 0 100%;
    }
    .cert-carousel {
        padding: 0 40px;
    }
    .cert-carousel-btn {
        width: 36px;
        height: 36px;
    }
    .cert-preview {
        height: 180px;
    }
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* === FORM BUTTON LOADING STATE === */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

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

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.cookie-text {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--gray-600);
    border-color: var(--gray-200);
}

.cookie-btn-reject:hover {
    border-color: var(--gray-400);
    color: var(--gray-800);
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        font-size: 0.875rem;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        padding: 14px 16px;
        min-height: 48px;
    }
}

/* === KOMUNIKATY FORMULARZA === */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* === STICKY CALL BUTTON (mobile) === */
.sticky-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(16, 76, 151, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.sticky-call-btn:active {
    transform: scale(0.98);
    background: var(--primary-dark);
}

@keyframes sticky-pulse {
    0%   { box-shadow: 0 4px 20px rgba(16, 76, 151, 0.4); }
    50%  { box-shadow: 0 4px 32px rgba(16, 76, 151, 0.7), 0 0 0 8px rgba(16, 76, 151, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(16, 76, 151, 0.4); }
}

@media (max-width: 768px) {
    .sticky-call-btn {
        display: flex;
        animation: sticky-pulse 2.5s ease-in-out infinite;
        animation-delay: 3s;
    }

    @media (prefers-reduced-motion: reduce) {
        .sticky-call-btn {
            animation: none;
        }
    }

    /* Dodaj padding na dole strony żeby przycisk nie zasłaniał treści */
    .footer {
        padding-bottom: 100px;
    }
}

/* === BETTER TOUCH STATES === */
@media (hover: none) {
    .btn:active,
    .service-card:active,
    .project-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* === MOBILE FRIENDLY ENHANCEMENTS === */
@media (max-width: 768px) {
    /* Większe fonty dla czytelności */
    body {
        font-size: 16px;
    }

    /* Większe tap targets (min 44px) */
    .btn, input[type="submit"] {
        min-height: 44px;
    }

    .nav-menu a {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Większe pola formularza */
    input, select, textarea {
        font-size: 16px;
        min-height: 48px;
        padding: 12px 16px;
    }

    /* Lepszy spacing dla linków */
    a {
        padding: 8px 0;
    }

    .footer-links a {
        padding: 8px 0;
        display: inline-block;
    }

    .contact-item {
        padding: 12px 0;
    }
}
