/*
Theme Name: EXTERO Premium Theme
Author: Adam Głuszek
Description: Autorski motyw premium dla firmy EXTERO.
Version: 1.0
*/


/* ==========================================================================
   1. ZMIENNE I DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Paleta kolorów */
    --navy: #0B132A;
    --navy-light: #152243;
    --gold: #C89953;
    --gold-hover: #b08546;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #4B5563;
    --text-dark: #1F2937;

    /* Typografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Układ */
    --container-width: 1200px;
    --radius: 12px;
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(11, 19, 42, 0.05);
}

/* ==========================================================================
   2. RESET I BAZA
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    padding-top: 90px; 
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center,
.text-center {
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
}

.subtitle {
    display: block;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* ==========================================================================
   3. PRZYCISKI
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--gold);
}

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

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

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   4. HEADER I NAWIGACJA
   ========================================================================== */
.site-header {
    background: var(--white);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

/* Stany nagłówka */
.site-header.header-hidden {
    transform: translateY(-100%) !important;
}

.site-header.header-scrolled {
    box-shadow: 0 4px 20px rgba(11, 19, 42, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: inline-block;
    line-height: 0;
}

.logo img {
    display: block;
}

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

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--navy);
    padding: 10px 0;
    position: relative;
}

.nav-link:hover,
.nav-list li:hover>.nav-link {
    color: var(--gold);
}

.has-dropdown {
    position: relative;
}

.arrow {
    font-size: 12px;
    margin-left: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--navy);
    transition: var(--transition);
}

/* ==========================================================================
   5. STOPKA
   ========================================================================== */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.footer-logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: 24px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 400px;
}

.footer-contact-details p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    margin-top: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.footer-form-wrapper {
    background: var(--navy-light);
    padding: 40px;
    border-radius: var(--radius);
}

.form-title {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 12px;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select:invalid {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form option {
    background: var(--navy);
    color: var(--white);
}

.form-legal {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.form-legal svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ==========================================================================
   6. WIDGET ZAŁĄCZNIKÓW DO FORMULARZY
   ========================================================================== */
.file-input-wrapper {
    margin-bottom: 16px;
}

.file-input-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.file-input-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}

.file-input-button svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.file-input-hint {
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.file-input-warning {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    color: #e57373;
}

.file-input-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.file-input-preview:empty {
    margin-top: 0;
}

.file-input-chip {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.file-input-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.file-input-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(11, 19, 42, 0.8);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    transition: var(--transition);
}

.file-input-remove:hover {
    background: var(--gold);
}

.contact-form .file-input-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact-form .file-input-button:hover {
    border-color: var(--gold);
}

.contact-form .file-input-hint {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form .file-input-chip {
    border-color: rgba(255, 255, 255, 0.15);
}

.page-contact-form .file-input-button {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: var(--text-main);
}

.page-contact-form .file-input-button:hover {
    border-color: var(--gold);
}

.page-contact-form .file-input-hint {
    color: var(--text-main);
    opacity: 0.75;
}

/* ==========================================================================
   7. STRONA GŁÓWNA (KOMPONENTY)
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--bg-light);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    width: 50%;
    padding-right: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(200, 153, 83, 0.1);
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hero-content .highlight {
    color: var(--gold);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

/* Przewagi */
.advantages-section {
    background: var(--white);
}

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

.advantage-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(200, 153, 83, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.icon-wrapper img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.advantage-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.advantage-card p {
    font-size: 15px;
}

/* Kafelki Usług (Wspólna baza) */
.service-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
}

.service-card:hover .service-bg {
    transform: scale(1.05);
}

/* Wariant 1: Strona Główna (8 kolumn, biały dół, wysunięta ikona) */
.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.services-section .service-card {
    height: 400px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.services-section .service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: rgba(200, 153, 83, 0.3);
}

.services-section .service-image {
    position: relative;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.services-section .service-content {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.services-section .service-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    margin-bottom: 16px;
    color: var(--gold);
    position: relative;
    z-index: 3;
}

.services-section .service-content h3 {
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.services-section .service-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-top: auto;
    transition: var(--transition);
}

.services-section .service-card:hover .service-link {
    color: var(--gold);
}

/* Wariant 2: Podstrona Usługi (Hub, 3 kolumny, ciemny gradient) */
.services-hub-section {
    padding: 60px 0 100px;
}

.services-hub-section .hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-content: center;
}

.services-hub-section .service-card {
    height: 480px;
    background: var(--navy);
    padding: 32px 24px;
    justify-content: flex-end;
    border: none;
}

.services-hub-section .service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(11, 19, 42, 0.95) 0%, rgba(11, 19, 42, 0.5) 50%, transparent 100%);
    z-index: 1;
}

.services-hub-section .service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    padding: 0;
}

.services-hub-section .service-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold);
}

