.hero {
    height: 85vh;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url("../images/realizacje.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.hero h1 { color: var(--hero-text); font-family: 'Oswald', sans-serif; font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.highlight { color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--hero-muted); margin-bottom: 36px; }

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin: 8px;
    transition: 0.3s;
}
.btn-primary        { background: var(--primary); color: var(--hero-text); }
.btn-primary:hover  { background: var(--primary-hover); }
.btn-secondary      { border: 2px solid var(--hero-text); color: var(--hero-text); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.hero-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }

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

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-ghost);
    font-size: .9rem;
}

.gallery-section {
    padding: 100px 0 80px;
    background: var(--bg-soft);
}

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


.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    filter: brightness(.85);
}

.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, var(--caption-bg));
    font-family: 'Oswald', sans-serif;
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.gallery-placeholder {
    position: relative;
    background: var(--bg-card);
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-item);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s;
}

.gallery-placeholder:hover { border-color: var(--border-mid); }

.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    border: 1.5px dashed var(--border-mid);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s;
}

.gallery-placeholder:hover .placeholder-icon { border-color: var(--primary); }

.placeholder-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--border-strong);
    transition: stroke .3s;
}

.gallery-placeholder:hover .placeholder-icon svg { stroke: var(--primary); }

.placeholder-label {
    font-family: 'Oswald', sans-serif;
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--border-mid);
    transition: color .3s;
}

.gallery-placeholder:hover .placeholder-label { color: var(--text-ghost); }

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border-xfaint);
    border: 1px solid var(--border-xfaint);
    border-radius: 4px;
    overflow: hidden;
}

.review-card {
    background: var(--bg-soft);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 14px;
    height: 14px;
    fill: var(--primary);
}

.star.empty {
    fill: none;
    stroke: var(--border-strong);
    stroke-width: 1.5;
}

.review-quote {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex-grow: 1;
    position: relative;
    padding-top: 4px;
}

.review-author {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-firma {
    font-family: 'Oswald', sans-serif;
    font-size: .88rem;
    letter-spacing: .5px;
    color: var(--text);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-miejscowosc {
    font-size: .75rem;
    color: var(--text-ghost);
}

.review-produkt {
    font-size: .7rem;
    color: var(--primary);
    border: 1px solid var(--accent-border);
    border-radius: 2px;
    padding: 1px 7px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-highlight {
    background: var(--highlight-bg);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 28px 32px;
    max-width: 860px;
    margin: 0 auto 60px;
}

.contact-highlight p {
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-highlight p:last-child { margin-bottom: 0; }
.contact-highlight strong { color: var(--text-white); }

.contact-highlight a {
    color: var(--link);
    text-decoration: none;
    font-weight: 600;
}

.contact-highlight a:hover { color: var(--link-hover); text-decoration: underline; }

.contact-info { font-size: 1rem !important; }

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

    .contact-highlight {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero h1           { font-size: 2.2rem; }
    .hero p            { font-size: 1rem; }
    .gallery-section   { padding: 60px 0 40px; }
    .reviews-section   { padding: 60px 0; }
    .gallery-grid      { grid-template-columns: 1fr; }
    .reviews-grid      { grid-template-columns: 1fr; }

    .section-header h2 { font-size: 1.8rem; }

    .review-card       { padding: 24px 20px; }
    .contact-highlight { padding: 24px 20px; }
}

@media (max-width: 400px) {
    .hero h1             { font-size: 1.9rem; }
    .btn-primary,
    .btn-secondary       { padding: 12px 22px; font-size: .9rem; }
}