/* ==========================================================
   Soumenas.lt – styles
   Sections: variables, base, buttons, header, hero,
             services, cta, footer, responsive
   ========================================================== */

/* ---------- Variables ---------- */
:root {
    --color-bg: #070607;
    --color-bg-soft: #0d0b0a;
    --color-gold: #e8b04a;
    --color-gold-light: #f6cf7a;
    --color-text: #f3efe8;
    --color-muted: #cfc8bc;
    --color-line: rgba(232, 176, 74, .25);
    --font-body: "Figtree", system-ui, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-gold {
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
    color: #1a1209;
    border: 0;
}
.btn-gold:hover {
    color: #1a1209;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 176, 74, .35);
}

.btn-outline-gold {
    color: var(--color-gold-light);
    border: 1px solid var(--color-gold);
    background: transparent;
}
.btn-outline-gold:hover {
    color: #1a1209;
    background: var(--color-gold);
}

/* ---------- Header ---------- */
.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    padding-top: .75rem;
}

.site-header .nav-link {
    color: var(--color-text);
    font-weight: 500;
}
.site-header .nav-link:hover { color: var(--color-gold-light); }

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.brand-eye { width: 66px; height: auto; margin-bottom: -2px; }
.brand-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.7rem;
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 520px;
    padding: 140px 0 60px;
    background: var(--color-bg);
    overflow: hidden;
}

/* photo sits below the header, pushed to the right and cropped by the edge */
.hero::before {
    content: "";
    position: absolute;
    top: 95px;
    bottom: 0;
    left: 30%;
    right: -8%;
    background: url("../img/hero.png") 60% top / auto 100% no-repeat;
}

/* fades: left side for text legibility, bottom into the page */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 22%, rgba(7, 6, 7, 0) 52%),
        linear-gradient(180deg, var(--color-bg) 0%, rgba(7, 6, 7, 0) 22%, rgba(7, 6, 7, 0) 90%, var(--color-bg) 100%);
    pointer-events: none;
}

.hero .container-xl { z-index: 1; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .5rem;
    color: var(--color-gold);
    letter-spacing: .5em;
    text-transform: uppercase;
    font-weight: 500;
}
.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 55px;
    height: 1px;
    background: var(--color-gold);
}
.eyebrow::after { display: none; }
.eyebrow span { font-size: 1rem; }

.hero-title {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.01em;
    color: #fff;
    margin-bottom: 2rem;
}
/* gold swoosh under the title */
.hero-title::after {
    content: "";
    display: block;
    width: 75%;
    height: 14px;
    margin: .1em 0 0 auto;
    border-top: 4px solid var(--color-gold);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    -webkit-mask: linear-gradient(90deg, transparent, #000 35%, #000 85%, transparent);
    mask: linear-gradient(90deg, transparent, #000 35%, #000 85%, transparent);
}

.hero-lead {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.3;
    max-width: 17ch;
    margin-bottom: 1.75rem;
}

/* ---------- Services ---------- */
.services { padding: 0 0 2.5rem; }

.service-item {
    position: relative;
    padding: 1rem 1.75rem;
    text-align: center;
}
.service-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(transparent, var(--color-line), transparent);
}
.service-item i {
    display: block;
    font-size: 2.1rem;
    color: var(--color-gold);
    margin-bottom: .75rem;
}
.service-item h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: .5rem; }
.service-item p { color: var(--color-muted); margin: 0 auto; max-width: 24ch; }

/* ---------- CTA ---------- */
.cta {
    padding: 4rem 0;
    border-top: 1px solid var(--color-line);
    background: var(--color-bg-soft) url("../img/cta.png") center / cover no-repeat;
}
.cta-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--color-line);
}
.footer-tagline { color: var(--color-muted); margin: 1rem 0 0; max-width: 22ch; }

.footer-col h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a:hover { color: var(--color-gold-light); }
.contact-list i { color: var(--color-gold); margin-right: .75rem; }

.social { display: flex; gap: 1.5rem; font-size: 1.4rem; }

