/* =========================================================
   Modern homepage — keep brand colors (#FFC926 / #19252F)
   ========================================================= */

:root {
    --yk-gold: #FFC926;
    --yk-gold-deep: #e0ad14;
    --yk-ink: #19252F;
    --yk-ink-soft: #31495E;
    --yk-paper: #ffffff;
    --yk-mute: #6b7580;
    --yk-line: rgba(25, 37, 47, 0.08);
}

/* Soften dated brick backdrop on home */
body.home {
    background: linear-gradient(180deg, #f7f8fa 0%, #eef0f3 100%);
}

body.home section#inner {
    box-shadow: none;
}

body.home #header {
    box-shadow: 0 1px 0 var(--yk-line);
    border-bottom: none;
}

body.home.all-done #header .mid-head {
    border-bottom: 3px solid var(--yk-gold);
}

/* Align home blocks to the same Bootstrap .container width */
body.home #home-top-plugin > .container.main-container,
body.home .home-featured-cats > .container,
body.home .container.home-body,
body.home article.post > .container {
    width: auto;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

body.home #home-top-plugin {
    margin-top: 0;
}

body.home #home-top-plugin > .container.main-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

body.home #home-top-plugin .block {
    margin: 0;
}

body.home #home-top-plugin .block .inner {
    padding: 0;
}

/* =========================================================
   Cinematic Hero
   ========================================================= */
.home-hero {
    position: relative;
    background: var(--yk-ink);
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-hero.is-ready {
    opacity: 1;
    transform: none;
}

.home-hero__stage {
    position: relative;
    min-height: 320px;
    isolation: isolate;
}

.home-hero .tp-leftarrow,
.home-hero .tp-rightarrow {
    z-index: 25 !important;
}

.home-hero__slider,
.home-hero .slide-holder {
    width: 100% !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: hidden;
}

.home-hero #jqslider,
.home-hero .flexslider,
.home-hero .slides,
.home-hero .slides > li {
    width: 100%;
}

.home-hero .slides > li img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.04);
    transition: transform 7s ease;
    filter: saturate(1.05) contrast(1.04);
}

.home-hero.is-ready .slides > li.current-sr-slide-visible img,
.home-hero.is-ready .slides > li.active img {
    transform: scale(1);
}

/* Glass glare sweep — kept behind copy */
.home-hero__glare {
    position: absolute;
    inset: -20% -40%;
    z-index: 20;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 38%,
        rgba(255, 255, 255, 0.05) 48%,
        rgba(255, 201, 38, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 52%,
        transparent 62%
    );
    animation: ykGlare 11s ease-in-out infinite;
}

.home-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 18;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 22, 28, 0.88) 0%, rgba(15, 22, 28, 0.62) 34%, rgba(15, 22, 28, 0.22) 58%, rgba(15, 22, 28, 0.45) 100%),
        linear-gradient(180deg, rgba(15, 22, 28, 0.25) 0%, transparent 35%, rgba(15, 22, 28, 0.72) 100%);
}

.home-hero__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 28px 22px 54px;
    color: #fff;
    max-width: 640px;
}

.home-hero__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12px -28px -8px -12px;
    background: radial-gradient(ellipse at 20% 70%, rgba(15, 22, 28, 0.55) 0%, rgba(15, 22, 28, 0.2) 55%, transparent 75%);
    pointer-events: none;
}

.home-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--yk-gold);
    font-weight: 600;
}

.home-hero__brand {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.home-hero__brand span {
    font-weight: 400;
    color: #fff;
}

.home-hero__tagline {
    margin: 0 0 18px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 22em;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.home-hero__btn--gold {
    background: var(--yk-gold);
    color: var(--yk-ink) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.home-hero__btn--gold:hover,
.home-hero__btn--gold:focus {
    background: #fff;
    color: var(--yk-ink) !important;
    transform: translateY(-1px);
}

.home-hero__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.home-hero__btn--ghost:hover,
.home-hero__btn--ghost:focus {
    border-color: var(--yk-gold);
    color: var(--yk-gold) !important;
}

.home-hero__rail {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 16px;
    z-index: 31;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.home-hero__counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    min-width: 64px;
}

.home-hero__counter em {
    font-style: normal;
    color: var(--yk-gold);
    font-weight: 700;
}

.home-hero__progress {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.home-hero__progress i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--yk-gold-deep), var(--yk-gold));
}

.home-hero__progress i.is-running {
    animation-name: ykProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

/* Revolution chrome polish */
.home-hero .tp-leftarrow,
.home-hero .tp-rightarrow {
    opacity: 0.55 !important;
    transition: opacity 0.25s ease !important;
}

.home-hero:hover .tp-leftarrow,
.home-hero:hover .tp-rightarrow {
    opacity: 1 !important;
}

@keyframes ykGlare {
    0%, 100% { transform: translateX(-18%) rotate(0.001deg); }
    50% { transform: translateX(18%) rotate(0.001deg); }
}

@keyframes ykProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* ---------- Featured category panels ---------- */
.home-featured-cats {
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-featured-cats__inner {
    background: var(--yk-paper);
    padding: 28px 15px 24px;
}

.home-featured-cats__head {
    text-align: center;
    margin-bottom: 22px;
}

.home-featured-cats__eyebrow {
    margin: 0 0 6px;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--yk-gold-deep);
    font-weight: 600;
}

.home-featured-cats__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.15;
    color: var(--yk-ink);
    font-weight: 600;
}

.home-featured-cats__lead {
    margin: 0;
    color: var(--yk-mute);
    font-size: 1rem;
    line-height: 1.45;
}

.home-featured-cats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-cat-tile {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 220px;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--yk-ink);
}

