/* aaklima.pl - Main Stylesheet */
/* CSS Variables - Design System */

:root {
    /* Primary Blue - #003366 */
    --primary: hsl(210, 100%, 20%);
    --primary-foreground: hsl(0, 0%, 100%);

    /* Secondary Blue - #1E88E5 */
    --secondary: hsl(210, 79%, 51%);
    --secondary-foreground: hsl(0, 0%, 100%);

    /* Light Blue Accent - #E0E7FF */
    --accent: hsl(227, 100%, 94%);
    --accent-foreground: hsl(210, 100%, 20%);

    /* Background & Surface */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 10%);
    --surface: hsl(0, 0%, 96%);
    --surface-foreground: hsl(0, 0%, 10%);

    /* Cards */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 10%);

    /* Muted */
    --muted: hsl(0, 0%, 96%);
    --muted-foreground: hsl(0, 0%, 40%);

    /* State Colors */
    --destructive: hsl(0, 72%, 51%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --success: hsl(122, 39%, 40%);
    --success-foreground: hsl(0, 0%, 100%);

    /* Borders & Inputs */
    --border: hsl(227, 100%, 94%);
    --input: hsl(227, 100%, 94%);
    --ring: hsl(210, 100%, 20%);

    /* Star Rating Color */
    --star: hsl(40, 96%, 53%);

    /* Footer Dark */
    --footer: hsl(210, 100%, 20%);
    --footer-foreground: hsl(0, 0%, 100%);

    /* Radius */
    --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: flex;
    }
    .mobile-only {
        display: none;
    }
}

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

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: hsl(210, 100%, 15%);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: hsl(210, 79%, 45%);
}

.btn-hero {
    background-color: var(--primary-foreground);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

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

.btn-outline:hover {
    background-color: var(--accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .navbar-content {
        height: 5rem;
    }
}

.logo {
    height: 2.5rem;
    width: auto;
}

@media (min-width: 768px) {
    .logo {
        height: 3rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--secondary);
}

.phone-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
}

.phone-icon-wrapper .icon {
    color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: var(--accent);
}

.mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    max-height: 24rem;
    opacity: 1;
}

.mobile-menu-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-menu-cta {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground);
    font-weight: 500;
}

.mobile-phone-link .icon {
    color: var(--secondary);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sticky-cta-text {
    color: var(--primary-foreground);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.5));
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

.particle-1 {
    top: 25%;
    right: 25%;
    width: 16rem;
    height: 16rem;
    background-color: rgba(30, 136, 229, 0.2);
}

.particle-2 {
    bottom: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 1s;
}

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

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

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    color: var(--primary-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideUp 0.6s ease-out;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    animation: slideUp 0.6s ease-out 0.1s backwards;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-item .icon {
    color: var(--secondary);
}

.benefit-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .benefit-item span {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    animation: slideUp 0.6s ease-out 0.3s backwards;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-wave path {
    fill: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brands Section */
.brands-section {
    padding: 2rem 0;
    background-color: var(--background);
}

.brands-title {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted-foreground);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 4rem 0;
    background-color: var(--primary);
    overflow: hidden;
}

@media (min-width: 768px) {
    .stats-section {
        padding: 5rem 0;
    }
}

.stats-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.pattern-circle {
    position: absolute;
    background-color: var(--secondary);
    border-radius: 50%;
}

.pattern-circle-1 {
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    transform: translate(-50%, -50%);
}

.pattern-circle-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    transform: translate(50%, 50%);
}

.stats-container {
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    transform: scale(1.1);
}

.stat-icon-wrapper .icon {
    width: 2rem;
    height: 2rem;
    color: var(--secondary);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3rem;
    }
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 1rem;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 4rem;
    align-items: center;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.about-lead {
    font-size: 1.125rem;
    line-height: 1.75;
}

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

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 136, 229, 0.3);
}

.feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), rgba(30, 136, 229, 0.05));
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.feature-card span {
    color: var(--foreground);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .services-section {
        padding: 6rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    display: block;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    overflow: hidden;
    transition: all 0.5s ease;
}

@media (min-width: 1024px) {
    .service-card {
        padding: 2rem;
    }
}

.service-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.service-gradient {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-gradient-1 {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
}

.service-gradient-2 {
    background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.2));
}

.service-gradient-3 {
    background: linear-gradient(to bottom right, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
}

.service-card:hover .service-gradient {
    opacity: 1;
}

.service-content {
    position: relative;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, rgba(30, 136, 229, 0.2), rgba(30, 136, 229, 0.05));
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
}

.service-icon .icon {
    width: 2rem;
    height: 2rem;
    color: var(--secondary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.service-features .icon-sm {
    color: var(--secondary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 0.75rem;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    padding: 2rem;
    background-color: var(--surface);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-0.25rem);
}

.trust-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.trust-description {
    color: var(--muted-foreground);
    line-height: 1.75;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .faq-section {
        padding: 6rem 0;
    }
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 1.5rem;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    text-align: left;
    font-weight: 500;
    color: var(--foreground);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    color: var(--muted-foreground);
    padding-bottom: 1.25rem;
    line-height: 1.75;
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .portfolio-section {
        padding: 6rem 0;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .form-section {
        padding: 6rem 0;
    }
}

.form-container {
    max-width: 40rem;
    margin: 0 auto;
}

.form-card {
    background-color: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .form-card {
        padding: 2.5rem;
    }
}

.form-progress {
    margin-bottom: 2rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 0.25rem;
    background-color: var(--accent);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.form-step-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.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(0, 51, 102, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--destructive);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--destructive);
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-card:hover {
    border-color: rgba(0, 51, 102, 0.5);
}

.checkbox-card input:checked ~ .checkbox-label,
.checkbox-card:has(input:checked) {
    border-color: var(--primary);
    background-color: rgba(0, 51, 102, 0.05);
}

.checkbox-card input {
    cursor: pointer;
}

.checkbox-label {
    color: var(--foreground);
}

.summary-box {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.summary-label {
    color: var(--muted-foreground);
}

.summary-value {
    font-weight: 500;
    color: var(--foreground);
    text-align: right;
}

.consents-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
}

.consent-label {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.75;
    cursor: pointer;
}

.consent-label input {
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.success-message {
    background-color: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .success-message {
        padding: 3rem;
    }
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background-color: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

.success-icon .icon {
    width: 2rem;
    height: 2rem;
    color: var(--success);
}

.success-message h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .success-message h2 {
        font-size: 1.875rem;
    }
}

.success-message p {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.success-message p:last-of-type {
    margin-bottom: 1.5rem;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .success-buttons {
        flex-direction: row;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 6rem 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--star);
}

.testimonial-text {
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--foreground);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--footer);
    color: var(--footer-foreground);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 2rem;
        text-align: left;
    }
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin: 0;
    flex-shrink: 0;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    flex: 1;
}

@media (min-width: 768px) {
    .footer-menu {
        justify-content: center;
        gap: 3rem;
    }
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

.social-link .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .trust-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Mobile Header Fix - Logo środek, przycisk, hamburger */
@media (max-width: 767px) {
    .navbar-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .logo-link {
        order: 1;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .nav-cta {
        order: 2;
        display: flex !important;
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
    
    .logo {
        height: 2.5rem;
    }
}