.copyright {
    margin: 1.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-line);
    text-align: center;
    font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
    .footer-col:not(:first-child) { border-left: 1px solid var(--color-line); padding-left: 2rem; }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(7, 6, 7, .95);
        padding: 1rem;
        margin-top: .5rem;
        border-radius: .75rem;
    }
    .hero {
        padding-top: 80px;
        min-height: 0;
    }
    .hero::before { top: 60px; left: 0; right: -30%; opacity: .55; }
    .hero-title { font-size: 2.3rem; margin-bottom: 1rem; }
    .eyebrow span { font-size: .8rem; letter-spacing: .4em; }
    .eyebrow::before { width: 30px; }
    .site-header { padding-top: .25rem; }
    .brand-eye { width: 48px; }
    .brand-text { font-size: 1.4rem; }
    .eyebrow { margin-bottom: .25rem; }
    .hero-lead { margin-bottom: 1.25rem; }
    .service-item:not(:last-child)::after { display: none; }
}

/* Narrower layout */
.container-xl { max-width: 1040px; }
body { font-size: .95rem; }

/* ---------- Magic cursor trail ---------- */
.cursor-trail {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* ---------- Generated service icons ---------- */
.service-icon {
    display: block;
    height: 52px;
    width: auto;
    margin: 0 auto .75rem;
}

/* ---------- Gallery ---------- */
.gallery { padding: 3rem 0 4rem; }

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: .75rem;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter .4s ease;
}
/* golden shine sweeping over the photo on hover */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(246, 207, 122, .35) 50%, transparent 65%);
    transform: translateX(-110%);
    transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.1); }
.gallery-item:hover::after { transform: translateX(110%); }
.gallery-item:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }

/* ---------- Magic lightbox ---------- */
.magic-lock { overflow: hidden; }

.magic-box {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.magic-box.is-open { display: flex; }

.magic-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(60, 40, 10, .92), rgba(0, 0, 0, .96));
}
.magic-figure {
    position: relative;
    margin: 0;
    max-width: min(92vw, 1100px);
    max-height: 86vh;
    box-shadow: 0 0 80px rgba(232, 176, 74, .35);
    border-radius: .5rem;
    overflow: hidden;
    cursor: zoom-out;
}
.magic-img { display: block; max-width: 100%; max-height: 86vh; }

.magic-btn {
    position: absolute;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    background: rgba(7, 6, 7, .6);
    color: var(--color-gold-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.magic-btn:hover { background: var(--color-gold); color: #1a1209; }
.magic-close { top: 1.25rem; right: 1.25rem; }
.magic-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.magic-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

.magic-spark {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, #fff6d6 0%, var(--color-gold-light) 45%, var(--color-gold) 100%);
    box-shadow: 0 0 10px 2px rgba(232, 176, 74, .9);
}

/* ---------- Contact ---------- */
.contact { padding: 4rem 0; border-top: 1px solid var(--color-line); }

.contact-intro { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.75rem; }

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.contact-info i {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.15rem;
}
.contact-info span { display: block; font-size: .8rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-info a:hover { color: var(--color-gold-light); }

.contact-social { display: flex; gap: 1.25rem; font-size: 1.3rem; margin-top: 1.75rem; }
.contact-social a:hover { color: var(--color-gold-light); }

.contact-form {
    padding: 1.75rem;
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .03);
}
.contact-form .form-label { font-weight: 500; margin-bottom: .35rem; }
.contact-form .form-label small { color: var(--color-muted); font-weight: 400; }

.contact-form .form-control {
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(232, 176, 74, .3);
    color: var(--color-text);
    border-radius: .6rem;
    padding: .65rem .9rem;
}
.contact-form .form-control:focus {
    background: rgba(0, 0, 0, .6);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 .2rem rgba(232, 176, 74, .2);
    color: var(--color-text);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form .form-control.is-invalid { border-color: #e5645a; background-image: none; }
.contact-form .form-control.is-valid { border-color: rgba(120, 200, 140, .7); background-image: none; }
.contact-form .invalid-feedback,
.field-error { color: #f08a82; font-size: .85rem; }

.char-counter { color: var(--color-muted); }
.char-counter.is-ok { color: #7ccf92; }

.form-status { display: inline-block; margin-left: 1rem; font-size: .95rem; vertical-align: middle; }
.form-status.success { color: #7ccf92; }
.form-status.error { color: #f08a82; }
.form-status.info { color: var(--color-muted); }

@media (max-width: 575.98px) {
    .form-status { display: block; margin: .75rem 0 0; }
}

/* ---------- About page ---------- */
.about { padding: 150px 0 4rem; }

.about-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.about-title em { font-weight: 500; color: var(--color-gold-light); }

.about-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--color-gold-light);
    border-left: 2px solid var(--color-gold);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.about p { color: var(--color-muted); line-height: 1.75; }

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.75rem;
    margin: 2rem 0 0;
}
.about-features li { display: flex; gap: .9rem; }
.about-features i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.1rem;
}
.about-features h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .15rem; }
.about-features p { font-size: .9rem; margin: 0; line-height: 1.5; }

/* framed photo with gold corner and glow */
.about-photo {
    position: relative;
    margin: 0;
    border-radius: 1rem;
    border: 1px solid var(--color-line);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #000;
    box-shadow: 0 0 70px rgba(232, 176, 74, .22);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 20%;
}
.about-photo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(7, 6, 7, .8));
    pointer-events: none;
}
.about-photo::before {
    content: "";
    position: absolute;
    inset: .75rem;
    border: 1px solid rgba(232, 176, 74, .45);
    border-radius: .65rem;
    z-index: 1;
    pointer-events: none;
}

.site-header .nav-link.active { color: var(--color-gold-light); }

@media (max-width: 991.98px) {
    .about { padding-top: 110px; }
    .about-photo { aspect-ratio: 4 / 4.2; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .about-features { grid-template-columns: 1fr; }
}

/* ---------- Gallery cards, captions, pager ---------- */
.gallery-card { margin: 0; }
.gallery-caption {
    margin-top: .6rem;
    padding: 0 .25rem;
    color: var(--color-muted);
    font-size: .92rem;
    line-height: 1.45;
}
.gallery-page { padding-top: 150px; }

.gallery-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 3rem;
}
.pager-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 .75rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text);
    font-weight: 500;
    transition: background .2s, color .2s, border-color .2s;
}
.pager-btn:hover:not(:disabled) { border-color: var(--color-gold); color: var(--color-gold-light); }
.pager-btn.is-active { background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold)); color: #1a1209; border-color: transparent; }
.pager-btn:disabled { opacity: .35; cursor: not-allowed; }