.home-cat-tile__media {
    position: absolute;
    inset: 0;
}

.home-cat-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.55s ease;
}

.home-cat-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(25, 37, 47, 0.15) 0%,
        rgba(25, 37, 47, 0.35) 40%,
        rgba(25, 37, 47, 0.88) 100%
    );
}

.home-cat-tile__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 20px;
    z-index: 2;
}

.home-cat-tile__name {
    display: block;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 4px;
}

.home-cat-tile__sub {
    display: block;
    font-size: 0.92rem;
    opacity: 0.88;
    margin-bottom: 12px;
}

.home-cat-tile__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
}

.home-cat-tile__cta {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid rgba(255, 201, 38, 0.85);
    color: var(--yk-gold);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.home-cat-tile:hover .home-cat-tile__media img,
.home-cat-tile:focus .home-cat-tile__media img {
    transform: scale(1.08);
}

.home-cat-tile:hover .home-cat-tile__cta,
.home-cat-tile:focus .home-cat-tile__cta {
    background: var(--yk-gold);
    color: var(--yk-ink);
}

.home-cat-tile:focus {
    outline: 2px solid var(--yk-gold);
    outline-offset: 2px;
}

/* Home intro content */
body.home .container.home-body {
    background: var(--yk-paper);
    padding-top: 36px;
    margin-bottom: 0;
    box-shadow: none;
}

body.home .home-body .block-head.center {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.25;
}

body.home .home-service-standards {
    margin-top: 28px;
    padding-top: 28px;
}

body.home .box-2-cont {
    height: auto;
    min-height: 0;
    border: none;
    border-top: 3px solid var(--yk-gold);
    background: #fafbfc;
    padding: 28px 18px 22px;
}

body.home .box-2-cont > .fa {
    margin-top: 0;
    margin-bottom: 16px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 28px;
    border: none;
    box-shadow: none;
    background: var(--yk-ink);
    color: var(--yk-gold);
}

body.home .box-2-cont:hover .fa {
    background: var(--yk-gold);
    color: var(--yk-ink);
}

/* SEO / long-form blocks pushed down — quieter visual weight */
body.home article.post:nth-of-type(n + 2) {
    margin-top: 8px;
}

body.home article.post:nth-of-type(n + 2) > .home-header {
    opacity: 0.85;
}

body.home article.post:nth-of-type(n + 2) > .home-header h2 {
    font-size: 1.25rem;
    border-top: 1px solid var(--yk-line);
    padding-top: 28px;
}

body.home article.post:nth-of-type(n + 2) .home-body {
    padding-top: 18px;
    padding-bottom: 28px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.75;
}

body.home article.post:nth-of-type(n + 2) .home-body img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .home-hero__stage {
        min-height: 520px;
    }

    .home-hero__copy {
        left: 36px;
        bottom: 28px;
        padding: 0 0 42px;
        max-width: 560px;
    }

    .home-hero__rail {
        left: 36px;
        right: 36px;
        bottom: 22px;
    }

    .home-featured-cats__inner {
        padding: 40px 15px 32px;
    }

    .home-featured-cats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .home-cat-tile {
        min-height: 340px;
    }
}

@media (min-width: 992px) {
    .home-hero__copy {
        left: 48px;
    }

    .home-hero__rail {
        left: 48px;
        right: 48px;
    }

    .home-cat-tile {
        min-height: 380px;
    }
}

/* Mobile sticky call bar — more compact */
@media only screen and (max-width: 767px) {
    .home-hero__copy {
        padding: 20px 16px 48px;
    }

    .home-hero__brand {
        font-size: 1.85rem;
    }

    .home-hero__actions {
        width: 100%;
    }

    .home-hero__btn {
        flex: 1 1 auto;
    }

    .home-featured-cats__inner {
        padding: 20px 15px 16px;
    }

    .home-cat-tile {
        min-height: 200px;
    }

    body.home #topmu {
        padding: 10px 12px 8px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    }

    body.home #topmu .tapcall {
        margin-bottom: 0;
    }

    body.home #topmu .tapcall > a.tel {
        font-size: 1.45em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--yk-ink);
    }

    body.home #topmu .tapcall > a.tel img {
        height: 36px;
    }

    body.home #topmu .tapcall > a.tel .number_img {
        height: auto;
        line-height: 1;
        margin: 0;
    }

    body.home #topmu .tapcall a.tel > span.clickme {
        position: static;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--yk-gold-deep);
        font-weight: 700;
    }

    body.home #footer {
        padding-bottom: 72px;
    }

    body.home .container.home-body,
    body.home article.post .home-body,
    body.home article.post > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        font-size: 17px;
        line-height: 1.75;
    }

    body.home article.post .home-header h2 {
        font-size: 1.35rem !important;
        line-height: 1.3;
        padding: 0 2px;
    }

    body.home article.post:nth-of-type(n + 2) .home-body {
        font-size: 17px;
    }

    body.home .home-body p {
        font-size: 1.06em;
        line-height: 1.8;
    }

    body.home .logo {
        max-width: 110px;
        margin: 14px 16px 8px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero,
    .home-hero__glare,
    .home-hero__progress i,
    .home-cat-tile__media img,
    .home-hero .slides > li img {
        animation: none !important;
        transition: none !important;
    }
}