.services-hub-section .service-content h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.services-hub-section .service-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 0.5px;
    transition: var(--transition);
    margin-top: auto;
}

.services-hub-section .service-card:hover .service-link {
    color: var(--white);
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* Suwak Przed/Po z karuzelą (Strona Główna) */
.effects-section {
    background-color: var(--white);
    padding: 60px 0;
}

.effects-card {
    background-color: var(--navy);
    border-radius: var(--radius);
    padding: 10px 48px;
    box-shadow: var(--shadow);
}

.effects-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.effects-card-title h2 {
    font-size: 32px;
}

.btn-effects-top {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 12px 24px;
    font-size: 13px;
}

.btn-effects-top:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.slider-carousel-wrapper {
    position: relative;
    width: 100%;
}

.slider-mockup {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
}

.slider-image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.slider-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slider-label {
    position: absolute;
    top: 24px;
    padding: 0 12px;
    height: 28px;
    line-height: 28px;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-block;
    box-sizing: border-box;
}

.slider-image-before .slider-label {
    left: 24px;
}

.slider-image-after .slider-label {
    right: 24px;
}

.slider-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-nav-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-arrow.left {
    left: -24px;
}

.slider-nav-arrow.right {
    right: -24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: -1000px;
    bottom: -1000px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--white);
    z-index: -1;
}

.slider-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.carousel-slide {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Proces współpracy */
.trust-process-section {
    padding: 60px 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 60px;
    gap: 16px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    border: 1px solid rgba(11, 19, 42, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--shadow);
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--navy);
}

.process-step p {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
}

.step-arrow {
    color: var(--gold);
    margin-top: 24px;
    opacity: 0.5;
}

/* Baner Bus (Full-Bleed) */
.cta-bus-section {
    position: relative;
    background: var(--white);
    padding: 0;
    min-height: 450px;
    display: flex;
    align-items: center;
    margin: 40px 0 0 0;
}

.cta-bus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: var(--navy);
    z-index: 1;
    border-radius: 0 20px 0 0;
}

.cta-bus-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
}

.cta-bus-content {
    width: 50%;
    padding: 80px 40px 80px 0;
}

.cta-bus-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 16px;
}

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

.cta-bus-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    z-index: 2;
}

.cta-bus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   8. KOMPONENTY PODSTRON USŁUGOWYCH
   ========================================================================== */

/* Sekcja powierzchni (Kafelki u góry) */
.surfaces-section {
    padding: 100px 0 60px;
    background: var(--white);
}

.surfaces-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    text-align: center;
    margin-top: 48px;
}

.surface-card {
    padding: 24px 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.surface-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.surface-icon {
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.surface-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.surface-card p {
    font-size: 13px;
    color: var(--text-main);
}

/* Poziome karty metod (Fotowoltaika, Drewno) */
.service-methods-section {
    padding: 80px 0 40px;
    background: var(--white);
}

.service-method-card {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sm-content {
    flex: 1.2;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sm-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.sm-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--navy);
}

.sm-content p {
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 24px;
}

.sm-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    list-style: none;
}

.sm-list-grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
}