/* caption inside the enlarged photo */
.magic-figure { display: flex; flex-direction: column; background: #000; }
.magic-img { object-fit: contain; max-height: 78vh; }
.magic-caption {
    padding: 1rem 1.5rem 1.2rem;
    background: linear-gradient(180deg, rgba(7, 6, 7, .9), #000);
    border-top: 1px solid var(--color-line);
    color: var(--color-text);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
}
.magic-caption[hidden] { display: none; }

@media (max-width: 767.98px) {
    .gallery-page { padding-top: 110px; }
}

/* ---------- Reviews ---------- */
.reviews { padding: 1rem 0 4rem; }
.reviews-intro { text-align: center; color: var(--color-muted); margin: -1rem 0 2rem; }

.reviews-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: .6rem;
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: #0b0908;              /* widget is light-themed; the iframe is inverted below to match the dark site */
    box-shadow: 0 0 60px rgba(232, 176, 74, .15);
    overflow: hidden;
    max-height: 720px;
    transition: max-height .8s ease;
}
.reviews-box iframe {
    display: block;
    width: 100%;
    /* dark mode for a cross-origin widget: invert lightness, keep original hues */
    filter: invert(1) hue-rotate(180deg) brightness(.95) contrast(1.05);
    background: #fff;
}
.reviews-box.is-open { max-height: 1790px; }

.reviews-fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(11, 9, 8, 0), #0b0908 85%);
    pointer-events: none;
    transition: opacity .4s;
}
.reviews-box.is-open .reviews-fade { opacity: 0; }

#reviewsToggle i { transition: transform .3s; }
#reviewsToggle[aria-expanded="true"] i { transform: rotate(180deg); }

.reviews-source { margin: 1rem 0 0; font-size: .85rem; }
.reviews-source a { color: var(--color-muted); text-decoration: underline; text-underline-offset: 3px; }
.reviews-source a:hover { color: var(--color-gold-light); }

/* About: award + proof */
.about-award {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-gold);
    border-radius: .85rem;
    background: linear-gradient(90deg, rgba(232, 176, 74, .16), rgba(232, 176, 74, .03));
}
.about-award i { font-size: 2rem; color: var(--color-gold-light); }
.about-award strong { display: block; color: var(--color-gold-light); font-size: 1.1rem; }
.about-award span { color: var(--color-text); font-size: .95rem; }

