/* Single-page integration overrides */
:root {
    --section-anchor-offset: 5.25rem;
}

section[id],
#about,
#services,
#package,
#gallery,
#testimonials,
#contact {
    scroll-margin-top: var(--section-anchor-offset);
}

/* Inner-page banners no longer need room for a separate page header. */
.shared-background-container .page-banner,
.package .page-banner,
.gallery .page-banner,
.testimonials .page-banner,
.contact-section .page-banner {
    padding: 5rem 2rem 2rem;
    background: transparent;
}

/* Keep the first about title balanced after the home/teaser section. */
.shared-background-container .about-services {
    padding-top: 0;
}

/* Give section changes clear visual separation while preserving the dark/gold design. */
.package,
.gallery,
.testimonials,
.contact-section {
    border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 42%), #000;
}

.contact-section .page-banner {
    padding-top: 5rem;
}

/* Teaser cards are in-page navigation now. */
.teaser-card {
    cursor: pointer;
}

/* Make service cards clearly clickable to pricing. */
.service-box a {
    display: block;
    height: 100%;
}

/* Active navigation state works for anchor-based single-page navigation. */
.nav-link.active {
    color: var(--first-color);
}

.nav-link.active::before {
    width: 100%;
}

@media (max-width: 920px) {
    :root {
        --section-anchor-offset: 4.75rem;
    }

    .shared-background-container .page-banner,
    .package .page-banner,
    .gallery .page-banner,
    .testimonials .page-banner,
    .contact-section .page-banner {
        padding-top: 4rem;
    }
}

/* =========================================================
   2026 one-page visual refresh — screenshot-matched layout
========================================================= */

/* Header: cleaner, wider, screenshot-style spacing */
.header {
    height: 84px;
    background: rgba(24, 24, 24, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.06);
}
.navbar {
    max-width: 1880px;
    height: 84px;
    padding: 12px 26px;
}
.navbar .logo {
    max-width: 250px;
    max-height: 62px;
}
.nav-menu li { margin-right: 2.55rem; }
.nav-menu li:last-child { margin-right: 0; }
.nav-link { font-size: 1.08rem; }

/* HERO — left aligned like supplied reference */
.home-section {
    min-height: 775px;
    padding: 84px 0 0;
    align-items: center;
    background:
        radial-gradient(circle at 82% 16%, rgba(116, 89, 11, 0.22), transparent 29%),
        radial-gradient(circle at 10% 90%, rgba(116, 89, 11, 0.18), transparent 27%),
        #000;
}
.home-content-container {
    max-width: 1510px;
    padding: 0 70px;
}
.home-content {
    width: min(980px, 74%);
    text-align: left;
}
.title-animation {
    font-size: clamp(4rem, 5.2vw, 6.4rem);
    line-height: 1.02;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.title-animation span {
    font-size: clamp(4.7rem, 6vw, 7.5rem);
    line-height: .98;
    filter: drop-shadow(0 0 9px rgba(212,175,55,.42));
}
.subtitle-animation {
    max-width: 1140px;
    margin: 2.15rem 0 2.6rem;
    font-size: 1.28rem;
    letter-spacing: 3px;
    line-height: 1.6;
}
.cta-container {
    justify-content: flex-start;
    gap: 1.5rem;
}
.btn-primary,
.btn-secondary {
    min-width: 305px;
    min-height: 60px;
    font-size: 1.03rem;
    font-weight: 700;
    overflow: hidden;
    position: relative;
}
.btn-secondary { min-width: 250px; }
.btn-primary::after,
.btn-secondary::after,
.btn::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -35%;
    width: 28%;
    height: 340%;
    transform: rotate(24deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transition: left .7s ease;
    pointer-events: none;
}
.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn:hover::after { left: 120%; }

/* Thin animated gold rings on right, matching reference */
.home-section .shape {
    filter: none;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.38);
    box-shadow: 0 0 34px rgba(212,175,55,.02);
}
.home-section .shape-1 {
    width: 375px;
    height: 375px;
    top: 210px;
    right: 16%;
    animation: ringFloat 9s ease-in-out infinite;
}
.home-section .shape-2 {
    width: 250px;
    height: 250px;
    top: 405px;
    right: 28%;
    left: auto;
    bottom: auto;
    animation: ringFloat 11s ease-in-out infinite reverse;
}
.home-section .shape-3 {
    width: 188px;
    height: 188px;
    top: 455px;
    right: 7%;
    left: auto;
    animation: ringFloat 10s ease-in-out infinite 1s;
}
@keyframes ringFloat {
    0%,100% { transform: translate3d(0,0,0) scale(1); opacity:.72; }
    50% { transform: translate3d(0,-18px,0) scale(1.035); opacity:1; }
}

