/* ========================================
   MANIK OGRODZENIA - Modern Creative CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary: #e94e1a;
    --primary-dark: #c93d0f;
    --primary-light: #ff6b38;
    --primary-glow: rgba(233, 78, 26, 0.4);

    --dark: #0d0d0d;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;

    --light: #ffffff;
    --light-secondary: #f8f9fa;
    --light-tertiary: #e9ecef;

    --gray: #6c757d;
    --gray-light: #adb5bd;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary-glow) 0%, transparent 100%);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --font-primary: 'Poppins', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Default SVG icon sizing - prevents oversized icons */
svg:not(.logo-svg) {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: logoPulse 2s ease-in-out infinite;
}

.preloader-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(1.1);
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    animation: preloaderProgress 1.5s ease-out forwards;
}

@keyframes preloaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Cursor Follower */
.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
    display: none;
}

@media (min-width: 1024px) {
    .cursor-follower {
        display: block;
    }
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    background: var(--primary-glow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

/* Header light - dla stron z ciemnym tłem hero */
.header-light:not(.scrolled) .nav-link {
    color: var(--light);
}

.header-light:not(.scrolled) .nav-link:hover {
    color: var(--primary-light);
}

.header-light:not(.scrolled) .nav-toggle span {
    background: var(--light);
}

.header-light:not(.scrolled) .dropdown-arrow {
    color: var(--light);
}

/* Po scrollu przywróć ciemne kolory */
.header-light.scrolled .nav-link {
    color: var(--dark);
}

.header-light.scrolled .nav-toggle span {
    background: var(--dark);
}

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

.nav-logo img {
    height: 60px;
    transition: transform var(--transition-normal);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

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

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

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.phone-icon svg {
    width: 100%;
    height: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(233, 78, 26, 0.2);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(233, 78, 26, 0.15);
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(233, 78, 26, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(233, 78, 26, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    border: 2px solid var(--light-tertiary);
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-plus, .stat-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    transform: translate(20px, 20px);
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.05);
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: var(--light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: cardFloat 4s ease-in-out infinite;
}

.floating-1 {
    top: 40px;
    left: -40px;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.floating-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.floating-text span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(233, 78, 26, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(233, 78, 26, 0.2);
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--light-secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--light);
}

.about-image-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--gradient-primary);
    color: var(--light);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content .section-badge {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(233, 78, 26, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.services-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(233, 78, 26, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

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

.service-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

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

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark);
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.services-cta {
    text-align: center;
    margin-top: 60px;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: var(--dark);
    color: var(--light);
}

.process .section-badge {
    background: rgba(233, 78, 26, 0.2);
    border-color: rgba(233, 78, 26, 0.3);
}

.process .section-title {
    color: var(--light);
}

.process .section-subtitle {
    color: var(--gray-light);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 100px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.step-content {
    background: var(--dark-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    flex-grow: 1;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--dark-secondary);
    transform: rotate(45deg);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

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

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--light-secondary);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--light);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-overlay h4 {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.contact-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    border-radius: 50%;
    right: -400px;
    top: -200px;
    filter: blur(100px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-text {
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(233, 78, 26, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
    transition: color var(--transition-fast);
}

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

.contact-cta {
    margin-top: 40px;
}

/* Contact Card */
.contact-card {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.card-header {
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-header p {
    color: var(--gray);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    border-bottom: 2px solid var(--light-tertiary);
    background: transparent;
    transition: border-color var(--transition-normal);
    outline: none;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 1rem;
    color: var(--gray);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 60px;
    height: 60px;
    color: #28a745;
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray);
}

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

.form-note a {
    color: var(--primary);
    text-decoration: underline;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-description {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-legal {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-services li {
    color: var(--gray-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-light);
    transition: color var(--transition-fast);
}

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

.footer-contact li > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

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

.footer-link {
    color: var(--primary);
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.footer-link:hover {
    opacity: 0.8;
}

/* AOS Custom Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--light);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .phone-text {
        display: none;
    }

    .nav-phone {
        padding: 12px;
        border-radius: 50%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-floating-card.floating-1 {
        left: 0;
    }

    .hero-floating-card.floating-2 {
        right: 0;
    }

    .scroll-indicator {
        display: none;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .contact-info .section-title {
        text-align: center;
    }

    .contact-details {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-cta {
        text-align: center;
    }

    .process-step {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-line {
        display: none;
    }

    .step-number {
        width: auto;
    }

    .step-content::before {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-image {
        height: 350px;
    }

    .about, .services, .process, .gallery, .contact {
        padding: 80px 0;
    }

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

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

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

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul,
    .footer-services ul,
    .footer-contact ul {
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
    }

    .hero-floating-card {
        padding: 12px 16px;
    }

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

    .floating-text strong {
        font-size: 0.8rem;
    }

    .floating-text span {
        font-size: 1rem;
    }

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

    .contact-card {
        padding: 30px 20px;
    }

    .about-experience {
        padding: 16px 20px;
        left: 10px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .about-image-secondary {
        width: 180px;
        right: -20px;
    }
}

/* ========================================
   DODATKOWE STYLE DLA NOWYCH STRON
   ======================================== */

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: var(--gray-light);
}

.breadcrumbs a {
    color: var(--primary);
    transition: opacity var(--transition-fast);
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

/* Page Hero */
.page-hero {
    background: var(--dark);
    color: var(--light);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, var(--primary-glow) 0%, transparent 50%);
    opacity: 0.3;
}

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

.page-hero .breadcrumbs li {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumbs li::after {
    color: rgba(255, 255, 255, 0.3);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.page-hero-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.page-hero-icon svg {
    width: 40px;
    height: 40px;
    color: var(--light);
}

.page-hero-service {
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.7) 100%);
}

/* Section Title Small */
.section-title-sm {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

/* Services List Page */
.services-list {
    padding: 80px 0;
}

.services-full-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-full-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-full-card:nth-child(even) {
    direction: rtl;
}

.service-full-card:nth-child(even) > * {
    direction: ltr;
}

.service-full-image {
    position: relative;
    min-height: 350px;
}

.service-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-full-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-full-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-full-icon svg {
    width: 30px;
    height: 30px;
    color: var(--light);
}

.service-full-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-full-content p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-full-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.service-full-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.service-full-features svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Service Content Page */
section.service-content {
    padding: 80px 0;
}

section.service-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.service-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-description h2,
.service-details h2,
.service-elements h2,
.service-process h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-description p {
    color: var(--gray);
    line-height: 1.8;
}

.service-features-box {
    background: var(--light-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
}

.service-features-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.features-grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--light);
    border-radius: 8px;
}

.features-grid .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.features-grid .feature-icon svg {
    width: 20px;
    height: 20px;
}

/* Collections Grid - Kolekcje ogrodzeń palisadowych */
.service-collections {
    margin-top: 40px;
}

.service-collections h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.collections-intro {
    color: var(--gray);
    margin-bottom: 30px;
}

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

.collection-card {
    background: var(--light-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.collection-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.collection-header {
    background: var(--gradient-primary);
    padding: 20px 24px;
    color: var(--light);
}

.collection-header h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.collection-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.collection-body {
    padding: 24px;
}

.collection-desc {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.collection-versions,
.collection-profiles,
.collection-profile-list,
.collection-configs,
.collection-mounting,
.collection-spacing,
.collection-char,
.collection-finish,
.collection-colors {
    margin-bottom: 12px;
}

.collection-body strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.collection-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collection-body ul li {
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray);
}

.collection-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.collection-body span,
.collection-spacing,
.collection-char,
.collection-finish,
.collection-colors {
    font-size: 0.9rem;
    color: var(--gray);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.profile-tag {
    background: var(--light);
    border: 1px solid var(--gray-light);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--dark);
}

/* Personalization list */
.service-personalization {
    margin-top: 40px;
}

.personalization-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.personalization-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light-secondary);
    border-radius: 8px;
}

.personalization-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    min-width: 20px;
}

/* Responsive for collections */
@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .personalization-list {
        grid-template-columns: 1fr;
    }
}

.details-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.details-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.details-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: capitalize;
}

.detail-value {
    font-weight: 500;
    color: var(--dark);
}

.elements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.elements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light-secondary);
    border-radius: 8px;
}

.elements-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-secondary);
    border-radius: var(--radius-md);
}

.process-step-item .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-contact p {
    color: var(--gray);
    margin-bottom: 16px;
}

.sidebar-contact .btn {
    margin-bottom: 10px;
}

.sidebar-services ul,
.sidebar-locations ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-services a,
.sidebar-locations a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--light-secondary);
    border-radius: 6px;
    color: var(--dark);
    transition: all var(--transition-fast);
}

.sidebar-services a:hover,
.sidebar-locations a:hover {
    background: var(--primary);
    color: var(--light);
}

.sidebar-services svg,
.sidebar-locations svg {
    width: 18px;
    height: 18px;
}

.see-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.see-all-link svg {
    width: 16px;
    height: 16px;
}

/* Enhanced Service Details */
.details-container {
    background: var(--light-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
}

.detail-section {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-tertiary);
}

.detail-intro {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-tertiary);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--gray);
    line-height: 1.6;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.detail-list li {
    position: relative;
    padding-left: 20px;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.nested-block {
    background: var(--light-secondary);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.nested-row {
    padding: 6px 0;
    border-bottom: 1px dashed var(--light-tertiary);
    line-height: 1.5;
}

.nested-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nested-row strong {
    color: var(--dark);
    font-weight: 500;
}

/* Service Notes Box */
.service-notes {
    margin-top: 10px;
}

.notes-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(233, 78, 26, 0.08), rgba(233, 78, 26, 0.03));
    border: 1px solid rgba(233, 78, 26, 0.2);
    border-radius: var(--radius-md);
}

.notes-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notes-icon svg {
    width: 20px;
    height: 20px;
    color: var(--light);
}

.notes-box p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Service Applications */
.applications-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.applications-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light-secondary);
    border-radius: 8px;
}

.applications-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Service Sales Grid */
.service-sales {
    margin-top: 10px;
}

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

.sales-item {
    padding: 20px;
    background: var(--light-secondary);
    border-radius: var(--radius-md);
}

.sales-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.sales-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Service CTA Section */
.service-cta {
    padding: 60px 0;
    background: var(--dark);
}

.service-cta .cta-box {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--light);
}

