:root {
    --hs-burgundy: #64283f;
    --hs-gold: #b7894f;
    --hs-ink: #211916;
    --hs-ivory: #f7f1ea;
    --hs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Kill empty Archives / Categories dead space */
.widget_archive,
.widget_categories,
.widget_recent_entries,
.widget_recent_comments,
.widget_meta,
.widget_tag_cloud,
.widget_calendar,
#sidebar .et_pb_widget:empty,
#sidebar .widget:empty,
.et_pb_widget.widget_archive,
.et_pb_widget.widget_categories {
    display: none !important;
}

#sidebar:not(:has(*:not(script):not(style))),
#sidebar .et_pb_widget_area:empty {
    display: none !important;
}

body.archive #sidebar,
body.blog #sidebar,
body.woocommerce #sidebar,
body.woocommerce-page #sidebar {
    min-height: 0 !important;
}

/* When sidebar only had archives, collapse layout */
@media (min-width: 981px) {
    body.woocommerce #sidebar:empty,
    body.archive #sidebar:empty {
        display: none !important;
    }
}

/* Floating contact dock */
.hera-dock {
    position: fixed;
    z-index: 99985;
    right: 18px;
    bottom: 86px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hera-dock__toggle {
    position: relative;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 14px 34px rgba(18, 140, 126, .28);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hera-dock__pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, .45);
    animation: heraDockPulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes heraDockPulse {
    0% { transform: scale(.96); opacity: .9; }
    100% { transform: scale(1.18); opacity: 0; }
}

.hera-dock__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.hera-dock__panel {
    width: min(320px, calc(100vw - 28px));
    padding: 18px;
    border: 1px solid rgba(183, 137, 79, .28);
    background:
        radial-gradient(circle at 100% 0%, rgba(183, 137, 79, .14), transparent 45%),
        #fffdf9;
    box-shadow: 0 24px 50px rgba(33, 25, 22, .22);
    color: var(--hs-ink);
}

.hera-dock__panel[hidden] {
    display: none !important;
}

.hera-dock__title {
    margin: 0 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.hera-dock__hint {
    margin: 0 0 14px;
    color: #716760;
    font-size: 12px;
}

.hera-dock__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hera-dock__card {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(33, 25, 22, .1);
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .25s var(--hs-ease), border-color .25s ease;
}

.hera-dock__card:hover {
    transform: translateY(-2px);
    border-color: rgba(183, 137, 79, .5);
}

.hera-dock__card strong {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hera-dock__card span {
    color: #716760;
    font-size: 12px;
}

.hera-dock__card--orange {
    border-top: 2px solid #ff7900;
}

.hera-dock__card--mtn {
    border-top: 2px solid #ffcc00;
}

.hera-dock__card--call {
    border-top: 2px solid var(--hs-burgundy);
}

.hera-dock__cta {
    display: flex;
    margin-top: 12px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: linear-gradient(135deg, #c89a57, #8d6430);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Credit signature */
.hera-credit {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 18px;
    background: #1d1411;
    color: rgba(255, 248, 239, .72);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hera-credit a {
    color: #fff8ef !important;
    text-decoration: none !important;
}

.hera-credit strong {
    color: var(--hs-gold);
    font-weight: 700;
}

#footer-info {
    display: none !important;
}

/* Footer inspiration slider */
.hera-footer-slider {
    position: relative;
    min-height: 280px;
    color: #fff8ef;
    background: #1d1411;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 280px;
}

.hera-footer-slider__track,
.hera-footer-slider__slide {
    position: absolute;
    inset: 0;
}

.hera-footer-slider__slide {
    display: grid;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s ease, visibility .4s ease;
}

.hera-footer-slider__slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.hera-footer-slider__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hera-image);
    background-position: center 28%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hera-footer-slider__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(22, 14, 12, .82) 0%, rgba(22, 14, 12, .45) 48%, rgba(22, 14, 12, .2) 100%);
}

.hera-footer-slider__copy {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 56px;
    text-align: center;
}

.hera-footer-slider__copy p {
    margin: 0 0 12px;
    color: rgba(255, 248, 239, .7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hera-footer-slider__copy h2 {
    margin: 0;
    color: #fff8ef;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.15;
}

.hera-footer-slider__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 16px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hera-footer-slider__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 248, 239, .35);
    cursor: pointer;
}

.hera-footer-slider__dots button.is-active {
    background: #b7894f;
    transform: scale(1.2);
}

@media (max-width: 700px) {
    .hera-footer-slider {
        min-height: 240px;
    }
}

/* CTA strip before footer */
.hera-cta-strip {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding: clamp(36px, 5vw, 56px) 20px;
    color: #fff8ef;
    background: #291b17;
    overflow: hidden;
}

.hera-cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(115deg, rgba(41, 27, 23, .90) 0%, rgba(100, 40, 63, .78) 55%, rgba(41, 27, 23, .88) 100%),
        url("../images/cta-lux.webp");
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hera-cta-strip__inner {
    display: grid;
    width: min(1100px, 100%);
    margin: 0 auto;
    gap: 22px;
    grid-template-columns: 1.3fr .9fr;
    align-items: center;
}

.hera-cta-strip__kicker {
    margin: 0 0 10px;
    color: rgba(255, 248, 239, .7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hera-cta-strip h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: -.02em;
}

.hera-cta-strip p {
    margin: 0;
    color: rgba(255, 248, 239, .78);
    font-size: 14px;
    line-height: 1.6;
}

.hera-cta-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.hera-cta-strip__btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.hera-cta-strip__btn--gold {
    color: #211916 !important;
    background: linear-gradient(135deg, #e0b56d, #b7894f);
}

.hera-cta-strip__btn--dark {
    color: #fff !important;
    background: #128c7e;
}

.hera-cta-strip__btn--ghost {
    color: #fff !important;
    border: 1px solid rgba(255, 248, 239, .35);
}

.hera-loop-cta {
    border-radius: 0 !important;
}

/* Shift experience FAB up a bit so both coexist */
.hera-xp-fab {
    bottom: 18px !important;
    right: 18px !important;
}

@media (max-width: 900px) {
    .hera-cta-strip__inner {
        grid-template-columns: 1fr;
    }

    .hera-cta-strip__actions {
        justify-content: flex-start;
    }

    .hera-dock {
        bottom: 78px;
        right: 14px;
    }

    .hera-dock__toggle span.hera-dock__label {
        display: none;
    }

    .hera-dock__toggle {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hera-dock__pulse {
        animation: none !important;
    }
}

.hera-cat-seo {
    max-width: 760px;
    margin: 0 auto 28px;
    color: #3a2c28;
    font-size: 16px;
    line-height: 1.65;
}

.hera-cat-seo--below {
    margin: 36px auto 12px;
    padding-top: 8px;
}

.hera-cat-seo h2 {
    margin: 0 0 10px;
    color: #211916;
    font-size: clamp(22px, 3vw, 32px);
}

.hera-cat-seo p {
    margin: 0 0 12px;
}

.hera-cat-seo a {
    color: #64283f;
    text-decoration: underline;
}