.sm-list-grid li svg {
    color: var(--gold);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sm-numbered-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sm-numbered-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
    color: var(--text-main);
}

.sm-num {
    width: 24px;
    height: 24px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sm-image {
    flex: 1;
    position: relative;
    min-height: 350px;
}

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

.sm-image::after {
    display: none !important;
}

/* Układ kart wertykalnych (Kostka brukowa) */
.method-stacked-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.horizontal-card {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
}

.horizontal-card.light-card {
    background: var(--bg-light);
    padding: 48px;
    align-items: center;
}

.light-card .hc-text {
    flex: 1;
    padding-right: 48px;
}

.light-card .hc-text h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--navy);
}

.light-card .hc-text p {
    font-size: 14px;
    color: var(--text-main);
}

.light-card .hc-list {
    flex: 1.2;
}

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

.custom-check-list.grid-3-cols li {
    font-size: 13px;
    line-height: 1.4;
    align-items: flex-start;
}

.horizontal-card.dark-card {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
}

.dark-card .hc-dark-content {
    flex: 1.2;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dark-card .hc-dark-content h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 16px;
}

.dark-card .hc-dark-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 40px;
}

.horizontal-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: auto;
}

.horizontal-icons .action-item {
    text-align: left;
}

.horizontal-icons .action-item svg {
    color: var(--gold);
    margin-bottom: 16px;
    width: 28px;
    height: 28px;
}

.horizontal-icons .action-item span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.dark-card .hc-dark-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 350px;
}

/* Baner bezpieczeństwa (Dachy, Drewno) */
.safety-banner {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.safety-content {
    flex: 1;
}

.safety-content h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 16px;
}

.safety-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

.safety-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

.safety-check svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.safety-images {
    flex: 1;
    display: flex;
    gap: 16px;
    height: 200px;
}

.safety-images img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.safety-image-single {
    flex: 1;
    min-height: 280px;
}

.safety-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Dodatkowy Box pod metodami */
.additional-service-box {
    background: #FDFBF7;
    border-left: 4px solid var(--gold);
    padding: 32px 40px;
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.as-title {
    flex-shrink: 0;
    width: 250px;
}

.as-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.as-title h4 {
    font-size: 20px;
    color: var(--navy);
    margin: 0;
}

.as-desc {
    flex: 1;
}

.as-desc p {
    font-size: 14px;
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

/* Kroki dla rynien */
.photo-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.photo-step-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-image {
    position: relative;
    height: 180px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

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

.step-number {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--white);
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 0 8px 0 0;
}

.photo-step-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.photo-step-card p {
    font-size: 13px;
    color: var(--text-main);
}

/* Impregnacja i szczegóły metod */
.method-details-section {
    padding: 80px 0 32px;
    background: var(--white);
}

.method-split-layout {
    display: flex;
    gap: 40px;
}

.method-left-col {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: var(--bg-light);
    padding: 48px;
    border-radius: var(--radius);
}

.feature-block {
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    color: var(--navy);
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-main);
}

.custom-check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.custom-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.custom-check-list li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--gold);
    margin-top: 2px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    padding: 2px;
}

.application-methods {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.app-method {
    display: flex;
    gap: 12px;
}

.app-icon {
    color: var(--gold);
}

.app-method h5 {
    font-size: 15px;
    margin-bottom: 4px;
}

.app-method p {
    font-size: 13px;
    color: var(--text-main);
}

.method-right-col {
    flex: 7;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 19, 42, 0.9) 0%, rgba(11, 19, 42, 0.6) 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--white);
    line-height: 1.3;
}

.card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.action-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: auto;
}

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

.action-item svg {
    color: var(--white);
    margin-bottom: 12px;
    opacity: 0.9;
}