.service-cta .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-cta .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.service-cta .cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-white {
    background: var(--light);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
}

.btn-white:hover {
    background: var(--light-secondary);
    transform: translateY(-2px);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--light);
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

/* Related Services */
.related-services {
    padding: 60px 0;
    background: var(--light-secondary);
}

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

.related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--dark);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.related-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(233, 78, 26, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.related-card h4 {
    flex: 1;
    font-size: 1rem;
}

.related-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.related-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.related-card:hover .related-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--light);
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cta-content p {
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-box .btn-primary {
    background: var(--light);
    color: var(--primary);
}

.cta-box .btn-secondary {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

/* Locations Section */
.locations {
    padding: 80px 0;
    background: var(--light-secondary);
}

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

.location-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.location-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.location-cities {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.location-cities a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.location-cities a:hover {
    color: var(--primary);
}

.location-cities svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.location-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.location-more svg {
    width: 16px;
    height: 16px;
}

.locations-cta {
    text-align: center;
    margin-top: 40px;
}

/* City Page Styles */
.page-hero-city {
    text-align: center;
}

.page-hero-city .page-subtitle {
    margin: 0 auto;
}

.city-content {
    padding: 80px 0;
}

.city-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.city-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.city-intro .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
}

.city-services h2,
.city-why-us h2,
.city-products h2,
.city-process h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.city-services > p,
.city-why-us > p,
.city-products > p {
    color: var(--gray);
    margin-bottom: 24px;
}

.city-services-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.city-service-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--light-secondary);
    border-radius: var(--radius-md);
}