/* Hide the old quick-link strip from the home page so hero flows like reference */
.teaser-strip { display: none; }

/* Gallery: fixed screenshot-like grid + truly centered See More */
.gallery-content { max-width: 1450px; }
.gallery-list-img-container { padding: 2.5rem 0 3rem; }
.gallery-list-img { gap: 20px; }
.gallery-img {
    width: calc(25% - 15px);
    height: 225px;
    border-radius: 24px;
}
.gallery-list-img-container > div[style*="text-align:center"] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.2rem;
}
#seeMoreBtn {
    position: relative;
    width: 300px;
    min-height: 48px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(212,175,55,.12);
}
.gallery-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 45%, rgba(212,175,55,.16));
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.gallery-img:hover::after { opacity: 1; }
.gallery-img:hover img { transform: scale(1.075); filter: brightness(1.04); }

/* CONTACT HUB: Testimonials now belongs to the Contact navigation area */
.contact-hub {
    scroll-margin-top: var(--section-anchor-offset);
    border-top: 1px solid rgba(212,175,55,.18);
    background:
        radial-gradient(circle at 6% 26%, rgba(113,85,12,.12), transparent 24%),
        radial-gradient(circle at 94% 68%, rgba(113,85,12,.11), transparent 26%),
        #000;
}
.testimonials,
.contact-section {
    background: transparent !important;
    border-top: 0 !important;
}

/* Testimonials: cleaner 4-card format from screenshot */
.testimonials {
    padding: 1rem 0 5.5rem;
    position: relative;
}
.testimonials-content { max-width: 1500px; }
.testimonials-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin-top: 3.4rem;
}
.testimonials-items {
    min-height: 350px;
    height: 350px;
    justify-content: flex-start;
    border-radius: 20px;
    background: #121214;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 14px 42px rgba(0,0,0,.22);
    overflow: hidden;
}
.testimonials-items::after { display: none; }
.testimonials-img {
    top: 38px;
    left: 38px;
}
.testimonials-img img {
    width: 72px;
    height: 72px;
    border: 2px solid #e3bd25;
    box-shadow: 0 0 18px rgba(212,175,55,.22);
}
.testimonials-box {
    padding: 38px 34px 30px;
    padding-top: 34px;
}
.testimonials-name {
    min-height: 110px;
    margin: 0 0 1.35rem;
    padding-left: 88px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
}
.testimonials-name h1 {
    width: 100%;
    font-size: 1.85rem;
    line-height: 1.1;
    margin: 0 0 .65rem;
}
.testimonials-name i {
    font-size: 1.35rem;
    margin: 0 5px 0 0;
}
.testimonials-description {
    display: block;
    overflow: visible;
}
.testimonials-description p {
    display: block;
    overflow: visible;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,.93);
}
.testimonials-items:hover {
    height: 350px;
    transform: translateY(-10px) scale(1.012);
    border-color: rgba(212,175,55,.52);
    box-shadow: 0 22px 55px rgba(0,0,0,.38), 0 0 32px rgba(212,175,55,.08);
}
.testimonials-items:hover .testimonials-img img { transform: scale(1.08) rotate(2deg); }

