/* ========================================
   CIŚNIENIOWI.PL — PREMIUM CSS
   ======================================== */

/* ===== RESET & ROOT ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #00b4d8;
    --primary-dark: #0077b6;
    --primary-light: #90e0ef;
    --accent: #f77f00;
    --accent-dark: #d62828;
    --bg: #03071e;
    --bg-2: #050921;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #f0f4f8;
    --text-muted: #8ba4bb;
    --text-dim: #4a6278;
    --gradient: linear-gradient(135deg, #00b4d8, #0077b6);
    --gradient-accent: linear-gradient(135deg, #f77f00, #d62828);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== UTILITIES ===== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 180, 216, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--glass);
    border-color: var(--primary);
    color: var(--primary-light);
}

.btn-nav {
    background: var(--gradient);
    color: white;
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 180, 216, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(3, 7, 30, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--glass-border), 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px #00b4d8);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:not(.btn):hover {
    color: white;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 119, 182, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 60%, rgba(0, 180, 216, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 70%, rgba(247, 127, 0, 0.06) 0%, transparent 60%);
    background-color: var(--bg);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float-up linear infinite;
    opacity: 0;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-20px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 0;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 24px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
    flex: 1;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-item span:not(.stat-num):not(.stat-label) {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    background: var(--glass-border);
    align-self: stretch;
    margin: 4px 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ===== ANIMATE IN ===== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-in 0.7s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.25s;
}

.delay-3 {
    animation-delay: 0.4s;
}

.delay-4 {
    animation-delay: 0.6s;
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FEATURES STRIP ===== */
.features-strip {
    background: rgba(0, 180, 216, 0.06);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 28px 0;
}

.features-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 6px rgba(0, 180, 216, 0.4));
}

.feature-item div {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.feature-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(0, 180, 216, 0.4);
    background: rgba(0, 180, 216, 0.06);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-price strong {
    color: var(--primary-light);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition);
}

.service-link:hover {
    text-decoration: underline;
}

/* ===== CALCULATOR ===== */
.calculator-section {
    padding: 100px 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 119, 182, 0.12) 0%, transparent 70%);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-step {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition);
}

.calc-step:focus-within {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.08);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Service Selector */
.service-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-option input[type="radio"] {
    display: none;
}

.svc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.svc-card span:first-child {
    font-size: 1.8rem;
}

.svc-card strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.svc-price-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.service-option input:checked+.svc-card {
    border-color: var(--primary);
    background: rgba(0, 180, 216, 0.1);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.svc-card:hover {
    border-color: rgba(0, 180, 216, 0.5);
    background: rgba(0, 180, 216, 0.06);
}

/* Area Input */
.area-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.area-input-wrap input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    transition: border-color var(--transition);
}

.area-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
}

.area-unit {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.area-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 8px;
}

.area-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
    transition: transform 0.2s;
}

.area-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Dirt Selector */
.dirt-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dirt-option input[type="radio"] {
    display: none;
}

.dirt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.dirt-color {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: block;
}

.dirt-card strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.dirt-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dirt-option input:checked+.dirt-card {
    border-color: var(--primary);
    background: rgba(0, 180, 216, 0.08);
}

.dirt-card:hover {
    border-color: rgba(0, 180, 216, 0.4);
}

/* City Select */
.city-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2390e0ef' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: border-color var(--transition);
}

.city-select:focus {
    outline: none;
    border-color: var(--primary);
}

.city-select option {
    background: #06153a;
    color: white;
}

/* Result Card */
.calc-result {
    position: sticky;
    top: 100px;
}

.result-card {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15), rgba(0, 180, 216, 0.08));
    border: 1px solid rgba(0, 180, 216, 0.35);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.result-header span {
    font-size: 1.4rem;
}