.city-service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.city-service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.city-service-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.city-service-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.city-service-content li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--dark);
}

.city-service-content li svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.service-link-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-link-sm svg {
    width: 16px;
    height: 16px;
}

/* Why Us Features */
.why-us-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--light-secondary);
    border-radius: var(--radius-sm);
}

.why-feature > svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
    color: var(--primary);
}

.why-feature strong {
    display: block;
    margin-bottom: 4px;
}

.why-feature span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Products Accordion */
.products-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail {
    background: var(--light-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.product-detail summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.product-detail summary:hover {
    background: rgba(233, 78, 26, 0.05);
}

.product-detail summary svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.product-content {
    padding: 0 20px 20px 56px;
}

.product-content p {
    margin-bottom: 12px;
    color: var(--gray);
}

.product-content ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-content li {
    font-size: 0.95rem;
}

/* Process Simple */
.process-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-simple-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
    background: var(--light-secondary);
    border-radius: var(--radius-md);
}

.process-simple-step .step-num {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-simple-step strong {
    font-size: 1.05rem;
}

.process-simple-step p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* City CTA Box */
.city-cta-box {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--light);
}

.city-cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

.city-cta-box .btn-primary {
    background: var(--light);
    color: var(--primary);
}

.city-cta-box .btn-secondary {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

/* City Sidebar */
.city-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-quick-contact {
    background: var(--dark);
    color: var(--light);
}

.sidebar-quick-contact h3 {
    border-bottom-color: var(--primary);
}

.quick-phone,
.quick-email {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    margin-bottom: 10px;
    transition: background var(--transition-fast);
}

.quick-phone:hover,
.quick-email:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quick-phone svg,
.quick-email svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.sidebar-nearby ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nearby a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--dark);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.sidebar-nearby a:hover {
    background: var(--light-secondary);
    color: var(--primary);
}

.sidebar-nearby svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* FAQ Section */
.city-faq {
    padding: 60px 0;
    background: var(--light-secondary);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::marker {
    display: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--gray);
    line-height: 1.7;
}

/* Locations Page */
.priority-regions,
.all-regions {
    padding: 80px 0;
}

.priority-regions {
    background: var(--light);
}

.all-regions {
    background: var(--light-secondary);
}

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

.region-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.region-card.region-priority {
    border: 2px solid var(--primary);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-light);
}