.action-item span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Karta Przed/Po na podstronie Impregnacji */
.impregnation-effects-section {
    padding: 0 0 80px 0;
    background: var(--white);
}

.impregnation-effects-wrapper {
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.effects-text-col {
    flex: 4;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.effects-text-col h2 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.effects-text-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

.effects-icons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: center;
}

.eff-icon-item svg {
    color: var(--gold);
    margin-bottom: 12px;
    width: 28px;
    height: 28px;
}

.eff-icon-item span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.effects-slider-col {
    flex: 6;
    min-height: 300px;
}

.effects-slider-col .slider-mockup {
    height: 100%;
    min-height: 320px;
}

/* Korzyści (Dlaczego warto) */
.benefits-section {
    padding: 60px 0 40px;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.benefit-card {
    background: var(--white);
    padding: 32px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(200, 153, 83, 0.3);
    border-radius: 50%;
}

.benefit-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 12px;
    color: var(--text-main);
}

/* Zaokrąglony baner CTA podstron usług */
.service-cta-section {
    background: var(--white);
    padding: 0 0 80px 0;
}

.service-cta-wrapper {
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-cta-content {
    flex: 1;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.service-cta-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.service-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 24px;
}

.service-cta-image {
    flex: 1;
    position: relative;
    min-height: 280px;
}

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

.service-cta-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
    z-index: 1;
}

/* Baner pomocy */
.help-banner {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 60px;
    box-shadow: var(--shadow);
    gap: 32px;
}

.help-icon {
    width: 80px;
    height: 80px;
    background: rgba(200, 153, 83, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-text {
    flex: 1;
}

.help-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.help-text p {
    color: var(--text-main);
    font-size: 15px;
}

/* Instalacje Fotowoltaiczne */
.installations-section {
    padding: 40px 0 80px;
    background: var(--white);
}

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

.inst-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.inst-img {
    height: 140px;
    width: 100%;
}

.inst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inst-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -24px auto 16px;
    position: relative;
    z-index: 2;
    color: var(--navy);
}

.inst-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    padding: 0 16px;
    color: var(--navy);
}

.inst-card p {
    font-size: 12px;
    color: var(--text-main);
    padding: 0 16px;
}

/* ==========================================================================
   9. PODSTRONY SPECJALNE (O NAS, REALIZACJE, FAQ, KONTAKT)
   ========================================================================== */

/* O NAS */
.about-hero-section {
    position: relative;
    background: var(--bg-light);
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-section .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
}

.about-hero-section .hero-content {
    width: 50%;
    padding-right: 40px;
}

.about-hero-section .hero-content h1 {
    font-size: 42px;
    margin-bottom: 24px;
}

.hero-image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.hero-image-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.history-section {
    padding: 100px 0;
    background: var(--white);
}

.history-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.history-text {
    flex: 1;
}

.history-text h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.history-text p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-main);
}

.history-image {
    flex: 1;
}

.history-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.founder-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.founder-image {
    flex: 1;
}

.founder-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.founder-text {
    flex: 1;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.founder-text h2 {
    font-size: 32px;
    margin-bottom: 4px;
}

.founder-role {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 14px;
}

.founder-text p {
    margin-bottom: 16px;
    font-style: italic;
    color: var(--text-dark);
}

.values-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.value-card {
    padding: 24px;
}

.value-icon {
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 14px;
}

/* REALIZACJE */
.portfolio-filters-section {
    background: var(--white);
    padding: 0 0 40px 0;
}

.filters-scroll-wrapper {
    width: 100%;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    max-width: 1050px;
    margin: 0 auto;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    color: var(--navy);
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}


.filter-btn img,
.filter-btn svg {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
    flex-shrink: 0;
}

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

.filter-btn.active {
    background: var(--white) !important;
    border: 2px solid var(--navy) !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 12px rgba(11, 19, 42, 0.08);
}

.portfolio-grid-section {
    padding: 20px 0 60px;
}

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

.portfolio-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-slider {
    height: 100% !important;
    border-radius: 0;
}

.portfolio-slider .slider-label {
    top: 16px;
    padding: 0 12px;
    font-size: 11px;
}

.portfolio-slider .slider-handle {
    width: 40px;
    height: 40px;
    z-index: 5;
}

.portfolio-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 19, 42, 0.95) 0%, rgba(11, 19, 42, 0.6) 60%, transparent 100%);
    padding: 40px 24px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    pointer-events: none;
}