/* More polished motion across the whole page */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px) scale(.985);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.service-box:nth-child(2n),
.gallery-img:nth-child(2n),
.testimonials-items:nth-child(2n) { transition-delay: .07s; }
.service-box:nth-child(3n),
.gallery-img:nth-child(3n),
.testimonials-items:nth-child(3n) { transition-delay: .14s; }
.service-box:hover { transform: translateY(-9px) scale(1.015); }
.section-title h1 { animation: titleGlow 4s ease-in-out infinite; }
@keyframes titleGlow {
    0%,100% { text-shadow: 0 0 10px rgba(212,175,55,.18); }
    50% { text-shadow: 0 0 22px rgba(212,175,55,.42); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal-on-scroll { opacity: 1; transform: none; }
}

@media (max-width: 1200px) {
    .home-content-container { padding: 0 44px; }
    .home-content { width: 79%; }
    .home-section .shape-1 { right: 7%; }
    .home-section .shape-2 { right: 20%; }
    .home-section .shape-3 { right: 2%; }
    .testimonials-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .navbar { padding: 11px 20px; }
    .navbar .logo { max-width: 210px; }
    .home-section { min-height: 720px; }
    .home-content-container { padding: 0 30px; }
    .home-content { width: 100%; text-align: center; }
    .subtitle-animation { margin-left: auto; margin-right: auto; }
    .cta-container { justify-content: center; }
    .home-section .shape { opacity: .4; }
    .gallery-img { width: calc(50% - 10px); height: 225px; }
}

@media (max-width: 650px) {
    .home-section { min-height: 680px; }
    .home-content-container { padding: 0 20px; }
    .title-animation { font-size: 3.35rem; }
    .title-animation span { font-size: 4rem; }
    .subtitle-animation { font-size: .98rem; letter-spacing: 1.5px; }
    .btn-primary, .btn-secondary { min-width: 0; width: 100%; max-width: 330px; }
    .gallery-img { width: 100%; height: 235px; }
    .testimonials-card { grid-template-columns: 1fr; gap: 20px; }
    .testimonials-items { height: auto; min-height: 315px; }
    .testimonials-items:hover { height: auto; }
}

/* Enhanced reveal choreography */
.reveal-on-scroll{opacity:0;transform:translateY(28px) scale(.985);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.75,.25,1);transition-delay:var(--delay,0s)}
.reveal-on-scroll.is-visible{opacity:1;transform:translateY(0) scale(1)}
@media(prefers-reduced-motion:reduce){.reveal-on-scroll{opacity:1;transform:none;transition:none}}

/* ===================================================
   HERO COMPACT TUNING — balanced desktop proportions
=================================================== */
@media (min-width: 921px) {
    .home-section {
        min-height: 660px;
        padding-top: 80px;
    }

    .home-content {
        width: min(850px, 68%);
    }

    .title-animation {
        font-size: clamp(3.25rem, 4.15vw, 5.15rem);
        line-height: 1.02;
        margin-bottom: 1rem;
    }

    .title-animation span {
        font-size: clamp(3.85rem, 4.9vw, 6rem);
    }

    .subtitle-animation {
        max-width: 950px;
        margin: 1.55rem 0 2rem;
        font-size: 1.08rem;
        letter-spacing: 2.2px;
        line-height: 1.55;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 52px;
        padding: .7rem 1.65rem;
        font-size: .94rem;
    }

    .btn-primary { min-width: 275px; }
    .btn-secondary { min-width: 220px; }

    .home-section .shape-1 {
        width: 320px;
        height: 320px;
        top: 175px;
        right: 14%;
    }

    .home-section .shape-2 {
        width: 215px;
        height: 215px;
        top: 355px;
        right: 26%;
    }

    .home-section .shape-3 {
        width: 155px;
        height: 155px;
        top: 410px;
        right: 6%;
    }
}