.region-header h3 {
    font-size: 1.4rem;
}

.region-badge {
    padding: 4px 12px;
    background: rgba(233, 78, 26, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.region-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.region-cities a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light-secondary);
    border-radius: 6px;
    color: var(--dark);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.region-cities a:hover {
    background: var(--primary);
    color: var(--light);
}

.region-cities svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.region-cities a:hover svg {
    color: var(--light);
}

.region-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
}

.region-link svg {
    width: 16px;
    height: 16px;
}

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

.region-item {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-md);
}

.region-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.region-item h3 {
    font-size: 1.1rem;
}

.city-count {
    font-size: 0.85rem;
    color: var(--gray);
}

.region-item-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.region-item-cities a {
    padding: 4px 12px;
    background: var(--light-secondary);
    border-radius: 20px;
    color: var(--dark);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.region-item-cities a:hover {
    background: var(--primary);
    color: var(--light);
}

/* Cities Grid */
/* Region / Województwo Page */
.page-hero-region {
    background: var(--gradient-primary);
    position: relative;
}

.page-hero-region::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/pattern.svg') center/cover;
    opacity: 0.1;
}

.page-hero-region .gradient-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--light);
    color: var(--light);
}

.region-info {
    padding: 60px 0 40px;
    background: var(--light-secondary);
}

.region-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.region-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--light);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.region-badge-box svg {
    width: 20px;
    height: 20px;
}

.region-intro .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray);
}

.region-services {
    padding: 60px 0;
}

/* CTA buttons - prevent phone number wrapping */
.cta-actions .btn {
    white-space: nowrap;
}

.cta-actions .btn span {
    white-space: nowrap;
}

.cta-box .btn-large {
    padding: 16px 28px;
    font-size: 1rem;
}