.pi-icon {
    width: 48px !important;
    height: 48px !important;
    background: var(--white) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.pi-icon img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    display: block;
}

.pi-text h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 4px;
}

.pi-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.portfolio-cta-section {
    padding: 40px 0;
}

.portfolio-cta-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    gap: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pcta-icon {
    width: 72px;
    height: 72px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcta-text {
    flex: 1;
}

.pcta-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pcta-text p {
    color: var(--text-main);
    font-size: 15px;
}

.pcta-button {
    flex-shrink: 0;
}

/* Klasy pomocnicze JS */
.hidden-initially,
.hide-by-filter {
    display: none !important;
}

/* FAQ */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--navy);
    padding: 0;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: var(--transition);
}

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

.faq-icon {
    position: relative;
    width: 32px;
    height: 32px;
    background: var(--navy);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.icon-horizontal,
.icon-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    transition: var(--transition);
}

.icon-horizontal {
    width: 12px;
    height: 2px;
}

.icon-vertical {
    width: 2px;
    height: 12px;
}

.faq-item.active {
    border-color: rgba(200, 153, 83, 0.3);
}

.faq-item.active .faq-icon {
    background: var(--gold);
}

.faq-item.active .icon-vertical {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    padding-left: 52px;
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-main);
    padding-top: 16px;
    margin: 0;
}

.faq-cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fcta-icon {
    color: var(--navy);
    flex-shrink: 0;
}

.fcta-text {
    flex: 1;
}

.fcta-text h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.fcta-text p {
    color: var(--text-main);
    font-size: 14px;
}

.fcta-button {
    flex-shrink: 0;
}

/* KONTAKT */
.contact-cards-section {
    padding: 60px 0 40px;
}

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

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-card .cc-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(200, 153, 83, 0.3);
    border-radius: 50%;
}

.contact-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--navy);
}

.cc-primary {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cc-secondary {
    font-size: 13px;
    color: var(--text-main);
}

.contact-split-section {
    padding: 20px 0 60px;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-white-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-white-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.box-desc {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 32px;
}

.page-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.page-contact-form .form-row .input-wrapper {
    margin-bottom: 0;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9CA3AF;
    pointer-events: none;
    margin-top: -1px;
}

.page-contact-form .input-wrapper input {
    padding-left: 48px;
}

.page-contact-form input,
.page-contact-form select {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: var(--text-dark);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 16px;
    transition: var(--transition);
    box-sizing: border-box;
}

.page-contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: var(--text-dark);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 16px;
    transition: var(--transition);
    box-sizing: border-box;
}

.page-contact-form input:focus,
.page-contact-form select:focus,
.page-contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 153, 83, 0.1);
}

.page-contact-form .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-left: 48px;
    cursor: pointer;
    text-align: left;
}

.page-contact-form select:invalid {
    color: #9CA3AF;
}

.page-contact-form select option {
    color: var(--text-dark);
}

