:root {
    --ink: #20201f;
    --gold: #bc965f;
    --gold-hover: #a98148;
    --paper: #f7f6f3;
    --muted: #686663;
    --line: #e5e1d9;
    --dark: #191919;
    --head: "Hedvig Letters Sans",Arial,sans-serif;
    --body: "Hedvig Letters Sans",Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    background: white;
    color: var(--ink);
    font: 16px/1.65 var(--body);
}

button,input,textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

img {
    max-width: 100%;
    display: block;
}

h1,h2,h3,p {
    margin-top: 0;
}

h1,h2,h3 {
    font-family: var(--head);
    line-height: 1.16;
    letter-spacing: -.045em;
}

h2 {
    font-size: clamp(2.15rem,3.25vw,3.5rem);
    font-weight: 500;
}

h2 em,h1 em {
    font-style: normal;
    color: var(--gold);
}

.btn i {
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translate(2px, -2px);
}

.container {
    width: min(1210px,calc(100% - 80px));
    margin: auto;
}

.skip-link {
    position: absolute;
    top: -70px;
    left: 12px;
    padding: 12px;
    background: white;
    z-index: 101;
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    background: rgba(255,255,255,.96);
    height: 86px;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo-link img {
    width: 207px;
    height: auto;
}

.navigation {
    display: flex;
    gap: 29px;
    align-items: center;
    margin-left: auto;
}

.navigation a {
    font-size: 15px;
    font-weight: 500;
    font-variant: small-caps;
    text-transform: lowercase;
    transition: color 0.2s;
}

.navigation a:hover,.footer a:hover {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px 23px;
    min-height: 52px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #b88e55 0%, #cba670 55%, #bc965f 100%);
    color: #181510;
    box-shadow: 0 2px 8px rgba(188, 150, 95, 0.08);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d1aa73 0%, #e7ca97 55%, #d5ae77 100%);
    color: #181510;
    box-shadow: 0 7px 20px rgba(188, 150, 95, 0.27);
    filter: brightness(1.04);
}

.btn-gold:focus-visible,
.mobile-call:focus-visible,
.filter-btn:focus-visible {
    outline: 2px solid #8f693b;
    outline-offset: 3px;
}

.header-cta {
    padding: 12px 18px;
    min-height: 45px;
    margin-left: 10px;
}

.btn-outline-light {
    color: white;
    border-color: rgba(255,255,255,.65);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: 630px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../img/hero.webp") center 45%/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(12,12,12,.88) 0%,rgba(16,16,16,.65) 38%,rgba(0,0,0,.06) 100%);
    z-index: -1;
}

.hero-content {
    padding-top: 44px;
    padding-bottom: 70px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .28em;
    color: var(--gold);
    display: block;
    margin-bottom: 18px;
}

.eyebrow-light {
    color: #d9b77c;
}

.hero h1 {
    font-weight: 500;
    font-size: clamp(3.2rem,6vw,6.7rem);
    margin-bottom: 25px;
    line-height: 1.07;
}

.hero p {
    font-size: clamp(1.04rem,1.6vw,1.33rem);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 25px;
    left: 50%;
    color: #fff;
    border: 1px solid #ffffff70;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.benefits {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 33px 0;
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-right: 1px solid var(--line);
}

.benefit:last-child {
    border: 0;
}

.benefit-mark {
    font-size: 36px;
    line-height: 1;
    color: var(--gold);
    width: 55px;
    text-align: center;
}

.benefit strong,.benefit span:not(.benefit-mark) {
    display: block;
    line-height: 1.45;
}

.benefit strong {
    font-size: 15px;
}

.benefit div span {
    font-size: 13px;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.split-image {
    min-height: 450px;
    overflow: hidden;
}

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

.split-copy {
    display: flex;
    align-items: center;
    padding: 85px max(50px,calc((100vw - 1210px)/2)) 85px 75px;
    background: var(--paper);
}

.copy-inner {
    max-width: 550px;
}

.split-copy h2 {
    margin-bottom: 24px;
}

.split-copy p {
    color: #514f4b;
    font-size: 15px;
    line-height: 1.85;
}


.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: linear-gradient(#faf9f7, #faf9f7) padding-box,
                linear-gradient(135deg, #d8b781, #a98148) border-box;
    color: var(--gold-hover);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.text-link:hover {
    background: linear-gradient(#f2e6d3, #faf4e9) padding-box,
                linear-gradient(135deg, #e6c892, #a98148) border-box;
    color: #6e4b23;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(188, 150, 95, 0.18);
}

.text-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.text-link:hover i {
    transform: translate(2px, -2px);
}


.services {
    padding: 100px 0 110px;
}

.section-heading {
    text-align: center;
    margin-bottom: 47px;
}

.section-heading p {
    max-width: 575px;
    margin: 14px auto 0;
    color: var(--muted);
}

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

.service-card {
    background: #faf9f7;
    border: 1px solid var(--line);
}

.service-img {
    height: 300px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

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

.service-body {
    padding: 33px 36px 37px;
}

.service-number {
    color: var(--gold-hover);
    font-weight: 500;
    letter-spacing: .17em;
    font-size: 10px;
}

.service-body h3 {
    font-size: 25px;
    letter-spacing: -.03em;
    margin: 13px 0;
}

.service-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.projects {
    background: var(--dark);
    color: white;
    padding: 105px 0;
}

.projects-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}

.projects-head h2 {
    margin-bottom: 0;
}

.projects-head>p {
    max-width: 365px;
    color: #aaa;
    font-size: 14px;
    margin: 0 0 5px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-btn {
    background: none;
    color: #aaa;
    border: 1px solid #484848;
    border-radius: 2px;
    padding: 9px 18px;
    font-size: 12px;
}

.filter-btn:hover,
.filter-btn.is-active {
    color: #17130d;
    background: linear-gradient(135deg, #b88e55, #d0aa76);
    border-color: var(--gold);
}

.filter-btn:hover {
    box-shadow: 0 4px 14px rgba(188, 150, 95, 0.22);
    filter: brightness(1.1);
}

.filter-btn {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

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

.project-item {
    padding: 0;
    background: #222;
    border: 0;
    position: relative;
    aspect-ratio: 1.12;
    overflow: hidden;
    text-align: left;
}

.project-item[hidden] {
    display: none;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.project-item:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent,#000b);
    color: white;
    padding: 65px 20px 19px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
}

.project-plus {
    font-size: 25px;
}

.gallery-disclaimer {
    color: #aaa;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 22px;
    max-width: 900px;
}

.contact {
    background: var(--paper);
    padding: 105px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 22px;
}

.contact-info>p {
    font-size: 15px;
    color: var(--muted);
    max-width: 455px;
}

.contact-methods {
    display: grid;
    gap: 20px;
    margin-top: 30px;
    font-size: 14px;
}

.contact-methods>a,.contact-methods>span {
    display: flex;
    align-items: center;
    gap: 17px;
    line-height: 1.45;
}

.contact-icon {
    color: var(--gold-hover);
    font-size: 24px;
    min-width: 24px;
}

.contact-form-wrapper {
    background: white;
    padding: 45px;
    box-shadow: 0 12px 55px #4e47310c;
}

.contact-form-wrapper h3 {
    font-size: 25px;
    margin: 0 0 8px;
}

.contact-form-wrapper>p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.contact form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.contact label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #484541;
}

.contact label>span:not(.consent span) {
    color: var(--gold-hover);
}

.contact input:not([type=checkbox]),.contact textarea {
    width: 100%;
    border: 1px solid #e2dfd9;
    border-radius: 2px;
    padding: 13px 14px;
    background: #fbfbfa;
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

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

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

.contact .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.65;
    color: #666;
    font-weight: 400;
    font-size: 11px;
}

.consent input {
    margin: 3px 0;
    accent-color: var(--gold);
    flex: none;
}

.consent a {
    color: var(--gold-hover);
    text-decoration: underline;
}

.submit-btn {
    justify-self: start;
    margin-top: 10px;
}

.bot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-feedback {
    padding: 11px 14px;
    border: 1px solid #b9d5c0;
    background: #eff9f0;
    color: #235934;
    font-size: 13px;
    margin-bottom: 16px;
}

.form-feedback.error {
    border-color: #e6b2aa;
    background: #fff0ec;
    color: #8a2f22;
}

.footer {
    background: #161616;
    color: #ccc;
}

.footer-main {
    padding: 46px 0;
    display: flex;
    align-items: center;
    gap: 45px;
    border-bottom: 1px solid #363636;
}

.footer-logo img {
    width: 188px;
    height: auto;
}

.footer-main>span {
    font-size: 12px;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
}

.mobile-call {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
}

.lightbox.is-open {
    display: flex;
}

.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 85vw;
    margin: 0 auto;
}

.lightbox figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

.lightbox figcaption {
    font-size: 13px;
    color: #ddd;
    text-align: center;
}

.lightbox button {
    position: absolute;
    color: white;
    background: #333a;
    border: 1px solid #777;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 30px;
}

.lightbox-close {
    top: 24px;
    right: 28px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

@media (max-width:1060px) {
    .container {
        width: min(100% - 52px,1200px);
    }

    .navigation {
        gap: 17px;
    }

    .navigation a {
        font-size: 12px;
    }

    .header-cta {
        display: none;
    }

    .split-copy {
        padding: 60px 40px;
    }

    .contact-grid {
        gap: 40px;
    }

}


@media (max-width: 760px) {
    html {
        scroll-padding-top: 72px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .site-header {
        height: 72px;
    }

    .logo-link img {
        width: 162px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        padding: 7px;
        z-index: 5;
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--ink);
        transition: 0.2s;
    }

    .menu-toggle[aria-expanded=true] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded=true] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded=true] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navigation {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 15px 23px #0002;
        padding: 12px 20px 24px;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        margin: 0;
    }

    .navigation.is-open {
        display: flex;
    }

    .navigation a {
        font-size: 15px;
        padding: 13px;
        border-bottom: 1px solid var(--line);
    }

    /* HERO */

    .hero {
        min-height: 610px;
        align-items: end;
    }

    .hero-image {
        background-position: 53% center;
    }

    .hero::before {
        background: linear-gradient(
            0deg,
            #090909ed 0%,
            #12121296 44%,
            #0002 100%
        );
    }

    .hero-content {
        padding: 90px 0 86px;
    }

    .hero h1 {
        font-size: clamp(3.05rem, 10vw, 5.3rem);
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 13px 16px;
        gap: 10px;
        font-size: 12px;
    }

    .scroll-hint {
        bottom: 18px;
    }

    /* ATUTY */

    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 26px 0;
        gap: 18px;
    }

    .benefit {
        justify-content: flex-start;
        border: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 5px 16px;
    }

    .benefit:last-child {
        padding-bottom: 0;
    }

    .benefit-mark {
        width: 43px;
        font-size: 28px;
    }

    /* O NAS */

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

    .split-image {
        min-height: 0;
        height: 330px;
    }

    .split-copy {
        padding: 60px 20px;
    }

    .split-copy .copy-inner {
        max-width: 100%;
    }

    h2 {
        font-size: clamp(2.1rem, 7vw, 3.1rem);
    }

    /* OFERTA */

    .services {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-img {
        height: 250px;
    }

    .service-body {
        padding: 27px 24px;
    }

    .service-body h3 {
        font-size: 23px;
    }

    /* REALIZACJE */

    .projects {
        padding: 70px 0;
    }

    .projects-head {
        display: block;
    }

    .projects-head > p {
        margin-top: 20px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .project-item {
        aspect-ratio: 0.85;
    }

    .project-overlay {
        font-size: 11px;
        padding: 50px 10px 12px;
    }

    .project-plus {
        font-size: 18px;
    }

    .filter-bar {
        overflow-x: auto;
    }

    .filter-btn {
        white-space: nowrap;
    }

    /* KONTAKT */

    .contact {
        padding: 70px 0 85px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2 {
        margin-bottom: 18px;
    }

    .contact-form-wrapper {
        padding: 25px 19px;
    }

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

    /* STOPKA */

    .footer-main {
        display: grid;
        gap: 15px;
        padding: 35px 0;
    }

    .footer-links {
        margin: 0;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom {
        padding: 18px 0 90px;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* MOBILNY PRZYCISK TELEFONU */

    .mobile-call {
        position: fixed;
        z-index: 45;
        display: flex;
        gap: 11px;
        align-items: center;
        justify-content: center;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 18px;
        right: 18px;
        min-height: 49px;
        background: var(--gold);
        box-shadow: 0 7px 20px #0004;
        color: #181510;
        font-weight: 500;
        border-radius: 5px;
    }

    /* GALERIA LIGHTBOX - WERSJA MOBILNA */

    .lightbox {
        padding: 0;
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }

    .lightbox figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 0 1 auto;
        width: calc(100% - 80px);
        max-width: calc(100vw - 80px);
        min-width: 0;
        max-height: 85dvh;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .lightbox figure img {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 70dvh;
        object-fit: contain;
        margin: 0 auto;
    }

    .lightbox figcaption {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 12px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .lightbox button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 37px;
        height: 37px;
        padding: 0;
        flex: none;
        line-height: 1;
    }

    .lightbox-close {
        top: calc(12px + env(safe-area-inset-top));
        right: 10px;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }
}


@media (max-width:390px) {
    .container {
        width: calc(100% - 32px);
    }

    .hero h1 {
        font-size: 2.95rem;
    }

    .hero-actions .btn {
        font-size: 11px;
        padding: 12px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}

b,strong {
    font-weight: 500;
}

.contact .field-label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #484541;
    line-height: 1.45;
}

.contact .field-label .required {
    color: var(--gold-hover);
}

.contact input:not([type=checkbox]) {
    height: 52px;
    min-height: 52px;
}

.contact textarea {
    min-height: 145px;
}

.contact .contact-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.contact .captcha-question {
    display: block;
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
}

.contact .captcha-label {
    max-width: 250px;
}

.lightbox button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    aspect-ratio: 1;
    flex: none;
}

.lightbox button i {
    display: block;
    font-size: 17px;
    line-height: 1;
    width: 1em;
    height: 1em;
    text-align: center;
}

.lightbox .lightbox-close i {
    font-size: 20px;
}

.mobile-call i {
    font-size: 15px;
}

/* Typografia ESPOL */
b,
strong {
    font-weight: 400;
}

h1,
h2,
h3 {
    font-weight: 500;
}


.hero .hero-slogan {
    font-family: 'Italianno', cursive;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
}


/* Przycisk powrotu na górę */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #d3ac75;
    border-radius: 50%;
    background: linear-gradient(135deg, #bc965f, #d1ab76);
    color: #181510;
    font-size: 18px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
	cursor: pointer;
	padding: 0;
    transform: translateY(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease,
                visibility 0.3s ease,
                transform 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #e6c892, #d1ab76);
    color: #181510;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(188, 150, 95, 0.3);
}

.back-to-top:focus-visible {
    outline: 3px solid #20201f;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .back-to-top {
        right: 18px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}


/* Efekt rozjaśniania przycisku telefonicznego na urządzeniach mobilnych */
.mobile-call {
    transition: background 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.mobile-call:hover {
    background: linear-gradient(135deg, #d1aa73, #e7ca97);
    box-shadow: 0 9px 24px rgba(188, 150, 95, 0.32);
    filter: brightness(1.04);
}