.region-cities-section {
    padding: 60px 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

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

.city-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(233, 78, 26, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.city-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.city-card-link {
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.city-card-link svg {
    width: 14px;
    height: 14px;
}

.city-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: var(--primary);
    color: var(--light);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Region Services */
.region-services {
    padding: 60px 0;
    background: var(--light);
}

.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-mini-card {
    padding: 24px;
    background: var(--light-secondary);
    border-radius: var(--radius-md);
}

.service-mini-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-mini-icon svg {
    width: 24px;
    height: 24px;
    color: var(--light);
}

.service-mini-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-mini-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-mini-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-mini-card a svg {
    width: 16px;
    height: 16px;
}

/* Contact Page */
.contact-page .contact-wrapper {
    padding-top: 0;
}

.contact-company {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-light);
}

.contact-company h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.contact-company p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-value-lg {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--gray);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    position: static;
    font-size: 0.85rem;
    color: var(--gray);
    pointer-events: auto;
}

.form-checkbox a {
    color: var(--primary);
}

.map-section {
    padding: 60px 0;
    background: var(--light-secondary);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-text {
    color: var(--gray);
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.error-links {
    text-align: left;
    padding: 20px;
    background: var(--light-secondary);
    border-radius: var(--radius-sm);
}

.error-links p {
    font-weight: 600;
    margin-bottom: 12px;
}

.error-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.error-links a {
    color: var(--primary);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* Service Link in Card */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

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

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

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    transition: all var(--transition-fast);
}

.nav-dropdown-menu li a:hover {
    background: var(--light-secondary);
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 8px 0;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Responsive Additions */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    .service-full-card {
        grid-template-columns: 1fr;
    }

    .service-full-card:nth-child(even) {
        direction: ltr;
    }

    .service-content .container,
    .city-content .container {
        grid-template-columns: 1fr;
    }

    .service-sidebar,
    .city-sidebar {
        position: static;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .details-grid,
    .elements-list,
    .service-full-features,
    .why-us-features,
    .applications-list,
    .sales-grid {
        grid-template-columns: 1fr;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-label {
        font-size: 0.85rem;
    }

    .notes-box {
        flex-direction: column;
        text-align: center;
    }

    .notes-icon {
        margin: 0 auto;
    }

    .service-cta .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .service-cta .cta-actions {
        width: 100%;
    }

    .service-cta .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .region-cities {
        grid-template-columns: 1fr;
    }

    .cta-actions,
    .cta-buttons,
    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .region-badge-box {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .region-intro .lead {
        font-size: 1rem;
    }

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

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

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

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: transparent;
    }
}

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

    .error-code {
        font-size: 5rem;
    }
}

/* ========================================
   PRODUCTS HIGHLIGHT
   ======================================== */

.products-highlight {
    padding: 100px 0;
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.product-card > p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

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

.products-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.why-us-text {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 16px;
}

.why-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.why-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.why-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stats-item {
    text-align: center;
    color: var(--white);
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    display: inline;
    line-height: 1;
}

.stats-suffix {
    font-size: 2rem;
    font-weight: 700;
}

.stats-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Products & Why Us Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .why-us-wrapper {
        grid-template-columns: 1fr;
    }

    .why-us-stats {
        order: -1;
    }

    .stats-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .stats-card {
        padding: 30px;
        gap: 20px;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}

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

/* ========================================
   REALIZACJE - GALERIA
   ======================================== */

.realizacje-stats {
    padding: 60px 0;
    background: var(--light);
}

.realizacje-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.realizacje-stats .stat-item {
    text-align: center;
}

.realizacje-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.realizacje-stats .stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.realizacje-stats .stat-label {
    display: block;
    margin-top: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.realizacje-gallery {
    background: var(--white);
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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

/* Gallery Grid - Realizacje */
.realizacje-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-zoom {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    backdrop-filter: blur(5px);
}

.gallery-zoom svg {
    width: 24px;
    height: 24px;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.gallery-caption p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.gallery-more {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.gallery-more p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* ========================================
   POLITYKA PRYWATNOŚCI - LEGAL
   ======================================== */

.page-hero-small {
    padding: 120px 0 60px;
}

.legal-content {
    background: var(--white);
}

.container-narrow {
    max-width: 800px;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-updated {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-text h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.legal-text h2:first-of-type {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.legal-text p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-text ul {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 8px;
    color: var(--text);
}

.legal-text address {
    font-style: normal;
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

/* Realizacje Responsive */
@media (max-width: 1024px) {
    .realizacje-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .realizacje-stats .stat-number {
        font-size: 2.5rem;
    }

    .gallery-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

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

    .gallery-caption {
        padding: 16px;
    }

    .gallery-caption h3 {
        font-size: 1rem;
    }
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--light);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary);
    font-size: 0.85rem;
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--primary-light);
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: var(--light);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--gray);
}

.cookie-btn-reject:hover {
    border-color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--gray-light);
    border: none;
    text-decoration: underline;
}

.cookie-btn-settings:hover {
    color: var(--light);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cookie-modal-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--light);
    border-radius: var(--radius-md);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s;
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--light-tertiary);
}

.cookie-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.cookie-modal-close:hover {
    background: var(--light-tertiary);
    color: var(--dark);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-modal-body > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-category {
    padding: 16px;
    background: var(--light-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.cookie-category:last-of-type {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-info strong {
    font-size: 0.95rem;
    color: var(--dark);
}

.cookie-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: var(--primary);
    color: var(--light);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-category-desc {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    padding-left: 60px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-light);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle-disabled {
    cursor: not-allowed;
    background-color: var(--primary) !important;
    opacity: 0.7;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--light-tertiary);
    background: var(--light-secondary);
}

.cookie-modal-footer .cookie-btn-reject {
    color: var(--dark);
    border-color: var(--gray-light);
}

.cookie-modal-footer .cookie-btn-reject:hover {
    border-color: var(--dark);
    background: var(--light-tertiary);
}

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

    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-btn-settings {
        flex: 0 0 100%;
        order: 3;
    }

    .cookie-category-desc {
        padding-left: 0;
        margin-top: 8px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}
