/* =========================================================
   INNER PAGES  (loaded after main.css)
   ========================================================= */

/* ---- no-JS safety: never leave content hidden ---- */
html:not(.js) #pre { display: none !important; }
html:not(.js) .rv, html:not(.js) .hr, html:not(.js) .sw > span { opacity: 1 !important; transform: none !important; }
html:not(.js) .wipe::after { display: none; }

/* WP admin bar offset for the fixed header */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }

/* ---- image curtain reveal (replaces clip-path wipe) ---- */
.wipe::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: var(--k);
    transform-origin: right center;
    transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
    transition-delay: inherit;
    pointer-events: none;
}
.wipe.in::after { transform: scaleX(0); }
.wipe img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: inherit; }
.wipe.in img { transform: scale(1); }

/* ---- menu tweaks ---- */
.dropdown-item.active, .dropdown-item:active { background: rgba(1, 152, 250, .12); color: #fff; }
.hdr.sc .dropdown-item.active { color: #000; }

/* =========================================================
   PAGE BANNER (small height, title + breadcrumb)
   ========================================================= */
.pbanner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(300px, 40vh, 420px);
    padding: 150px 0 52px;
    overflow: hidden;
    background: var(--k);
}
.pb-bg, .pb-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pb-bg img { object-fit: cover; animation: pbzoom 14s ease-out both; }
@keyframes pbzoom { from { transform: scale(1.16); } to { transform: scale(1.02); } }
.pb-shade {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 10, 10, .85), rgba(11, 10, 10, .5) 60%, rgba(11, 10, 10, .3)),
        linear-gradient(0deg, var(--k), transparent 60%);
}
.pbanner .sqs, .pbanner .ghost { z-index: 2; }
.pb-in { position: relative; z-index: 5; }
.pbanner h1 {
    margin: 0 0 16px;
    font-weight: 800;
    line-height: 1.1;
    font-size:26px;

}
.pbanner .eyebrow { margin-bottom: 12px; }
.pbanner.go .sw > span { transform: none; }
.pbanner.go .hr { opacity: 1; transform: none; }
.pbanner .hr { transition-delay: .5s; }

.crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: .88rem; font-weight: 600; }
.crumbs li { color: #cfcfcf; }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: var(--b); }
.crumbs a { color: #fff; transition: color .3s; }
.crumbs a:hover { color: var(--b); }
.crumbs li[aria-current] { color: var(--b); }

/* =========================================================
   EDITOR CONTENT (.entry)
   ========================================================= */
.entry > *:first-child { margin-top: 0; }
.entry > p:first-of-type { color: #d6d6d6; font-size: 1.1rem; }
.entry p { margin-bottom: 1.2em; }
.entry h2, .entry h3, .entry h4 { margin: 1.8em 0 .6em; }
.entry h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.entry h3 { font-size: 1.35rem; }
.entry h4 { font-size: 1.1rem; }
.entry strong { color: #fff; }
.entry a { color: var(--b); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: #fff; }
.entry ul, .entry ol { margin: 0 0 1.5em; padding: 0; list-style: none; }
.entry ul li { position: relative; margin-bottom: .6em; padding-left: 30px; }
.entry ul li::before { content: ""; position: absolute; top: .62em; left: 0; width: 10px; height: 10px; background: var(--b); }
.entry ol { counter-reset: o; }
.entry ol li { position: relative; margin-bottom: .8em; padding-left: 46px; counter-increment: o; }
.entry ol li::before {
    content: counter(o); position: absolute; top: -.15em; left: 0;
    display: grid; place-items: center; width: 32px; height: 32px;
    border: 1px solid var(--b); color: #fff; font: 700 .85rem var(--hf);
}
.entry blockquote {
    margin: 1.8em 0; padding: 20px 26px; border-left: 4px solid var(--b);
    background: rgba(1, 152, 250, .08); color: #fff; font-family: var(--hf); font-size: 1.15rem;
}
.entry blockquote p { margin: 0; }
.entry img, .entry figure { max-width: 100%; height: auto; }
.entry figure { margin: 1.8em 0; }
.entry figcaption { margin-top: 8px; color: #8d8d8d; font-size: .85rem; }
.entry table { width: 100%; margin: 1.6em 0; border-collapse: collapse; }
.entry th, .entry td { padding: 12px 14px; border: 1px solid var(--line); }
.entry th { background: var(--k3); color: #fff; }

/* =========================================================
   SPLIT LAYOUT (content left / image right)
   ========================================================= */
@media (min-width: 992px) { .split-side.stick { position: sticky; top: 110px; } }
.split-side .wel-img { padding-left: 30px; }
.sidecard { margin-top: 34px; padding: 28px; border: 1px solid var(--line); background: var(--k3); }
.sidecard h3 { margin-bottom: 14px; font-size: 1.1rem; }
.sidecard ul { margin: 0 0 22px; padding: 0; list-style: none; }
.sidecard li a {
    display: flex; align-items: center; gap: 12px; padding: 11px 0;
    border-bottom: 1px solid var(--line); color: #ddd; font-size: .93rem; transition: .3s;
}
.sidecard li a > i:first-child { width: 18px; color: var(--b); text-align: center; }
.sidecard li a span { flex: 1; }
.sidecard li a .go-i { color: var(--b); font-size: .75rem; opacity: 0; transform: translateX(-6px); transition: .3s; }
.sidecard li a:hover { padding-left: 6px; color: #fff; }
.sidecard li a:hover .go-i { opacity: 1; transform: none; }
.sidecall {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    background: var(--b); color: #fff; font: 800 1.25rem var(--hf); transition: .3s;
}
.sidecall:hover { color: #fff; background: #0580d0; box-shadow: 0 0 40px rgba(1, 152, 250, .5); }
.sidecall > i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.sidecall small { display: block; font: 500 .75rem var(--hf); opacity: .9; }
.pb-stats { padding: clamp(50px, 7vw, 90px) 0; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.svc {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    border: 1px solid var(--line); background: var(--k3); transform-style: preserve-3d;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc:hover { border-color: rgba(1, 152, 250, .5); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(1, 152, 250, .12); }
.svc-img { position: relative; display: block; aspect-ratio: 4 / 3; }
.svc-img img { transition: transform 1s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.08); }
.svc-ic {
    position: absolute; bottom: 0; left: 20px; z-index: 2; display: grid; place-items: center;
    width: 54px; height: 54px; background: var(--b); color: #fff; font-size: 1.2rem; transition: .4s;
}
.svc:hover .svc-ic { transform: translateY(-6px) rotate(-6deg); }
.svc-b { display: flex; flex: 1; flex-direction: column; padding: 34px 24px 26px; }
.svc-b h3 { margin-bottom: 10px; font-size: 1.15rem; }
.svc-b h3 a:hover { color: var(--b); }
.svc-b p {
    display: -webkit-box; margin-bottom: 18px; overflow: hidden; font-size: .93rem; line-height: 1.65;
    -webkit-line-clamp: 4; -webkit-box-orient: vertical;
}
.svc-b .go { margin-top: auto; }
.pager .nav-links { display: flex; justify-content: center; gap: 8px; }
.pager .page-numbers { padding: 8px 16px; border: 1px solid var(--line); color: #fff; }
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--b); border-color: var(--b); }

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.ba {
    --pos: 50%;
    position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
    border: 1px solid var(--line); background: #000; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
    position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; margin-left: -1.5px;
    background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .5); pointer-events: none;
}
.ba-handle i {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid #fff; border-radius: 50%;
    background: var(--b); color: #fff; box-shadow: 0 0 30px rgba(1, 152, 250, .6);
}
.ba:focus-within .ba-handle i { outline: 3px solid #fff; outline-offset: 3px; }
.ba-tag {
    position: absolute; top: 16px; z-index: 3; padding: 6px 14px; background: rgba(11, 10, 10, .75);
    color: #fff; font: 700 .72rem var(--hf); letter-spacing: .16em; text-transform: uppercase;
    backdrop-filter: blur(6px); pointer-events: none;
}
.ba-tag.bt { left: 16px; border-left: 3px solid #fff; }
.ba-tag.at { right: 16px; border-left: 3px solid var(--b); }
.ba figcaption {
    position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; padding: 38px 18px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; font: 700 1rem var(--hf); pointer-events: none;
}
.ba-range {
    position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0;
    background: transparent; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none;
}
.ba-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 2000px; }
.ba-range::-moz-range-track { height: 100%; background: transparent; }
.ba-range::-moz-range-thumb { width: 44px; height: 2000px; border: 0; background: transparent; }

/* =========================================================
   FORMS
   ========================================================= */
.formcard {
    position: relative; padding: clamp(26px, 4vw, 52px); border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); backdrop-filter: blur(10px);
}
.formcard::before { content: ""; position: absolute; top: 0; left: 0; width: 90px; height: 3px; background: var(--b); box-shadow: 0 0 14px var(--b); }
.fld label { display: block; margin-bottom: 8px; color: #fff; font: 600 .85rem var(--hf); letter-spacing: .03em; }
.fld input, .fld select, .fld textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0;
    background: rgba(0, 0, 0, .35); color: #fff; font: inherit; font-size: .95rem;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
    outline: 0; border-color: var(--b); background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 3px rgba(1, 152, 250, .2);
}
.fld select option { background: #131212; color: #fff; }
.fld input[type=date] { color-scheme: dark; }
.fld ::placeholder { color: #777; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; width: 0; height: 0; opacity: 0; }
.chip span {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--line);
    background: rgba(0, 0, 0, .3); color: #d6d6d6; font: 600 .88rem var(--hf); letter-spacing: 0; transition: .3s;
}
.chip span i { color: var(--b); transition: .3s; }
.chip:hover span { border-color: rgba(1, 152, 250, .6); color: #fff; }
.chip input:checked + span { border-color: var(--b); background: var(--b); color: #fff; box-shadow: 0 0 24px rgba(1, 152, 250, .35); }
.chip input:checked + span i { color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fnote { margin: 0 0 22px; padding: 15px 20px; border-left: 4px solid var(--b); background: rgba(1, 152, 250, .1); color: #fff; }
.fnote[hidden] { display: none; }
.fnote.ok { border-color: #2ecc71; background: rgba(46, 204, 113, .1); }
.fnote.ok i { color: #2ecc71; }
.fnote.err { border-color: #ff5a5f; background: rgba(255, 90, 95, .1); }
.fnote.err i { color: #ff5a5f; }
.fnote i { margin-right: 8px; }
.rsform button[type=submit] { cursor: pointer; }
.rsform.busy button { opacity: .6; pointer-events: none; }

/* =========================================================
   CONTACT
   ========================================================= */
.mapwrap { position: relative; height: clamp(300px, 40vw, 460px); border-bottom: 1px solid var(--line); background: var(--k2); }
.mapwrap iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) hue-rotate(180deg); transition: filter .6s; }
.mapwrap:hover iframe { filter: none; }
.cinfo { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cinfo li {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line);
    background: var(--k3); color: #fff; transition: .4s var(--ease);
}
.cinfo li:hover { border-color: rgba(1, 152, 250, .5); transform: translateX(6px); }
.ci-ic { display: grid; flex: 0 0 54px; place-items: center; height: 54px; background: rgba(1, 152, 250, .12); color: var(--b); font-size: 1.2rem; transition: .4s; }
.cinfo li:hover .ci-ic { background: var(--b); color: #fff; }
.cinfo small { display: block; color: var(--b); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cinfo a:hover { color: var(--b); }

/* ---- reviews page cards ---- */
.rc-card { height: 100%; max-width: none; padding: 34px; transition: transform .35s var(--ease), border-color .35s; }
.rc-card:hover { border-color: rgba(1, 152, 250, .5); }
.rc-card blockquote { font-size: 1.02rem; }

@media (prefers-reduced-motion: reduce) {
    .wipe::after { display: none; }
    .wipe img, .pb-bg img { transform: none; animation: none; }
}
/* ---- gallery page: 4 columns ---- */
.mas.mas-4 { columns: 4 200px; column-gap: 16px; }
@media (max-width: 991px) { .mas.mas-4 { columns: 3; } }
@media (max-width: 575px) { .mas.mas-4 { columns: 2; column-gap: 10px; } }
.fld select{padding: 17px 16px !important;}
/* ---- before / after simple thumbnails ---- */
.ba-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); }
.ba-thumb .ba-tag { top: 12px; right: auto; left: 12px; }
.ba-thumb.gi { margin-bottom: 0; }