.about-proof { margin-top: 1.75rem; }
.about-proof a { color: var(--color-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.about-proof a:hover { color: #fff; }

/* ---------- Hero golden dust ---------- */
.hero-dust {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;               /* above the photo, below the text */
}
.hero .container-xl { z-index: 2; }

/* Dust spans hero + services and fades out into the black page at the very bottom */
.hero-wrap { position: relative; overflow: hidden; }
.hero-wrap .hero-dust {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
.hero-wrap .services { position: relative; z-index: 2; }

/* ---------- About page: rich-text content (edited in admin with TinyMCE) ---------- */
.about-content h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.about-content h1 em, .about-content h2 em { font-weight: 500; color: var(--color-gold-light); }
.about-content h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 1rem; }
.about-content h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 .6rem; }
.about-content p { color: var(--color-muted); line-height: 1.75; }
.about-content strong { color: var(--color-text); }
.about-content a:not(.btn) { color: var(--color-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.about-content a:not(.btn):hover { color: #fff; }
.about-content p.about-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--color-gold-light);
    border-left: 2px solid var(--color-gold);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.about-content .about-callout {
    margin: 1.5rem 0;
    padding: .4rem 1.25rem;
    border: 1px solid var(--color-gold);
    border-radius: .85rem;
    background: linear-gradient(90deg, rgba(232, 176, 74, .16), rgba(232, 176, 74, .03));
}
.about-content .about-callout p { color: var(--color-text); margin: .75rem 0; }
.about-content ul, .about-content ol { padding-left: 0; list-style: none; margin: 1.5rem 0; }
.about-content ul li, .about-content ol li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--color-muted); line-height: 1.6; }
.about-content ul li::before {
    content: "\F26A";          /* bootstrap-icons: check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
}
.about-content ol { counter-reset: n; }
.about-content ol li { counter-increment: n; }
.about-content ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--color-gold); color: #1a1209; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.about-content blockquote { border-left: 2px solid var(--color-gold); padding-left: 1rem; font-style: italic; color: var(--color-muted); }
.about-content hr { border-color: var(--color-line); opacity: 1; margin: 2rem 0; }
.about-content .btn { margin: .25rem .5rem .25rem 0; }

/* Footer bottom bar: copyright left, credit right */
.site-footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    text-align: left;
    color: var(--color-muted);
}
.site-footer .made-by a { color: var(--color-gold-light); font-weight: 600; }
.site-footer .made-by a:hover { color: #fff; }
.site-footer .made-by .bi-heart-fill { color: #e5645a; margin-left: .15rem; font-size: .85em; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(1.05); } }
@media (max-width: 575.98px) { .site-footer .copyright { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .site-footer .made-by .bi-heart-fill { animation: none; } }

/* ---------- Services price list ---------- */
.services-list { padding: 0 0 4rem; }
.service-group { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.5rem 0 1.1rem; }
.service-group:first-child { margin-top: 0; }
.service-card {
    padding: 1.4rem 1.6rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .03);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service-card:hover { border-color: var(--color-gold); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(232, 176, 74, .12); }
.service-card-head { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.service-card-head h3 { flex: 1 1 260px; font-size: 1.15rem; font-weight: 600; margin: 0; }
.service-card-price { font-family: var(--font-display); font-size: 1.35rem; color: var(--color-gold-light); white-space: nowrap; }
.service-card-desc { color: var(--color-muted); line-height: 1.7; margin: .9rem 0 0; }
@media (max-width: 575.98px) { .service-card-head .btn { width: 100%; } }

/* ---------- Cookie consent ---------- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 10050;
    width: min(920px, calc(100vw - 2rem));
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.4rem;
    background: rgba(16, 13, 12, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--color-gold);
    border-radius: 1.1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(232, 176, 74, .12);
    transform: translate(-50%, 140%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cookie-icon { font-size: 1.9rem; color: var(--color-gold); line-height: 1; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; margin-bottom: .15rem; color: var(--color-text); }
.cookie-text p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--color-muted); }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-actions .btn { white-space: nowrap; }

.cookie-settings-link {
    background: none;
    border: 0;
    padding: 0;
    margin-left: .6rem;
    color: var(--color-gold-light);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.cookie-settings-link:hover { color: #fff; }

@media (max-width: 767.98px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; bottom: .75rem; gap: .85rem; }
    .cookie-icon { display: none; }
    .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: opacity .2s; } }

/* ---------- 404 page ---------- */
.not-found { padding: 170px 0 6rem; }
.not-found-code {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: 1;
    margin: 0;
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.not-found-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: .5rem 0 1rem; }
.not-found-text { color: var(--color-muted); max-width: 46ch; margin: 0 auto 2rem; }
@media (max-width: 767.98px) { .not-found { padding-top: 110px; } }

/* Footer contacts: icon and text stay on one row; long e-mails wrap inside their own column, never under the icon */
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-list li i { flex: 0 0 1.25rem; margin: .2rem 0 0; font-size: 1.1rem; text-align: center; }
.contact-list li a, .contact-list li span { min-width: 0; overflow-wrap: break-word; }

/* Social links in the contact section: icon + @nickname */
.contact-social-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.contact-social-list a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    max-width: 100%;
    padding: .55rem 1rem .55rem .8rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--color-text);
    transition: border-color .2s, background .2s, transform .2s;
}
.contact-social-list a i { font-size: 1.15rem; color: var(--color-gold); }
.contact-social-list a span { font-weight: 500; min-width: 0; overflow-wrap: break-word; }
.contact-social-list a:hover { border-color: var(--color-gold); background: rgba(232, 176, 74, .1); transform: translateY(-2px); color: #fff; }

/* Footer social links: icon + @nickname */
.social-list li { margin-bottom: .6rem; }
.social-list a { display: flex; align-items: center; gap: .75rem; color: var(--color-text); max-width: 100%; }
.social-list a i { color: var(--color-gold); font-size: 1.15rem; flex: 0 0 1.25rem; text-align: center; }
.social-list a span { flex: 0 1 auto; min-width: 0; overflow-wrap: break-word; white-space: normal; }
.social-list a:hover { color: var(--color-gold-light); }

/* ---------- Contact form: magic "sent" confirmation ---------- */
.contact-form { position: relative; }
.contact-form > .sent-spark, .sent-panel .sent-spark { position: absolute; }
.sent-spark {
    z-index: 5;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, #fff6d6 0%, var(--color-gold-light) 45%, var(--color-gold) 100%);
    box-shadow: 0 0 12px 3px rgba(232, 176, 74, .85);
}
.sent-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--color-gold);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 50% 38%, rgba(232, 176, 74, .22), transparent 62%),
        rgba(255, 255, 255, .03);
    box-shadow: 0 0 60px rgba(232, 176, 74, .18), inset 0 0 40px rgba(232, 176, 74, .06);
    animation: sentIn .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes sentIn { from { opacity: 0; transform: scale(.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.sent-badge { position: relative; width: 92px; height: 92px; margin-bottom: 1.25rem; }
.sent-badge svg { position: relative; z-index: 2; filter: drop-shadow(0 0 14px rgba(232, 176, 74, .7)); }
.sent-circle {
    stroke: var(--color-gold);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    transform-origin: center;
    transform: rotate(-90deg);
    animation: sentDraw .8s .15s cubic-bezier(.6, .1, .3, 1) forwards;
}
.sent-tick {
    stroke: var(--color-gold-light);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: sentDraw .5s .85s ease-out forwards;
}
@keyframes sentDraw { to { stroke-dashoffset: 0; } }

.sent-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    opacity: 0;
    animation: sentRing 1.8s .9s ease-out infinite;
}
.sent-ring-2 { animation-delay: 1.5s; }
@keyframes sentRing { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }

.sent-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    margin: 0 0 .5rem;
    background: linear-gradient(100deg, #fff 20%, var(--color-gold-light) 45%, #fff 70%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sentShine 2.6s 1s ease-in-out infinite;
}
@keyframes sentShine { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.sent-text { margin: 0; color: var(--color-muted); max-width: 34ch; opacity: 0; animation: sentFade .6s 1.1s ease-out forwards; }
@keyframes sentFade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .sent-panel, .sent-circle, .sent-tick, .sent-ring, .sent-title, .sent-text { animation: none; }
    .sent-circle, .sent-tick { stroke-dashoffset: 0; }
    .sent-ring { display: none; }
    .sent-text { opacity: 1; }
    .sent-title { color: var(--color-gold-light); background: none; }
}

/* ---------- Contact form: magic wand while sending ---------- */
.sent-panel.is-sending { background: radial-gradient(circle at 50% 40%, rgba(232, 176, 74, .16), transparent 60%), rgba(255, 255, 255, .03); }
.wand-scene { width: 150px; height: 150px; margin-bottom: .75rem; position: relative; }
.wand { overflow: visible; filter: drop-shadow(0 0 14px rgba(232, 176, 74, .55)); }
.wand-arm { transform-origin: 30px 112px; animation: wandWave 1.05s ease-in-out infinite alternate; }
@keyframes wandWave { from { transform: rotate(-24deg); } to { transform: rotate(20deg); } }
.wand-stick { stroke: #3a2d22; stroke-width: 7; stroke-linecap: round; }
.wand-band  { stroke: var(--color-gold); stroke-width: 7; stroke-linecap: round; }
.wand-tip { fill: #fff; filter: drop-shadow(0 0 5px #ffe39a) drop-shadow(0 0 10px rgba(232, 176, 74, .9)); }
.sent-panel.is-sending .sent-title { animation: sentShine 1.6s ease-in-out infinite; }
.sent-text-now { opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) {
    .wand-arm { animation: none; }
    .wand-arm { transform: rotate(-4deg); }
}

/* Consent checkbox under the contact form */
.consent-check { display: flex; align-items: flex-start; gap: .65rem; padding-left: 0; margin: 0; flex-wrap: wrap; }
.consent-check .form-check-input {
    flex: 0 0 1.25rem;
    width: 1.25rem; height: 1.25rem;
    margin: .15rem 0 0;
    background-color: rgba(0, 0, 0, .45);
    border: 1px solid rgba(232, 176, 74, .5);
    cursor: pointer;
}
.consent-check .form-check-input:checked { background-color: var(--color-gold); border-color: var(--color-gold); }
.consent-check .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(232, 176, 74, .25); border-color: var(--color-gold); }
.consent-check .form-check-input.is-invalid { border-color: #e5645a; }
.consent-check .form-check-label { flex: 1; cursor: pointer; color: var(--color-text); }
.consent-check .invalid-feedback { flex-basis: 100%; margin-left: 1.9rem; color: #f08a82; }

/* Consent checkbox under the contact form */
.consent-check { display: flex; align-items: flex-start; gap: .65rem; padding-left: 0; margin: 0; flex-wrap: wrap; }
.consent-check .form-check-input {
    flex: 0 0 1.25rem;
    width: 1.25rem; height: 1.25rem;
    margin: .15rem 0 0;
    background-color: rgba(0, 0, 0, .45);
    border: 1px solid rgba(232, 176, 74, .5);
    cursor: pointer;
}
.consent-check .form-check-input:checked { background-color: var(--color-gold); border-color: var(--color-gold); }
.consent-check .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(232, 176, 74, .25); border-color: var(--color-gold); }
.consent-check .form-check-input.is-invalid { border-color: #e5645a; }
.consent-check .form-check-label { flex: 1; cursor: pointer; color: var(--color-text); }
.consent-check .invalid-feedback { flex-basis: 100%; margin-left: 1.9rem; color: #f08a82; }

/* Browser autofill (Chrome/Edge/Safari/Firefox) must not repaint the fields light blue/yellow:
   keep the form's own dark background and light text. */
.contact-form { color-scheme: dark; }
.contact-form .form-control:-webkit-autofill,
.contact-form .form-control:-webkit-autofill:hover,
.contact-form .form-control:-webkit-autofill:focus,
.contact-form .form-control:-webkit-autofill:active {
    -webkit-text-fill-color: var(--color-text);
    caret-color: var(--color-text);
    -webkit-box-shadow: 0 0 0 1000px #070707 inset !important;
    box-shadow: 0 0 0 1000px #070707 inset !important;
    transition: background-color 99999s ease-out 0s;     /* stops Chrome's own colour from showing through */
}
.contact-form .form-control:autofill {
    -webkit-text-fill-color: var(--color-text);
    box-shadow: 0 0 0 1000px #070707 inset !important;
    background-color: #070707 !important;
    color: var(--color-text) !important;
}

/* ---------- Gallery: YouTube videos ---------- */
.gallery-item.is-video img { filter: brightness(.85); }
.gallery-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(7, 6, 7, .55);
    border: 2px solid var(--color-gold);
    color: var(--color-gold-light);
    font-size: 2.4rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 30px rgba(232, 176, 74, .45);
    transition: transform .25s, background .25s, box-shadow .25s;
    z-index: 2;
}
.gallery-play i { margin-left: .15rem; }                     /* optical centring of the triangle */
.gallery-play::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    animation: playPulse 2.2s ease-out infinite;
}
@keyframes playPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.gallery-item.is-video:hover .gallery-play { transform: scale(1.12); background: rgba(232, 176, 74, .9); color: #1a1209; box-shadow: 0 0 45px rgba(232, 176, 74, .8); }

/* the player inside the lightbox */
.magic-video {
    position: relative;
    width: min(92vw, calc(76vh * 16 / 9));
    aspect-ratio: 16 / 9;
    background: #000;
}
.magic-video[hidden] { display: none; }
.magic-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { .gallery-play::after { animation: none; } }