/* ===================================================
   HERO REFERENCE MATCH — supplied 1866x866 layout
   Keeps the rest of the one-page site unchanged.
=================================================== */
@media (min-width: 1201px) {
    :root {
        --section-anchor-offset: 5.5rem;
    }

    .header {
        height: 88px;
    }

    .navbar {
        height: 88px;
        padding: 11px 18px;
        max-width: 1900px;
    }

    .navbar .logo {
        max-width: 252px;
        max-height: 66px;
    }

    .nav-menu li {
        margin-right: 2.65rem;
    }

    .nav-link {
        font-size: 1.04rem;
    }

    .home-section {
        min-height: 100vh;
        padding: 88px 0 0;
        align-items: center;
        background:
            radial-gradient(circle at 88% 16%, rgba(116, 89, 11, 0.22), transparent 31%),
            radial-gradient(circle at 9% 90%, rgba(116, 89, 11, 0.17), transparent 29%),
            #000;
    }

    .home-content-container {
        max-width: 1520px;
        padding: 0 clamp(72px, 7.5vw, 138px);
        transform: translateY(-50px);
    }

    .home-content {
        width: min(1180px, 79%);
        text-align: left;
    }

    .title-animation {
        font-size: clamp(4.35rem, 4.35vw, 5.1rem);
        line-height: 1.01;
        letter-spacing: .5px;
        margin-bottom: 0;
    }

    .title-animation span {
        font-size: clamp(5.2rem, 5.35vw, 6.25rem);
        line-height: 1.02;
        margin-top: .12rem;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, .45));
    }

    .subtitle-animation {
        max-width: 1160px;
        margin: 1.55rem 0 2.65rem;
        font-size: 1.12rem;
        line-height: 1.55;
        letter-spacing: 2.7px;
        white-space: nowrap;
    }

    .cta-container {
        justify-content: flex-start;
        gap: 1.65rem;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 56px;
        padding: .75rem 1.8rem;
        font-size: .98rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .btn-primary {
        min-width: 460px;
    }

    .btn-secondary {
        min-width: 290px;
    }

    /* Ring positions reproduce the right-side balance in the reference. */
    .home-section .shape-1 {
        width: 355px;
        height: 355px;
        top: 283px;
        right: 22%;
    }

    .home-section .shape-2 {
        width: 238px;
        height: 238px;
        top: 390px;
        right: 34%;
    }

    .home-section .shape-3 {
        width: 174px;
        height: 174px;
        top: 462px;
        right: 18.5%;
    }
}

/* Keep the same visual hierarchy on normal laptops without forcing one-line overflow. */
@media (min-width: 921px) and (max-width: 1200px) {
    .home-section {
        min-height: 100vh;
    }

    .home-content-container {
        padding-left: clamp(52px, 6vw, 76px);
        padding-right: clamp(52px, 6vw, 76px);
        transform: translateY(-28px);
    }

    .home-content {
        width: 82%;
    }

    .btn-primary {
        min-width: 360px;
    }

    .btn-secondary {
        min-width: 245px;
    }
}

/* =========================================================
   Appointment modal — black/gold popup form
========================================================= */
.appointment-open {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.appointment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.appointment-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.appointment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.appointment-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(780px, calc(100vh - 72px));
    overflow-y: auto;
    padding: 24px 28px 27px;
    border: 1px solid rgba(212, 175, 55, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 2%, rgba(212, 175, 55, .08), transparent 30%),
        linear-gradient(145deg, #151517 0%, #101012 100%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .72), 0 0 0 1px rgba(255, 255, 255, .02) inset;
    transform: translateY(28px) scale(.97);
    transition: transform .34s cubic-bezier(.2, .8, .2, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, .55) rgba(255, 255, 255, .04);
}

.appointment-modal.is-open .appointment-dialog {
    transform: translateY(0) scale(1);
}

.appointment-dialog::-webkit-scrollbar { width: 8px; }
.appointment-dialog::-webkit-scrollbar-track { background: rgba(255, 255, 255, .03); }
.appointment-dialog::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, .55); border-radius: 99px; }

.appointment-close {
    position: absolute;
    top: 12px;
    right: 13px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, .9);
    background: transparent;
    font-size: 1.22rem;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.appointment-close:hover,
.appointment-close:focus-visible {
    color: var(--first-color);
    background: rgba(212, 175, 55, .08);
    transform: rotate(90deg);
}

.appointment-heading {
    text-align: center;
    padding: 0 34px;
    margin-bottom: 20px;
}

.appointment-heading h2 {
    margin: 0 0 9px;
    color: var(--first-color);
    font-family: var(--font-cursive);
    font-size: clamp(2.15rem, 4.4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.05;
    text-shadow: 0 0 18px rgba(212, 175, 55, .12);
}

.appointment-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .96rem;
    letter-spacing: .01em;
}