.form-legal-light {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.legal-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.legal-icon svg {
    width: 32px;
    height: 32px;
}

.form-legal-light span {
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.5;
}

.map-image-wrapper {
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
}

.map-image-wrapper img {
    max-width: 100%;
    height: auto;
}

.map-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.map-features-list li svg {
    color: var(--gold);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   10. RESPONSYWNOŚĆ 
   ========================================================================== */

/* --- TABLETY (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .nav-list {
        gap: 16px;
    }

    .footer-container {
        gap: 40px;
    }

    /* Hero */
    .hero-container,
    .about-hero-section .hero-container {
        flex-direction: column;
    }

    .hero-content,
    .about-hero-section .hero-content {
        width: 100%;
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }

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

    .hero-section,
    .about-hero-section {
        padding: 80px 0 0 0;
        display: flex;
        flex-direction: column;
    }

    .hero-image-wrapper,
    .hero-image-right {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .hero-image-wrapper::after,
    .hero-image-right::after {
        width: 100%;
        height: 30%;
        background: linear-gradient(to bottom, var(--bg-light) 0%, transparent 100%);
    }

    /* Siatki */
    .services-section .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

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

    .surfaces-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

    .contact-split-grid {
        grid-template-columns: 1fr;
    }

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

    /* Karty i sekcje */
    .service-method-card,
    .horizontal-card,
    .method-split-layout,
    .impregnation-effects-wrapper,
    .service-cta-wrapper,
    .portfolio-cta-box,
    .history-container,
    .founder-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .service-method-card {
        flex-direction: column !important;
        text-align: center;
        gap: 0;
    }


    .light-card .hc-text {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .custom-check-list.grid-3-cols,
    .horizontal-icons,
    .action-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .application-methods {
        flex-direction: column;
        gap: 16px;
    }

    .effects-slider-col {
        min-height: 350px;
    }

    .service-cta-image::after,
    .sm-image::after {
        width: 100%;
        height: 30%;
        top: -1px;
        left: 0;
        background: linear-gradient(to bottom, var(--navy) 0%, transparent 100%);
    }

    .sm-image {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;
    }

    .safety-banner {
        flex-direction: column;
    }

    .safety-images,
    .safety-image-single {
        width: 100%;
        min-height: 250px;
    }

    .history-image img,
    .founder-image img {
        height: 400px;
    }

    /* Proces współpracy */
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .process-step {
        width: 100%;
        max-width: 300px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    /* Bus */
    .cta-bus-section {
        flex-direction: column;
    }

    .cta-bus-bg {
        width: 100%;
        height: 100%;
        border-radius: 20px 20px 0 0;
    }

    .cta-bus-content {
        width: 100%;
        padding: 60px 24px;
        text-align: center;
    }

    .cta-bus-image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .cta-bus-image img {
        border-radius: 0;
    }

    /* Suwaki i karty efektów */
    .slider-mockup {
        height: 350px;
    }

    .slider-carousel-wrapper {
        gap: 12px;
    }

    .effects-card {
        padding: 32px 24px;
    }

    .effects-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .slider-nav-arrow.left {
        left: -12px;
    }

    .slider-nav-arrow.right {
        right: -12px;
    }

    /* ==================== NAPRAWA WYRÓWNANIA METOD I LIST (MOBILE) ==================== */

    
    /* 1. Naprawa asymetrycznej karty z ikonami (np. Impregnacja) */
    .method-split-layout .method-left-col {
        text-align: left !important;
    }

    .method-left-col .feature-block {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .method-left-col .feature-content {
        text-align: left !important;
        width: 100%;
    }

    /* 2. Naprawa kart metod ze zdjęciami (np. Drewno, Okna) */
    .sm-content {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* 3. Naprawa jasnej karty (np. Kostka Brukowa) */
    .horizontal-card.light-card {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* 4. Gwarancja lewego marginesu dla nagłówków i paragrafów w tych sekcjach */
    .method-left-col h4,
    .method-left-col p,
    .sm-content h3,
    .sm-content p,
    .light-card .hc-text h3,
    .light-card .hc-text p {
        text-align: left !important;
    }

    /* 5. Gwarancja, że wszystkie ptaszki, numery i ikony w listach tworzą równą linię */
    .custom-check-list li,
    .sm-list-grid li,
    .sm-numbered-list li {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* 6. Naprawa pod-metod (Natrysk / Wałek) */
    .application-methods {
        align-items: flex-start !important;
    }

    .app-method {
        text-align: left !important;
        justify-content: flex-start !important;
    }

}

/* --- TELEFONY (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Nawigacja mobilna */
    .hamburger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        z-index: 1001;
    }

    .service-method-card {
        flex-direction: column !important;
    }

    .sm-image {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-link {
        display: block;
        padding: 15px 24px;
        border-bottom: 1px solid var(--bg-light);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-light);
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    /* Stopka */
    .footer-container {
        grid-template-columns: 1fr;
    }

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

    /* Typography */
    .hero-content h1 {
        font-size: 36px;
    }

    /* Wszystkie siatki przechodzą w 1 kolumnę */
    .advantages-grid,
    .surfaces-grid,
    .benefits-grid,
    .installations-grid,
    .services-section .services-grid,
    .services-hub-section .hub-grid,
    .portfolio-grid,
    .photo-steps-grid,
    .values-grid,
    .custom-check-list.grid-3-cols,
    .horizontal-icons,
    .action-icons-grid,
    .contact-cards-grid,
    .sm-list-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Filtry w Realizacjach - swipe scroll na mobile */
    .portfolio-filters-section .filters-scroll-wrapper {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-filters-section .filters-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filters {
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding: 10px 24px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    /* Dopasowanie kart */
    .services-section .service-card {
        height: auto !important;
        min-height: 350px;
    }

    .services-section .service-image {
        height: 200px !important;
    }

    .services-section .service-content {
        padding: 0 20px 24px !important;
    }

    .portfolio-card {
        height: 380px !important;
    }

    .portfolio-info-overlay {
        padding: 20px 16px 16px !important;
    }

    .pi-text h3 {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .pi-text p {
        font-size: 11px !important;
        line-height: 1.3;
        white-space: normal;
    }

    /* Pudełka i banery */
    .additional-service-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .as-title {
        width: 100%;
    }

    .horizontal-card.light-card,
    .dark-card .hc-dark-content,
    .card-content,
    .service-cta-content,
    .contact-white-box,
    .founder-text,
    .sm-content {
        padding: 32px 24px !important;
        text-align: center;
        align-items: center;
    }

    
    .service-cta-image {
        min-height: 0 !important;
        height: auto !important;
        line-height: 0;
    }

    .service-cta-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 260px;
        object-fit: cover;
    }

    .help-banner,
    .faq-cta-box,
    .portfolio-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

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

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-answer-wrapper {
        padding-left: 0;
    }

    .slider-mockup {
        height: 250px;
    }

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

    .slider-nav-arrow {
        padding: 4px;
    }

    .slider-label {
        padding: 0 10px;
        font-size: 10px;
    }

    .cta-bus-content {
        padding: 40px 24px;
    }
    
    /* ==================== FILTRY REALIZACJI (KOMPAKTOWY WRAP NA MOBILE) ==================== */
    .portfolio-filters-section {
        padding: 0 0 24px 0 !important;
    }

    .portfolio-filters-section .filters-scroll-wrapper {
        overflow: visible !important;
    }

    .portfolio-filters {
        display: flex !important;
        flex-wrap: wrap !important;          /* Pozwala ułożyć się w zgrabne 3 rzędy */
        justify-content: center !important;    /* Idealne wycentrowanie */
        gap: 8px !important;                 /* Mniejsze, zwarte odstępy */
        padding: 0 16px !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Pomniejszone, zgrabne przyciski na telefon */
    .filter-btn {
        height: 36px !important;             /* Zmniejszona wysokość */
        padding: 0 12px !important;          /* Kompaktowe marginesy */
        font-size: 11px !important;          /* Bardziej subtelny font */
        gap: 6px !important;                 /* Mniejszy odstęp między ikonką a tekstem */
        border-radius: 6px !important;
    }

    /* Dopasowane proporcjonalnie ikonki */
    .filter-btn img,
    .filter-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

}
