/* Warstwa odświeżająca wygląd i mikrointerakcje strony. */
:root { --accent: #95983d; --accent-light: #c0c36a; --ink: #171812; --paper: #f7f7f3; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { overflow-x: hidden; background: var(--paper); }
::selection { color: #fff; background: var(--accent); }

.about-us, .contact { position: relative; }
.about-us {
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #f5f5ef 100%);
    border-left: 0;
    border-radius: 2px 20px 20px 2px;
    box-shadow: 0 25px 70px rgba(31, 32, 20, .1);
}
.about-us::before {
    content: ''; position: absolute; inset: 0 auto 0 0; width: 5px;
    background: linear-gradient(var(--accent-light), var(--accent));
}
.about-us::after {
    content: 'DC'; position: absolute; right: -18px; bottom: -55px;
    color: rgba(149, 152, 61, .055); font-size: clamp(9rem, 20vw, 16rem);
    font-weight: 700; line-height: 1; pointer-events: none;
}
.about-us > * { position: relative; z-index: 1; }

.about-us h2, .services h2, .contact h2 { position: relative; display: inline-block; }
.about-us h2::after, .services h2::after, .contact h2::after {
    content: ''; display: block; width: 46px; height: 3px; margin-top: 12px;
    background: linear-gradient(90deg, var(--accent), transparent); transition: width .6s ease;
}
.about-us:hover h2::after, .services:hover h2::after, .contact:hover h2::after { width: 100%; }

.services-bg {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(135deg, #080908 0%, #171812 52%, #0b0c09 100%);
}
.services-bg::before {
    content: ''; position: absolute; z-index: -1; width: 680px; height: 680px;
    top: -300px; right: -220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(149, 152, 61, .17), transparent 68%); filter: blur(10px);
}
.services { padding-top: 90px; padding-bottom: 100px; }
.service-block { position: relative; isolation: isolate; }
.service-block::after {
    content: ''; position: absolute; z-index: 2; inset: 0; border-radius: inherit;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.07) 50%, transparent 65%);
    transform: translateX(-120%); transition: transform .85s ease; pointer-events: none;
}
.service-block:hover::after { transform: translateX(120%); }
.service-block img { filter: saturate(.65) contrast(1.06); }
.service-block:hover img { filter: saturate(1) contrast(1.08); }

.contact {
    max-width: 1050px; margin: 80px auto; padding: 70px clamp(24px, 7vw, 85px);
    border: 1px solid rgba(149, 152, 61, .17); border-radius: 20px;
    background: rgba(255, 255, 255, .88); box-shadow: 0 30px 80px rgba(26, 28, 17, .09);
}
.contact-info {
    padding: 25px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(149, 152, 61, .1), rgba(149, 152, 61, .025));
}
.contact-form input, .contact-form textarea {
    border: 1px solid #dedfd4; border-radius: 8px; padding: 14px 15px; background: #fff;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    border: 1px solid var(--accent); box-shadow: 0 0 0 4px rgba(149, 152, 61, .12);
    transform: translateY(-1px);
}
.contact-form button {
    position: relative; overflow: hidden; border-radius: 8px;
    background: linear-gradient(110deg, #858834, var(--accent-light), #858834); background-size: 200% 100%;
}
.contact-form button:hover { background-position: 100% 0; }

.map-container { position: relative; border: 0; box-shadow: inset 0 16px 35px rgba(0, 0, 0, .16); }
.map-container iframe { filter: grayscale(.8) contrast(.9); transition: filter .7s ease; }
.map-container:hover iframe, .map-container:focus-within iframe { filter: grayscale(0) contrast(1); }

.js-reveal {
    opacity: 0; transform: translateY(34px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}
.js-reveal.revealed { opacity: 1; transform: translateY(0); }
.service-block.js-reveal { transition-delay: var(--reveal-delay, 0ms); }

@media (max-width: 768px) {
    .about-us { border-radius: 2px 14px 14px 2px; }
    .services { padding-top: 60px; padding-bottom: 65px; }
    .contact { margin: 35px 15px; padding: 48px 20px; border-radius: 14px; }
    .map-container iframe { filter: grayscale(.35); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-reveal { opacity: 1; transform: none; transition: none; }
    .service-block::after { display: none; }
}