.appointment-form {
    width: min(100%, 500px);
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.appointment-field {
    display: grid;
    gap: 6px;
}

.appointment-field label {
    color: rgba(255, 255, 255, .94);
    font-size: .94rem;
    font-weight: 500;
}

.appointment-field input,
.appointment-field select,
.appointment-field textarea {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, .38);
    border-radius: 11px;
    outline: none;
    background: #202023;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.appointment-field input,
.appointment-field select {
    min-height: 50px;
    padding: 0 17px;
}

.appointment-field textarea {
    min-height: 102px;
    resize: vertical;
    padding: 13px 17px;
    line-height: 1.55;
}

.appointment-field input::placeholder,
.appointment-field textarea::placeholder {
    color: rgba(255, 255, 255, .38);
}

.appointment-field input:focus,
.appointment-field select:focus,
.appointment-field textarea:focus {
    border-color: var(--first-color);
    background: #222225;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .09), 0 0 22px rgba(212, 175, 55, .05);
}

.appointment-select-wrap {
    position: relative;
}

.appointment-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 50px;
}

.appointment-select-wrap > i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .9);
    font-size: .84rem;
    pointer-events: none;
}

.appointment-error {
    min-height: 0;
    color: #ff9b9b;
    font-size: .82rem;
}

.appointment-field.has-error input,
.appointment-field.has-error select,
.appointment-field.has-error textarea {
    border-color: rgba(255, 111, 111, .78);
}

.appointment-submit {
    position: relative;
    min-height: 50px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(90deg, #caa82c, #e0bd36, #caa82c);
    color: #080808;
    font: inherit;
    font-weight: 750;
    font-size: .9rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(212, 175, 55, .16);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.appointment-submit::after {
    content: '';
    position: absolute;
    top: -130%;
    left: -30%;
    width: 24%;
    height: 360%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    transition: left .7s ease;
}

.appointment-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 38px rgba(212, 175, 55, .25);
    filter: brightness(1.05);
}

.appointment-submit:hover::after { left: 118%; }

.appointment-submit:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
    filter: grayscale(.18);
    box-shadow: none;
}

.appointment-submit:disabled:hover {
    transform: none;
    box-shadow: none;
    filter: grayscale(.18);
}

.appointment-submit:disabled::after {
    display: none;
}

.appointment-form-note {
    margin: -8px 0 0;
    color: rgba(255, 255, 255, .46);
    font-size: .78rem;
    line-height: 1.45;
    text-align: center;
}

.appointment-status {
    min-height: 0;
    color: var(--first-color);
    font-size: .9rem;
    text-align: center;
}

body.appointment-modal-open {
    overflow: hidden;
}

@media (max-width: 680px) {
    .appointment-modal { padding: 12px; }
    .appointment-dialog {
        width: min(520px, 100%);
        max-height: calc(100vh - 24px);
        padding: 22px 17px 22px;
        border-radius: 18px;
    }
    .appointment-heading {
        padding: 0 30px;
        margin-bottom: 18px;
    }
    .appointment-heading h2 { font-size: 2rem; }
    .appointment-heading p { font-size: .92rem; line-height: 1.45; }
    .appointment-form { gap: 14px; }
    .appointment-field input,
    .appointment-field select { min-height: 50px; padding-left: 15px; }
    .appointment-field textarea { min-height: 96px; padding: 12px 15px; }
    .appointment-submit { min-height: 50px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
    .appointment-modal,
    .appointment-dialog,
    .appointment-close,
    .appointment-submit { transition: none; }
}


/* Scroll-to-top control — matched to Elite Thread & Wax behavior and styling. */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 140;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .32);
    background: rgba(8, 8, 8, .88);
    color: var(--first-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .36);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.92);
    transition: opacity .28s ease, transform .35s cubic-bezier(.2,.75,.2,1), visibility .28s ease, background .25s ease;
}

.scroll-top span {
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .25s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top:hover {
    background: rgba(28, 24, 12, .96);
    transform: translateY(-3px) scale(1.04);
}

.scroll-top:hover span {
    transform: translateY(-4px);
}

@media (max-width: 980px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top { transition: none; }
}