.result-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.result-surface,
.result-service {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.result-surface strong,
.result-service strong {
    color: white;
    font-weight: 600;
}

.result-price-wrap {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin: 20px 0 16px;
}

.result-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.result-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.result-currency {
    font-size: 1.4rem;
    font-weight: 600;
}

.result-per-m2 {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.result-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.5;
    background: rgba(247, 127, 0, 0.08);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
}

.result-card .btn+.btn {
    margin-top: 12px;
}

/* ===== GALLERY / BEFORE-AFTER ===== */
.gallery {
    padding: 100px 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 119, 182, 0.08) 0%, transparent 70%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.before-after-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.ba-label {
    background: var(--glass);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
}

.ba-container {
    position: relative;
    height: 260px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.ba-before,
.ba-after {
    position: absolute;
    inset: 0;
}

.ba-after {
    clip-path: inset(0 50% 0 0);
}

/* CSS Art Surfaces */
.surface-dirty {
    width: 100%;
    height: 100%;
}

.kostka-dirty {
    background:
        repeating-linear-gradient(0deg, rgba(60, 45, 30, 0.8) 0px, rgba(60, 45, 30, 0.8) 2px, transparent 2px, transparent 24px),
        repeating-linear-gradient(90deg, rgba(60, 45, 30, 0.8) 0px, rgba(60, 45, 30, 0.8) 2px, transparent 2px, transparent 24px),
        linear-gradient(135deg, #2d2218, #3d3225, #2a1f14, #382a1c);
    box-shadow: inset 0 0 60px rgba(0, 80, 20, 0.3);
}

.kostka-clean {
    background:
        repeating-linear-gradient(0deg, rgba(180, 160, 130, 0.4) 0px, rgba(180, 160, 130, 0.4) 2px, transparent 2px, transparent 24px),
        repeating-linear-gradient(90deg, rgba(180, 160, 130, 0.4) 0px, rgba(180, 160, 130, 0.4) 2px, transparent 2px, transparent 24px),
        linear-gradient(135deg, #c8b89a, #d4c4a2, #bfaa88, #cdb894);
}

.dach-dirty {
    background:
        repeating-linear-gradient(-5deg,
            rgba(30, 20, 10, 0.9) 0px, rgba(30, 20, 10, 0.9) 16px,
            rgba(20, 30, 10, 0.7) 16px, rgba(20, 30, 10, 0.7) 18px,
            rgba(25, 18, 10, 0.9) 18px, rgba(25, 18, 10, 0.9) 34px,
            rgba(15, 25, 10, 0.7) 34px, rgba(15, 25, 10, 0.7) 36px),
        linear-gradient(180deg, #1a1208, #251a0c, #0e1a08);
}

.dach-clean {
    background:
        repeating-linear-gradient(-5deg,
            #8b3a2a 0px, #8b3a2a 16px,
            rgba(255, 255, 255, 0.08) 16px, rgba(255, 255, 255, 0.08) 18px,
            #7d3225 18px, #7d3225 34px,
            rgba(255, 255, 255, 0.06) 34px, rgba(255, 255, 255, 0.06) 36px),
        linear-gradient(180deg, #a0453a, #8b3a30);
}

.elewacja-dirty {
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 70, 20, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(20, 50, 15, 0.5) 0%, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(60, 50, 10, 0.4) 0%, transparent 30%),
        linear-gradient(180deg, #3d3830, #4a403a, #3a3028);
}

.elewacja-clean {
    background:
        linear-gradient(180deg, #f0ebe0, #ede5d0, #f5f0e8);
    box-shadow: inset 0 0 40px rgba(200, 180, 140, 0.2);
}

.surface-clean {
    width: 100%;
    height: 100%;
}

.ba-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #aaa;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.after-tag {
    left: auto;
    right: 12px;
    color: var(--primary-light);
    background: rgba(0, 119, 182, 0.4);
}

.ba-slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: white;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: col-resize;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ba-handle svg {
    width: 20px;
    height: 20px;
}

/* ===== CITIES ===== */
.cities {
    padding: 100px 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.city-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.city-card:hover {
    background: rgba(0, 180, 216, 0.08);
    border-color: rgba(0, 180, 216, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.city-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.3));
}

.city-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.city-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== REVIEWS ===== */
.reviews {
    padding: 100px 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 119, 182, 0.08) 0%, transparent 70%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.stars {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.reviewer strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.reviewer span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open {
    border-color: rgba(0, 180, 216, 0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition);
    font-style: normal;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 119, 182, 0.15) 0%, transparent 70%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-full {
    grid-column: span 2;
}

.form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.form-row input,
.form-row select,
.form-row textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    padding: 13px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-dim);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-row select {
    appearance: none;
    cursor: pointer;
}

.form-row select option {
    background: #06153a;
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    background: rgba(0, 200, 100, 0.1);
    border: 1px solid rgba(0, 200, 100, 0.3);
    color: #4ade80;
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color var(--transition), transform var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateX(4px);
}

.contact-info-icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.contact-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.contact-info-card a {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.contact-info-card a:hover {
    color: var(--primary-light);
}

.contact-info-card span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.contact-trust {
    background: rgba(0, 180, 216, 0.06);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom span {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
    transition: var(--transition);
    animation: pulse-float 3s infinite;
}

.floating-cta:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.7);
}

@keyframes pulse-float {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
    }

    50% {
        box-shadow: 0 8px 36px rgba(0, 180, 216, 0.75), 0 0 0 8px rgba(0, 180, 216, 0.1);
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
    }

    .calc-result {
        position: static;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(3, 7, 30, 0.97);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        padding: 24px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        padding: 20px;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        padding: 8px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-selector {
        grid-template-columns: 1fr 1fr;
    }

    .dirt-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .service-selector {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}