/* =========================================================
   KAPSALON CHRISTY — MAIN STYLESHEET
   Ported from static HTML to WordPress
========================================================= */

:root {
    --cream: #f4f0eb;
    --cream-dark: #e8e0d7;
    --beige: #d9cdc0;
    --brown: #292622;
    --brown-soft: #625a52;
    --white: #ffffff;
    --border: rgba(41, 38, 34, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", sans-serif;
    background: var(--cream);
    color: var(--brown);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: min(1180px, 90%); margin: 0 auto; }

.eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brown-soft);
    margin-bottom: 20px;
}

h1, h2, h3, h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    line-height: 1.05;
}

h2 { font-size: clamp(42px, 5vw, 74px); }

/* =========================
   HEADER
========================= */
.site-header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    color: white;
    transition: background .3s ease, position .3s ease;
}

.site-header.scrolled {
    position: fixed;
    background: rgba(41, 38, 34, .95);
    backdrop-filter: blur(10px);
}

.header-inner {
    width: min(1280px, 92%);
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.site-header.scrolled .header-inner { height: 80px; border-bottom-color: transparent; }

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
}

.logo strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    font-weight: 600;
    letter-spacing: .06em;
}

.logo span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .35em;
    margin-top: 7px;
}

/* Navigation */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.primary-nav ul li a {
    transition: opacity .25s ease;
    color: inherit;
}

.primary-nav ul li a:hover { opacity: .65; }

.primary-nav ul li.menu-item-book a,
.primary-nav ul li:last-child a.nav-book {
    border: 1px solid rgba(255,255,255,.65);
    padding: 13px 20px;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 200;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before { content: ""; top: -8px; }
.menu-toggle span::after  { content: ""; top: 8px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.active span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* =========================
   HERO
========================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(28,24,21,.65), rgba(28,24,21,.22)),
        url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;
}

.hero-content {
    width: min(1180px, 90%);
    margin: 80px auto 0;
}

.hero-content .eyebrow { color: rgba(255,255,255,.8); }

.hero h1 {
    max-width: 760px;
    font-size: clamp(70px, 9vw, 135px);
    margin-bottom: 30px;
}

.hero p {
    max-width: 530px;
    font-size: 16px;
    color: rgba(255,255,255,.88);
    margin-bottom: 38px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 27px;
    border: 1px solid var(--brown);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .18em;
    transition: all .3s ease;
    cursor: pointer;
    background: transparent;
}

.btn-dark { background: var(--brown); color: white; }
.btn-dark:hover { background: #1a1815; }
.btn-light { border-color: white; color: white; }
.btn-light:hover { background: white; color: var(--brown); }
.btn:hover { transform: translateY(-2px); }

/* =========================
   SECTIONS
========================= */
.section { padding: 150px 0; }

/* Philosophy */
.philosophy { padding: 150px 0; }

.philosophy-inner {
    width: min(950px, 90%);
    margin-left: 9%;
}

.philosophy h2 { max-width: 720px; }

.philosophy h2 span {
    display: block;
    color: var(--brown-soft);
    font-style: italic;
}

.philosophy-text {
    max-width: 570px;
    margin-top: 35px;
    font-size: 16px;
    color: var(--brown-soft);
}

/* Split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

.split-image {
    min-height: 600px;
    background:
        url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1200&q=90")
        center / cover no-repeat;
}

.split-content {
    display: flex;
    align-items: center;
    padding: 80px 11%;
    background: var(--cream-dark);
}

.split-content p { color: var(--brown-soft); margin: 25px 0 35px; }

/* Services */
.services-section {
    padding: 150px 0;
    background: var(--cream);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 65px;
}

.services-header > div { flex: 1; }

.services-header p {
    max-width: 480px;
    color: var(--brown-soft);
}

.service-category { margin-bottom: 65px; }

.service-category-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 500;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--brown);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 55px;
    row-gap: 0;
}

.service-item { border-top: 1px solid var(--border); }

.service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }

.service-toggle {
    width: 100%;
    min-height: 82px;
    background: transparent;
    border: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 36px;
    align-items: center;
    gap: 15px;
    text-align: left;
    color: var(--brown);
    cursor: pointer;
    padding: 18px 0;
}

.service-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    line-height: 1.15;
}

.service-price {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.service-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: transform .3s ease;
}

.service-icon::before,
.service-icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 10px;
    height: 1px;
    background: var(--brown);
    transform: translate(-50%, -50%);
}

.service-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.service-item.active .service-icon { transform: rotate(45deg); }

.service-description {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.service-description-inner { overflow: hidden; }

.service-description-content {
    padding: 0 45px 25px 0;
    color: var(--brown-soft);
    font-size: 13px;
    line-height: 1.7;
}

.service-description-content strong { color: var(--brown); font-weight: 500; }

.service-item.active .service-description { grid-template-rows: 1fr; }

.price-note {
    margin-top: 25px;
    padding: 20px 25px;
    background: rgba(217,205,192,.45);
    color: var(--brown-soft);
    font-size: 13px;
}

/* Why */
.why {
    padding: 120px 0;
    background: var(--cream-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-image img {
    height: 650px;
    width: 100%;
    object-fit: cover;
}

.why-list { margin-top: 45px; }

.why-item {
    border-top: 1px solid var(--border);
    padding: 25px 0;
}

.why-item:last-child { border-bottom: 1px solid var(--border); }

.why-item h3 { font-size: 30px; margin-bottom: 8px; }

.why-item p { color: var(--brown-soft); font-size: 14px; }

/* Feature */
.feature {
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(27,23,20,.72), rgba(27,23,20,.20)),
        url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=2000&q=90")
        center / cover no-repeat;
    color: white;
}

.feature-content {
    width: min(1180px, 90%);
    margin: auto;
}

.feature h2 {
    max-width: 650px;
    font-size: clamp(55px, 7vw, 100px);
}

.feature p {
    max-width: 500px;
    margin: 30px 0;
    color: rgba(255,255,255,.84);
}

/* Inspiration */
.inspiration { padding: 150px 0; }

.inspiration-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery img {
    height: 430px;
    width: 100%;
    object-fit: cover;
}

.gallery img:nth-child(2),
.gallery img:nth-child(4) { margin-top: 65px; }

/* Reviews */
.reviews {
    padding: 140px 0;
    background: var(--cream-dark);
}

.reviews-header { text-align: center; margin-bottom: 65px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review {
    background: var(--cream);
    padding: 40px;
}

.stars { letter-spacing: .15em; margin-bottom: 20px; }

.review p { color: var(--brown-soft); font-size: 14px; }

.review-author {
    margin-top: 25px;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Booking */
.booking { padding: 150px 0; text-align: center; }

.booking h2 { max-width: 800px; margin: auto; }

.booking p {
    max-width: 550px;
    margin: 30px auto;
    color: var(--brown-soft);
}

/* Opening hours */
.opening-hours { background: var(--cream-dark); padding: 120px 0; }

.opening-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.hours-list { margin-top: 35px; }

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.hours-row span:last-child { text-align: right; }

.hours-note {
    margin-top: 25px;
    font-size: 13px;
    color: var(--brown-soft);
}

/* Contact */
.contact { padding: 140px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info { margin-top: 40px; }

.contact-line {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.contact-line:last-child { border-bottom: 1px solid var(--border); }

.contact-line small {
    display: block;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 10px;
    color: var(--brown-soft);
    margin-bottom: 5px;
}

.contact-map {
    min-height: 450px;
    background:
        linear-gradient(rgba(41,38,34,.12), rgba(41,38,34,.12)),
        url("https://images.unsplash.com/photo-1600948836101-f9ffda59d250?auto=format&fit=crop&w=1200&q=90")
        center / cover no-repeat;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    background: var(--cream-dark);
    text-align: center;
}

.final-cta p {
    max-width: 500px;
    margin: 30px auto;
    color: var(--brown-soft);
}

/* Footer */
.site-footer {
    background: var(--brown);
    color: white;
    padding: 80px 0 35px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

.site-footer .logo strong { font-size: 38px; }

.footer-description {
    max-width: 380px;
    color: rgba(255,255,255,.65);
    margin-top: 20px;
    font-size: 14px;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 10px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.55);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-links a { color: rgba(255,255,255,.85); transition: color .25s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.16);
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.45);
    font-size: 11px;
}

/* =====================================================
   ELEMENTOR OVERRIDES
===================================================== */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1180px;
}

.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    font-family: "Cormorant Garamond", serif;
}

/* Make Elementor content editable pages match theme */
.kc-elementor-page .elementor-widget-text-editor { font-family: "Inter", sans-serif; }

/* Slider Revolution container fix */
.rev_slider_wrapper { width: 100% !important; }

/* =====================================================
   TABLET
===================================================== */
@media (max-width: 900px) {

    .menu-toggle { display: block; }

    .primary-nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(360px, 80%);
        height: 100vh;
        background: var(--brown);
        padding: 120px 40px 40px;
        transition: right .4s ease;
        z-index: 150;
        overflow-y: auto;
    }

    .primary-nav.open { right: 0; }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        font-size: 14px;
    }

    .primary-nav ul li.menu-item-book a,
    .primary-nav ul li:last-child a.nav-book {
        width: 100%;
        text-align: center;
        border-color: rgba(255,255,255,.4);
    }

    .split,
    .why-grid,
    .opening-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split-image { min-height: 500px; }
    .why-grid { gap: 50px; }

    .gallery { grid-template-columns: repeat(2, 1fr); }

    .reviews-grid { grid-template-columns: 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }

    .footer-top > div:first-child { grid-column: 1 / -1; }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }

    .service-toggle {
        grid-template-columns: minmax(0, 1fr) auto 32px;
        gap: 10px;
    }

    .service-name { font-size: 22px; }
    .service-price { font-size: 13px; }

    .services-header,
    .inspiration-header { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 650px) {

    .header-inner { height: 80px; }

    .hero { min-height: 780px; }
    .hero h1 { font-size: 65px; }

    .philosophy { padding: 100px 0; }
    .philosophy-inner { margin-left: 5%; }

    .services-section,
    .inspiration,
    .contact,
    .booking,
    .section { padding: 100px 0; }

    .services-header,
    .inspiration-header { display: block; }
    .services-header p { margin-top: 25px; }

    .service-grid { grid-template-columns: 1fr; }

    .service-item:nth-last-child(-n+2) { border-bottom: 0; }
    .service-item:last-child { border-bottom: 1px solid var(--border); }

    .service-toggle {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto 32px;
    }

    .service-name { font-size: 24px; }
    .service-price { font-size: 13px; }
    .service-description-content { padding-right: 15px; }

    .gallery { grid-template-columns: 1fr; }

    .gallery img,
    .gallery img:nth-child(2),
    .gallery img:nth-child(4) {
        margin-top: 0;
        height: 450px;
    }

    .footer-top { grid-template-columns: 1fr; }
    .footer-top > div:first-child { grid-column: auto; }

    .footer-bottom { flex-direction: column; gap: 10px; }

    .hours-row { font-size: 13px; }

    .why-image img { height: 480px; }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 3px;
}

/* Prevent body scroll when mobile menu open */
body.menu-open { overflow: hidden; }

/* =========================================================
   HEADER — overlay for Slider Revolution hero
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    color: #fff;
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease, padding .3s ease;
    pointer-events: auto;
}

/* Solid state (applied via JS when scrolled) */
.site-header.scrolled {
    background: rgba(41, 38, 34, .94);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

/* Solid state when mobile menu is open */
.site-header.menu-open {
    background: rgba(41, 38, 34, .97);
}

/* If Slider Revolution is very short, keep header readable */
body:not(.scrolled) .site-header { color: #fff; }

/* ---------- Layout ---------- */

.header-inner {
    width: min(1280px, 92%);
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: height .3s ease;
}

.site-header.scrolled .header-inner { height: 76px; }

/* ---------- Logo ---------- */

.site-logo {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: opacity .25s ease;
    flex-shrink: 0;
}

.site-logo:hover { opacity: .8; }

/* Custom logo (WP media) */
.site-logo img,
.site-logo .custom-logo {
    max-height: 52px;
    width: auto;
    display: block;
    transition: max-height .3s ease;
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .site-logo .custom-logo { max-height: 42px; }

/* Text logo fallback */
.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
}

.site-logo .logo-text strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .14em;
}

.site-logo .logo-text em {
    font-style: normal;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .42em;
    margin-top: 6px;
    opacity: .85;
}

/* ---------- Navigation ---------- */

.primary-nav ul.primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 400;
}

.primary-nav ul.primary-menu li { position: relative; }

.primary-nav ul.primary-menu a {
    color: inherit;
    text-decoration: none;
    transition: opacity .25s ease;
    padding: 4px 0;
}

.primary-nav ul.primary-menu a:hover { opacity: .65; }

/* Underline hover effect */
.primary-nav ul.primary-menu li:not(.menu-item-book) a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .35s ease;
}

.primary-nav ul.primary-menu li:not(.menu-item-book) a:hover::after {
    width: 100%;
}

/* ---------- Book button ---------- */

.primary-nav ul.primary-menu li.menu-item-book a.nav-book,
.primary-nav ul.primary-menu li:last-child a[href*="salonkee"] {
    border: 1px solid rgba(255,255,255,.65);
    padding: 13px 22px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.primary-nav ul.primary-menu li.menu-item-book a.nav-book:hover,
.primary-nav ul.primary-menu li:last-child a[href*="salonkee"]:hover {
    background: #fff;
    color: var(--brown);
    border-color: #fff;
    opacity: 1;
}

/* When header is scrolled, adjust book button border */
.site-header.scrolled .primary-nav ul.primary-menu li.menu-item-book a.nav-book,
.site-header.scrolled .primary-nav ul.primary-menu li:last-child a[href*="salonkee"] {
    border-color: rgba(255,255,255,.45);
}

/* ---------- Mobile toggle ---------- */

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 10000;
    color: inherit;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background .25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: currentColor;
    transition: transform .3s ease, top .3s ease;
}

.menu-toggle span::before { top: -8px; }
.menu-toggle span::after  { top:  8px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 960px) {

    .header-inner { height: 84px; }
    .site-header.scrolled .header-inner { height: 68px; }

    .menu-toggle { display: block; }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(360px, 85vw);
        height: 100vh;
        background: #292622;
        padding: 120px 40px 40px;
        transition: right .4s cubic-bezier(.22,.61,.36,1);
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -20px 0 40px rgba(0,0,0,.25);
    }

    .primary-nav.open { right: 0; }

    .primary-nav ul.primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        font-size: 15px;
        letter-spacing: .16em;
    }

    .primary-nav ul.primary-menu li:not(.menu-item-book) a::after { display: none; }

    .primary-nav ul.primary-menu li.menu-item-book { width: 100%; margin-top: 10px; }

    .primary-nav ul.primary-menu li.menu-item-book a.nav-book,
    .primary-nav ul.primary-menu li:last-child a[href*="salonkee"] {
        display: block;
        width: 100%;
        text-align: center;
        border-color: rgba(255,255,255,.4);
    }

    .site-header.menu-open .site-logo,
    .site-header.menu-open .menu-toggle { color: #fff; }
}

@media (max-width: 650px) {

    .header-inner { height: 76px; }

    .site-logo .logo-text strong { font-size: 26px; letter-spacing: .12em; }
    .site-logo .logo-text em     { font-size: 8px;  letter-spacing: .36em; }

    .site-logo img,
    .site-logo .custom-logo { max-height: 42px; }

    .site-header.scrolled .site-logo img,
    .site-header.scrolled .site-logo .custom-logo { max-height: 36px; }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* =========================================================
   SLIDER REVOLUTION HELPERS
========================================================= */

/* Make sure SR full-screen sliders sit under the fixed header */
.rev_slider_wrapper,
rs-module-wrap {
    z-index: 1 !important;
}

/* Force transparency on SR navigations over the header area if needed */
.rev_slider .tp-parallax-wrap,
.rev_slider .tp-loop-wrap { z-index: 5; }

/* =========================================================
   ADMIN BAR OFFSET (logged-in users)
========================================================= */

body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

/* =====================================================
   FOOTER — full width, purple-brown background
===================================================== */

/* Full-bleed wrapper — escapes any Elementor container */
.site-footer,
.kc-footer-wrapper {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #534666;
    color: #fff;
    padding: 80px 0 35px;
    box-sizing: border-box;
}

/* Inner container keeps content centered */
.site-footer .container,
.kc-footer-wrapper .container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

/* Footer top — grid of columns */
.site-footer .footer-top,
.kc-footer-wrapper .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

/* Dynamic column counts */
.site-footer .footer-top.kc-footer-columns-2,
.kc-footer-wrapper .footer-top.kc-footer-columns-2 { grid-template-columns: 1.5fr 1fr; }
.site-footer .footer-top.kc-footer-columns-3,
.kc-footer-wrapper .footer-top.kc-footer-columns-3 { grid-template-columns: 1.5fr 1fr 1fr; }
.site-footer .footer-top.kc-footer-columns-4,
.kc-footer-wrapper .footer-top.kc-footer-columns-4 { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.site-footer .footer-top.kc-footer-columns-5,
.kc-footer-wrapper .footer-top.kc-footer-columns-5 { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }

/* Logo column */
.footer-logo-col { max-width: 420px; }

.footer-logo-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* Logo text styling */
.site-footer .logo,
.kc-footer-wrapper .logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
    text-decoration: none;
}

.site-footer .logo strong,
.kc-footer-wrapper .logo strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #ffffff;
    display: block;
}

.site-footer .logo span,
.kc-footer-wrapper .logo span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .35em;
    margin-top: 7px;
    color: rgba(255,255,255,.75);
    display: block;
}

/* Description */
.footer-description {
    max-width: 380px;
    color: rgba(255,255,255,.75);
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
}

/* Column titles */
.footer-title {
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 10px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-links a {
    color: rgba(255,255,255,.85);
    transition: color .25s ease, opacity .25s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: .85;
}

/* Bottom bar */
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.18);
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    letter-spacing: .04em;
}

/* Standalone Footer Logo widget */
.kc-footer-logo .logo strong { color: #ffffff; }
.kc-footer-logo .logo span   { color: rgba(255,255,255,.75); }
.kc-footer-logo .footer-description { color: rgba(255,255,255,.75); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .site-footer .footer-top,
    .kc-footer-wrapper .footer-top,
    .site-footer .footer-top.kc-footer-columns-3,
    .site-footer .footer-top.kc-footer-columns-4,
    .site-footer .footer-top.kc-footer-columns-5,
    .kc-footer-wrapper .footer-top.kc-footer-columns-3,
    .kc-footer-wrapper .footer-top.kc-footer-columns-4,
    .kc-footer-wrapper .footer-top.kc-footer-columns-5 {
        grid-template-columns: 1fr 1fr;
    }
    .footer-logo-col { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 650px) {
    .site-footer,
    .kc-footer-wrapper {
        padding: 60px 0 30px;
    }
    .site-footer .footer-top,
    .kc-footer-wrapper .footer-top,
    .site-footer .footer-top.kc-footer-columns-2,
    .site-footer .footer-top.kc-footer-columns-3,
    .site-footer .footer-top.kc-footer-columns-4,
    .site-footer .footer-top.kc-footer-columns-5,
    .kc-footer-wrapper .footer-top.kc-footer-columns-2,
    .kc-footer-wrapper .footer-top.kc-footer-columns-3,
    .kc-footer-wrapper .footer-top.kc-footer-columns-4,
    .kc-footer-wrapper .footer-top.kc-footer-columns-5 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-logo-col { grid-column: auto; }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
}
/* =====================================================
   KC NAVBAR — primary navigation
===================================================== */

.kc-navbar {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 999;
    color: #fff;
    transition: transform .3s ease;
}

/* Transparent start (over hero) */
.kc-navbar-transparent { position: absolute; }

/* Sticky behavior after scrolling */
.kc-navbar-sticky.kc-navbar-scrolled {
    position: fixed;
    top: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
    animation: kc-navbar-slide-down .35s ease;
}

@keyframes kc-navbar-slide-down {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

.kc-navbar-inner {
    width: min(1280px, 92%);
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: background-color .35s ease, height .3s ease, border-color .3s ease;
}

/* Scrolled state — dark bar */
.kc-navbar-scrolled .kc-navbar-inner {
    background-color: rgba(41,38,34,.95);
    backdrop-filter: blur(10px);
    height: 80px;
    border-bottom-color: transparent;
}

/* ---------- Logo ---------- */
.kc-navbar-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.kc-navbar-logo strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #fff;
}

.kc-navbar-logo span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .35em;
    margin-top: 7px;
    color: rgba(255,255,255,.85);
}

.kc-navbar-logo-img { max-height: 60px; width: auto; display: block; }

/* ---------- Menu ---------- */
.kc-navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.kc-navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.kc-navbar-menu li { position: relative; }

.kc-navbar-menu a {
    color: #fff;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
    display: inline-block;
    padding: 4px 0;
}

.kc-navbar-menu a:hover { color: rgba(255,255,255,.65); }

/* Dropdowns */
.kc-navbar-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #292622;
    padding: 12px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 20;
}

.kc-navbar-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kc-navbar-menu .sub-menu li a {
    display: block;
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.85);
}

.kc-navbar-menu .sub-menu li a:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

/* ---------- CTA ---------- */
.kc-navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid rgba(255,255,255,.65);
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .18em;
    background: transparent;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.kc-navbar-cta:hover {
    background: #fff;
    color: #292622;
}

/* ---------- Mobile toggle ---------- */
.kc-navbar-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px;
    position: relative;
    color: #fff;
    flex-shrink: 0;
}

.kc-navbar-toggle span,
.kc-navbar-toggle span::before,
.kc-navbar-toggle span::after {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.kc-navbar-toggle span { top: 50%; margin-top: -1px; }
.kc-navbar-toggle span::before { content: ""; top: -8px; }
.kc-navbar-toggle span::after  { content: ""; top: 8px; }

.kc-navbar-toggle.active span { background: transparent; }
.kc-navbar-toggle.active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.kc-navbar-toggle.active span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* =====================================================
   MOBILE / TABLET
===================================================== */
@media (max-width: 900px) {

    .kc-navbar-toggle { display: block; }

    .kc-navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(380px, 85%);
        height: 100vh;
        background: #292622;
        padding: 120px 40px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        transition: right .4s ease;
        z-index: 998;
        overflow-y: auto;
        margin-left: 0;
    }

    .kc-navbar-nav.open { right: 0; }

    .kc-navbar-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        font-size: 14px;
        width: 100%;
    }

    .kc-navbar-menu a { display: block; padding: 6px 0; }

    /* Submenus become inline */
    .kc-navbar-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 8px 0 0 20px;
        min-width: 0;
    }

    .kc-navbar-menu .sub-menu li a {
        padding: 6px 0;
        font-size: 12px;
        color: rgba(255,255,255,.7);
    }

    .kc-navbar-cta {
        width: 100%;
        text-align: center;
    }

    .kc-navbar-inner {
        height: 80px;
    }

    /* Lock scroll when open */
    body.kc-navbar-open { overflow: hidden; }
}
/* =====================================================
   KC SOCIAL ICONS
===================================================== */

.kc-social-icons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.kc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 0;
}

.kc-social-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.kc-social-icon:hover {
    background: #fff;
    color: #292622;
    transform: translateY(-2px);
    border-color: transparent;
}

/* Shapes */
.kc-social-shape-circle .kc-social-icon { border-radius: 50%; }
.kc-social-shape-square .kc-social-icon { border-radius: 4px; }
.kc-social-shape-plain  .kc-social-icon {
    background: transparent;
    border-color: transparent;
    width: auto;
    height: auto;
    padding: 4px;
}
.kc-social-shape-plain .kc-social-icon:hover {
    background: transparent;
    color: rgba(255,255,255,.65);
    transform: translateY(-2px);
}

/* Light-background variant (dark icons on light bg) */
.kc-social-icons.kc-social-light .kc-social-icon {
    color: #292622;
    background: rgba(41,38,34,.06);
    border-color: rgba(41,38,34,.2);
}
.kc-social-icons.kc-social-light .kc-social-icon:hover {
    background: #292622;
    color: #fff;
}

/* Compact (for navbar) */
.kc-social-icons.kc-social-compact { gap: 10px; }
.kc-social-icons.kc-social-compact .kc-social-icon {
    width: 32px;
    height: 32px;
}
.kc-social-icons.kc-social-compact .kc-social-icon svg {
    width: 14px;
    height: 14px;
}
/* =====================================================
   SITE HEADER — overlay on front page, solid elsewhere
===================================================== */

.site-header {
    width: 100%;
    z-index: 999;
    color: #fff;
    transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

/* --- Overlay mode (front page) --- */
.site-header--overlay {
    position: absolute;              /* floats over hero/slider */
    top: 0;
    left: 0;
    background: transparent;
    border-bottom: none;
}

/* Solid state after scrolling */
.site-header--overlay.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(41, 38, 34, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    animation: kc-header-slide-down .35s ease;
}

@keyframes kc-header-slide-down {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* --- Solid mode (inner pages) --- */
.site-header--solid {
    position: relative;
    background: #292622;
}

.site-header--solid.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    animation: kc-header-slide-down .35s ease;
}

/* Inner bar */
.site-header .header-inner {
    width: min(1280px, 92%);
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    transition: height .3s ease, border-color .3s ease;
}

.site-header--overlay.is-scrolled .header-inner,
.site-header--solid.is-scrolled .header-inner {
    height: 80px;
    border-bottom-color: transparent;
}

/* =====================================================
   KILL ANY TOP GAP ON THE FRONT PAGE
===================================================== */

/* Remove theme header gap so slider starts at y=0 */
body.home .site-header--overlay ~ *,
body.home .elementor-section:first-child,
body.home .e-con:first-child,
body.home .rev_slider_wrapper,
body.home main > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* If slider sits inside a full-bleed section */
body.home .elementor-section.elementor-section-stretched:first-of-type > .elementor-container,
body.home .e-con.e-con-full:first-of-type > .e-con-inner {
    padding-top: 0 !important;
}

/* Remove WordPress / theme wrappers top padding on home */
body.home .wp-site-blocks,
body.home .site-content,
body.home .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* =====================================================
   KC BEFORE / AFTER — compact, full-image
===================================================== */

.kc-ba-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.kc-ba-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: ew-resize;
    background: #e8e0d7;
    border-radius: 4px;
}

/* ---------- NATURAL: full image, height driven by width ---------- */
.kc-ba-fit-natural .kc-ba-img {
    position: relative;
    width: 100%;
}

.kc-ba-fit-natural .kc-ba-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.kc-ba-fit-natural .kc-ba-img-before {
    position: absolute;
    inset: 0;
    height: 100%;
}

.kc-ba-fit-natural .kc-ba-img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ---------- CONTAIN: full image inside a fixed frame ---------- */
.kc-ba-fit-contain .kc-ba-inner {
    aspect-ratio: var(--kc-ba-ratio, 1 / 2);
    max-height: 380px;
}

.kc-ba-fit-contain .kc-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kc-ba-fit-contain .kc-ba-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #e8e0d7;
}

/* ---------- COVER: crop to fill ---------- */
.kc-ba-fit-cover .kc-ba-inner {
    aspect-ratio: var(--kc-ba-ratio, 1 / 2);
    max-height: 380px;
}

.kc-ba-fit-cover .kc-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kc-ba-fit-cover .kc-ba-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--kc-ba-obj-pos, center top);
    display: block;
}

/* ---------- Common image positioning ---------- */
.kc-ba-img img {
    pointer-events: none;
    user-select: none;
}

.kc-ba-img-after  { z-index: 1; }
.kc-ba-img-before { z-index: 2; clip-path: inset(0 50% 0 0); }

/* ---------- SIZE PRESETS (Natural mode) ----------
   Only applied when the parent is wider than the preset.
   In a 4-up carousel, tiles are ~280px wide by default, so
   the preset acts as a hard ceiling for single/grid layouts. */
.kc-ba-preset-tiny   .kc-ba-inner { max-width: 140px; margin-left: auto; margin-right: auto; }
.kc-ba-preset-small  .kc-ba-inner { max-width: 200px; margin-left: auto; margin-right: auto; }
.kc-ba-preset-medium .kc-ba-inner { max-width: 280px; margin-left: auto; margin-right: auto; }
.kc-ba-preset-large  .kc-ba-inner { max-width: 400px; margin-left: auto; margin-right: auto; }

/* In grid/carousel modes we don't want the cap — the grid already sizes it */
.kc-ba-grid .kc-ba-wrapper .kc-ba-inner,
.kc-ba-carousel .kc-ba-slide .kc-ba-inner {
    max-width: 100%;
}

/* ---------- Divider line ---------- */
.kc-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ffffff;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0,0,0,.25);
}

/* ---------- Handle ---------- */
.kc-ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #292622;
    border: 1px solid rgba(41,38,34,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 4;
    padding: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    transition: transform .2s ease, box-shadow .2s ease;
    touch-action: none;
}

.kc-ba-handle:hover,
.kc-ba-dragging .kc-ba-handle {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 8px 26px rgba(0,0,0,.28);
}

.kc-ba-handle:focus-visible {
    outline: 2px solid #292622;
    outline-offset: 3px;
}

.kc-ba-handle svg { display: block; }

/* ---------- Labels ---------- */
.kc-ba-label {
    position: absolute;
    top: 10px;
    padding: 5px 10px;
    background: rgba(41,38,34,.85);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    z-index: 5;
    border-radius: 2px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.kc-ba-label-before { left: 10px; }
.kc-ba-label-after  { right: 10px; }

/* ---------- Caption ---------- */
.kc-ba-caption {
    margin-top: 10px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    font-style: italic;
    color: var(--brown-soft);
}

/* =====================================================
   GRID
===================================================== */
.kc-ba-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

/* =====================================================
   CAROUSEL
===================================================== */
.kc-ba-carousel {
    position: relative;
    width: 100%;
}

.kc-ba-carousel .kc-ba-track {
    display: flex;
    align-items: flex-start;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    touch-action: pan-y;
}

.kc-ba-carousel .kc-ba-slide {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 16px;
    box-sizing: border-box;
}

.kc-ba-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #292622;
    border: 1px solid rgba(41,38,34,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: all .25s ease;
    padding: 0;
}

.kc-ba-nav:hover:not(:disabled) {
    background: #292622;
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.kc-ba-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.kc-ba-prev { left: -6px; }
.kc-ba-next { right: -6px; }

.kc-ba-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.kc-ba-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(41,38,34,.2);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.kc-ba-dot:hover { background: rgba(41,38,34,.4); }
.kc-ba-dot.active { background: #292622; transform: scale(1.3); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .kc-ba-fit-contain .kc-ba-inner,
    .kc-ba-fit-cover .kc-ba-inner { max-height: 320px; }

    .kc-ba-carousel .kc-ba-slide {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    .kc-ba-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
    .kc-ba-fit-contain .kc-ba-inner,
    .kc-ba-fit-cover .kc-ba-inner { max-height: 260px; }

    .kc-ba-carousel .kc-ba-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .kc-ba-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .kc-ba-handle { width: 32px; height: 32px; }
    .kc-ba-handle svg { width: 14px; height: 14px; }

    .kc-ba-label {
        top: 8px;
        padding: 4px 8px;
        font-size: 9px;
        letter-spacing: .12em;
    }
    .kc-ba-label-before { left: 8px; }
    .kc-ba-label-after  { right: 8px; }

    .kc-ba-caption { font-size: 13px; margin-top: 8px; }
}

/* =====================================================
   KC BEFORE / AFTER — ultra-compact with header
===================================================== */

.kc-ba-widget {
    width: 100%;
}

/* =====================================================
   HEADER
===================================================== */
.kc-ba-header {
    margin-bottom: 24px;
}

.kc-ba-header .eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brown-soft);
    margin-bottom: 12px;
}

.kc-ba-header h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.05;
    margin-bottom: 10px;
    color: var(--brown);
}

.kc-ba-header p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--brown-soft);
    max-width: 620px;
    margin: 0;
}

/* Alignment */
.kc-ba-align-left   .kc-ba-header,
.kc-ba-align-left   .kc-ba-header-row { text-align: left; }
.kc-ba-align-center .kc-ba-header,
.kc-ba-align-center .kc-ba-header-row { text-align: center; }
.kc-ba-align-center .kc-ba-header p   { margin-left: auto; margin-right: auto; }
.kc-ba-align-right  .kc-ba-header,
.kc-ba-align-right  .kc-ba-header-row { text-align: right; }
.kc-ba-align-right  .kc-ba-header p   { margin-left: auto; }

/* Inline layout */
.kc-ba-header-inline .kc-ba-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.kc-ba-header-inline .kc-ba-header-col-left { flex: 1 1 auto; }
.kc-ba-header-inline .kc-ba-header-col-right {
    flex: 0 1 420px;
    max-width: 420px;
}

@media (max-width: 650px) {
    .kc-ba-header-inline .kc-ba-header-row {
        display: block;
    }
    .kc-ba-header-inline .kc-ba-header-col-right {
        max-width: 100%;
        margin-top: 10px;
    }
    .kc-ba-header { margin-bottom: 18px; }
    .kc-ba-header h2 { font-size: 26px; }
    .kc-ba-header p { font-size: 13px; }
}

/* =====================================================
   TILES
===================================================== */
.kc-ba-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.kc-ba-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: ew-resize;
    background: #e8e0d7;
    border-radius: 4px;
}

/* ---------- NATURAL: full image, no crop ---------- */
.kc-ba-fit-natural .kc-ba-img {
    position: relative;
    width: 100%;
}

.kc-ba-fit-natural .kc-ba-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.kc-ba-fit-natural .kc-ba-img-before {
    position: absolute;
    inset: 0;
    height: 100%;
}

.kc-ba-fit-natural .kc-ba-img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ---------- CONTAIN ---------- */
.kc-ba-fit-contain .kc-ba-inner {
    aspect-ratio: var(--kc-ba-ratio, 1 / 2);
    max-height: 260px;
}
.kc-ba-fit-contain .kc-ba-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.kc-ba-fit-contain .kc-ba-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    background: #e8e0d7;
    display: block;
}

/* ---------- COVER ---------- */
.kc-ba-fit-cover .kc-ba-inner {
    aspect-ratio: var(--kc-ba-ratio, 1 / 2);
    max-height: 260px;
}
.kc-ba-fit-cover .kc-ba-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.kc-ba-fit-cover .kc-ba-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--kc-ba-obj-pos, center top);
    display: block;
}

.kc-ba-img img {
    pointer-events: none;
    user-select: none;
}

.kc-ba-img-after  { z-index: 1; }
.kc-ba-img-before { z-index: 2; clip-path: inset(0 50% 0 0); }

/* =====================================================
   SIZE PRESETS (single mode only — grid/carousel uses layout)
===================================================== */
.kc-ba-preset-micro  .kc-ba-inner { max-width: 90px;  margin-left: auto; margin-right: auto; }
.kc-ba-preset-tiny   .kc-ba-inner { max-width: 120px; margin-left: auto; margin-right: auto; }
.kc-ba-preset-small  .kc-ba-inner { max-width: 160px; margin-left: auto; margin-right: auto; }
.kc-ba-preset-medium .kc-ba-inner { max-width: 220px; margin-left: auto; margin-right: auto; }

/* Remove caps in grid & carousel modes (layout handles sizing) */
.kc-ba-grid     .kc-ba-wrapper .kc-ba-inner,
.kc-ba-carousel .kc-ba-slide .kc-ba-inner {
    max-width: 100%;
}

/* ---------- Divider ---------- */
.kc-ba-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1.5px;
    background: #ffffff;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
}

/* ---------- Handle (much smaller) ---------- */
.kc-ba-handle {
    position: absolute;
    top: 50%; left: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #292622;
    border: 1px solid rgba(41,38,34,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 4;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    transition: transform .2s ease, box-shadow .2s ease;
    touch-action: none;
}

.kc-ba-handle:hover,
.kc-ba-dragging .kc-ba-handle {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.kc-ba-handle:focus-visible { outline: 2px solid #292622; outline-offset: 2px; }
.kc-ba-handle svg { display: block; }

/* ---------- Labels (smaller) ---------- */
.kc-ba-label {
    position: absolute;
    top: 6px;
    padding: 3px 6px;
    background: rgba(41,38,34,.82);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 5;
    border-radius: 2px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}
.kc-ba-label-before { left: 6px; }
.kc-ba-label-after  { right: 6px; }

/* ---------- Caption ---------- */
.kc-ba-caption {
    margin-top: 6px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 13px;
    font-style: italic;
    color: var(--brown-soft);
    line-height: 1.3;
}

/* =====================================================
   GRID
===================================================== */
.kc-ba-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: start;
}

/* =====================================================
   CAROUSEL
===================================================== */
.kc-ba-carousel {
    position: relative;
    width: 100%;
}

.kc-ba-carousel .kc-ba-track {
    display: flex;
    align-items: flex-start;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    touch-action: pan-y;
}

.kc-ba-carousel .kc-ba-slide {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
    padding-right: 12px;
    box-sizing: border-box;
}

.kc-ba-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #ffffff;
    color: #292622;
    border: 1px solid rgba(41,38,34,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
    transition: all .25s ease;
    padding: 0;
}
.kc-ba-nav:hover:not(:disabled) {
    background: #292622;
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}
.kc-ba-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.kc-ba-prev { left: -4px; }
.kc-ba-next { right: -4px; }

.kc-ba-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.kc-ba-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(41,38,34,.2);
    border: 0; padding: 0;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}
.kc-ba-dot:hover { background: rgba(41,38,34,.4); }
.kc-ba-dot.active { background: #292622; transform: scale(1.3); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .kc-ba-fit-contain .kc-ba-inner,
    .kc-ba-fit-cover .kc-ba-inner { max-height: 220px; }

    .kc-ba-carousel .kc-ba-slide {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .kc-ba-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 650px) {
    .kc-ba-fit-contain .kc-ba-inner,
    .kc-ba-fit-cover .kc-ba-inner { max-height: 180px; }

    .kc-ba-carousel .kc-ba-slide {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    .kc-ba-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .kc-ba-handle { width: 24px; height: 24px; }
    .kc-ba-handle svg { width: 10px; height: 10px; }

    .kc-ba-label {
        top: 4px;
        padding: 2px 5px;
        font-size: 7px;
        letter-spacing: .1em;
    }
    .kc-ba-label-before { left: 4px; }
    .kc-ba-label-after  { right: 4px; }

    .kc-ba-caption { font-size: 11px; margin-top: 4px; }
}
/* =====================================================
   KC BEFORE / AFTER — ultra-compact with header
===================================================== */

.kc-ba-widget {
    width: 100%;
}

/* =====================================================
   HEADER — centered by default
===================================================== */
.kc-ba-header {
    margin-bottom: 24px;
    text-align: center; /* default center */
}

.kc-ba-header .eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brown-soft);
    margin-bottom: 12px;
}

.kc-ba-header h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.05;
    margin: 0 0 10px;
    color: var(--brown);
}

.kc-ba-header p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--brown-soft);
    max-width: 620px;
    margin: 0 auto; /* auto = centered */
}

/* Alignment overrides */
.kc-ba-align-left   .kc-ba-header,
.kc-ba-align-left   .kc-ba-header-row { text-align: left; }
.kc-ba-align-left   .kc-ba-header p   { margin-left: 0; margin-right: auto; }

.kc-ba-align-center .kc-ba-header,
.kc-ba-align-center .kc-ba-header-row { text-align: center; }
.kc-ba-align-center .kc-ba-header p   { margin-left: auto; margin-right: auto; }

.kc-ba-align-right  .kc-ba-header,
.kc-ba-align-right  .kc-ba-header-row { text-align: right; }
.kc-ba-align-right  .kc-ba-header p   { margin-left: auto; margin-right: 0; }

/* Inline layout — title left, intro right */
.kc-ba-header-inline .kc-ba-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.kc-ba-header-inline .kc-ba-header-col-left  { flex: 1 1 auto; }
.kc-ba-header-inline .kc-ba-header-col-right {
    flex: 0 1 420px;
    max-width: 420px;
}

/* Stack layout helper (default) */
.kc-ba-header-stack .eyebrow,
.kc-ba-header-stack h2,
.kc-ba-header-stack p {
    display: block;
}

/* Mobile */
@media (max-width: 650px) {
    .kc-ba-header-inline .kc-ba-header-row {
        display: block;
    }
    .kc-ba-header-inline .kc-ba-header-col-right {
        max-width: 100%;
        margin-top: 10px;
    }
    .kc-ba-header { margin-bottom: 18px; }
    .kc-ba-header h2 { font-size: 26px; }
    .kc-ba-header p { font-size: 13px; }
}
/* =====================================================
   KC NAVBAR — full-width background, centered content
===================================================== */

.kc-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    color: #fff;
    transition: transform .3s ease;
}

.kc-navbar-transparent { position: absolute; }

/* Sticky state after scrolling */
.kc-navbar-sticky.kc-navbar-scrolled {
    position: fixed;
    top: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
    animation: kc-navbar-slide-down .35s ease;
}

@keyframes kc-navbar-slide-down {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ---------- FULL-WIDTH BACKGROUND LAYER ----------
   Color lives here so it spans the viewport edge-to-edge,
   regardless of how narrow the content container is. */
.kc-navbar-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color .35s ease;
    pointer-events: none;
    z-index: 0;
}

.kc-navbar.kc-navbar-scrolled .kc-navbar-bg {
    background-color: rgba(41, 38, 34, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ---------- CONTENT CONTAINER (capped + centered) ---------- */
.kc-navbar-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, 92%);
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: height .3s ease, border-color .3s ease;
}

.kc-navbar-scrolled .kc-navbar-inner {
    height: 80px;
    border-bottom-color: transparent;
}

/* ---------- Logo ---------- */
.kc-navbar-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.kc-navbar-logo strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #fff;
}

.kc-navbar-logo span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .35em;
    margin-top: 7px;
    color: rgba(255,255,255,.85);
}

.kc-navbar-logo-img { max-height: 60px; width: auto; display: block; }

/* ---------- Menu ---------- */
.kc-navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.kc-navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.kc-navbar-menu li { position: relative; }

.kc-navbar-menu a {
    color: #fff;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
    display: inline-block;
    padding: 4px 0;
}

.kc-navbar-menu a:hover { color: rgba(255,255,255,.65); }

/* Dropdowns */
.kc-navbar-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #292622;
    padding: 12px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 20;
}

.kc-navbar-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kc-navbar-menu .sub-menu li a {
    display: block;
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.85);
}

.kc-navbar-menu .sub-menu li a:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

/* ---------- CTA ---------- */
.kc-navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid rgba(255,255,255,.65);
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .18em;
    background: transparent;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.kc-navbar-cta:hover {
    background: #fff;
    color: #292622;
}

/* ---------- Mobile toggle ---------- */
.kc-navbar-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px;
    position: relative;
    color: #fff;
    flex-shrink: 0;
}

.kc-navbar-toggle span,
.kc-navbar-toggle span::before,
.kc-navbar-toggle span::after {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.kc-navbar-toggle span { top: 50%; margin-top: -1px; }
.kc-navbar-toggle span::before { content: ""; top: -8px; }
.kc-navbar-toggle span::after  { content: ""; top: 8px; }

.kc-navbar-toggle.active span { background: transparent; }
.kc-navbar-toggle.active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.kc-navbar-toggle.active span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* =====================================================
   KC SOCIAL BUTTONS — Instagram + Facebook
===================================================== */

.kc-sb-widget {
    width: 100%;
}

/* =====================================================
   HEADER — HARD CENTERED (cannot drift)
===================================================== */
.kc-sb-widget .kc-sb-header {
    margin-bottom: 40px;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.kc-sb-widget .kc-sb-header .eyebrow {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brown-soft);
    margin-bottom: 12px;
}

.kc-sb-widget .kc-sb-header h2 {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.05;
    margin: 0 auto 12px !important;
    color: var(--brown);
}

.kc-sb-widget .kc-sb-header p {
    display: block !important;
    width: 100% !important;
    max-width: 620px !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--brown-soft);
}

/* =====================================================
   Alignment variants — override only when explicitly chosen
   (kept for flexibility but the default is locked to center)
===================================================== */
.kc-sb-widget .kc-sb-align-left .kc-sb-header,
.kc-sb-widget .kc-sb-align-left .kc-sb-header .eyebrow,
.kc-sb-widget .kc-sb-align-left .kc-sb-header h2,
.kc-sb-widget .kc-sb-align-left .kc-sb-header p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.kc-sb-widget .kc-sb-align-right .kc-sb-header,
.kc-sb-widget .kc-sb-align-right .kc-sb-header .eyebrow,
.kc-sb-widget .kc-sb-align-right .kc-sb-header h2,
.kc-sb-widget .kc-sb-align-right .kc-sb-header p {
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Row of buttons stays centered by default */
.kc-sb-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ---------- Button base ---------- */
.kc-sb-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background-color: #292622;
    color: #ffffff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 0;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.kc-sb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(83,70,102,.28);
}

.kc-sb-btn:focus-visible {
    outline: 2px solid #292622;
    outline-offset: 3px;
}

.kc-sb-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
}

.kc-sb-btn-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.kc-sb-btn-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
}

.kc-sb-handle {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: lowercase;
    opacity: .7;
    font-weight: 400;
}

/* ---------- Responsive ---------- */
@media (max-width: 650px) {
    .kc-sb-widget .kc-sb-header { margin-bottom: 28px; }
    .kc-sb-widget .kc-sb-header h2 { font-size: 26px; }
    .kc-sb-widget .kc-sb-header p { font-size: 13px; }

    .kc-sb-row { gap: 12px; }

    .kc-sb-btn {
        padding: 14px 22px;
        font-size: 11px;
        letter-spacing: .12em;
    }

    .kc-sb-widget[data-full-mobile="yes"] .kc-sb-row {
        flex-direction: column;
        align-items: stretch;
    }

    .kc-sb-widget[data-full-mobile="yes"] .kc-sb-btn {
        width: 100%;
        justify-content: center;
    }

    .kc-sb-widget[data-full-mobile="yes"] .kc-sb-btn-text {
        align-items: center;
    }

    .kc-sb-btn-icon svg { width: 18px; height: 18px; }
}
/* =====================================================
   KC BRANDS — image-placeholder tiles
===================================================== */

.kc-brands-widget {
    width: 100%;
}

/* ---------- Header ---------- */
.kc-brands-header {
    margin-bottom: 50px;
}

.kc-brands-header .eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brown-soft);
    margin-bottom: 12px;
}

.kc-brands-header h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.05;
    margin: 0 0 12px;
    color: var(--brown);
}

.kc-brands-header p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--brown-soft);
    max-width: 620px;
    margin: 0;
}

.kc-brands-align-left   { text-align: left; }
.kc-brands-align-left p { margin-left: 0; margin-right: auto; }
.kc-brands-align-center { text-align: center; }
.kc-brands-align-center p { margin-left: auto; margin-right: auto; }
.kc-brands-align-right  { text-align: right; }
.kc-brands-align-right p { margin-left: auto; margin-right: 0; }

/* ---------- Grid ---------- */
.kc-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* ---------- Item wrapper ---------- */
.kc-brands-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease;
}

.kc-brands-item:hover {
    transform: translateY(-3px);
}

/* ---------- Tile (uniform placeholder box) ---------- */
.kc-brands-tile {
    position: relative;
    width: 100%;
    aspect-ratio: var(--kc-tile-ratio, 1 / 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid rgba(41,38,34,.1);
    border-radius: 4px;
    overflow: hidden;
    transition: background-color .3s ease,
                border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.kc-brands-item:hover .kc-brands-tile {
    border-color: rgba(41,38,34,.25);
    box-shadow: 0 14px 34px rgba(41,38,34,.08);
}

/* ---------- Logo holder inside tile ---------- */
.kc-brands-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55%;              /* overridable from Elementor */
    height: 55%;
    line-height: 0;
}

.kc-brands-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: .7;
    filter: grayscale(0);
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

/* Grayscale by default */
.kc-brands-widget[data-grayscale="yes"] .kc-brands-logo img {
    filter: grayscale(100%);
    opacity: .55;
}

.kc-brands-widget[data-grayscale="yes"] .kc-brands-item:hover .kc-brands-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

.kc-brands-item:hover .kc-brands-logo img {
    opacity: 1;
}

/* ---------- Placeholder (no logo uploaded yet) ---------- */
.kc-brands-placeholder {
    width: 100%;
    height: 100%;
    padding: 8px;
    text-align: center;
    border: 1px dashed rgba(41,38,34,.22);
    border-radius: 3px;
    background: repeating-linear-gradient(
        45deg,
        rgba(41,38,34,.02),
        rgba(41,38,34,.02) 8px,
        rgba(41,38,34,.04) 8px,
        rgba(41,38,34,.04) 16px
    );
}

.kc-brands-placeholder-text {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 15px;
    line-height: 1.2;
    color: var(--brown-soft);
    padding: 0 6px;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
}

/* ---------- Brand name under tile ---------- */
.kc-brands-name {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brown-soft);
    text-align: center;
    line-height: 1.3;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .kc-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .kc-brands-header { margin-bottom: 36px; }
    .kc-brands-tile { padding: 12%; }
}

@media (max-width: 650px) {
    .kc-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .kc-brands-header { margin-bottom: 28px; }
    .kc-brands-header h2 { font-size: 26px; }
    .kc-brands-header p  { font-size: 13px; }

    .kc-brands-tile { padding: 10%; border-radius: 3px; }
    .kc-brands-name { font-size: 9px; letter-spacing: .1em; }
    .kc-brands-placeholder-text { font-size: 13px; }
}
/* =====================================================
   WELCOME SPLIT (with slideshow)
===================================================== */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

/* Image column becomes a slideshow */
.split-image,
.kc-welcome-slideshow {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #d9cdc0;
}

/* The slideshow stack */
.kc-welcome-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kc-welcome-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
    z-index: 1;
}

.kc-welcome-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.kc-welcome-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* ---------- Slide transition (horizontal) ---------- */
.kc-welcome.kc-transition-slide .kc-welcome-slide {
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform .8s cubic-bezier(.4, 0, .2, 1), opacity 0s;
}
.kc-welcome.kc-transition-slide .kc-welcome-slide.active {
    transform: translateX(0);
    visibility: visible;
}
.kc-welcome.kc-transition-slide .kc-welcome-slide.prev {
    transform: translateX(-100%);
    visibility: visible;
}

/* ---------- Ken Burns (slow zoom) ---------- */
.kc-welcome.kc-kenburns .kc-welcome-slide.active img {
    animation: kc-kenburns 8s ease-out both;
}

@keyframes kc-kenburns {
    from { transform: scale(1)    translate(0, 0); }
    to   { transform: scale(1.08) translate(-1%, -1%); }
}

/* ---------- Arrows ---------- */
.kc-welcome-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255,255,255,.9);
    color: #292622;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.kc-welcome-arrow:hover {
    background-color: #292622;
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.kc-welcome-arrow:focus-visible {
    outline: 2px solid #292622;
    outline-offset: 3px;
}

.kc-welcome-prev { left: 20px; }
.kc-welcome-next { right: 20px; }

/* ---------- Dots ---------- */
.kc-welcome-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.kc-welcome-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255,255,255,.55);
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.kc-welcome-dot:hover { background-color: rgba(255,255,255,.85); }

.kc-welcome-dot.active {
    background-color: #ffffff;
    transform: scale(1.35);
}

/* ---------- Content column ---------- */
.split-content {
    display: flex;
    align-items: center;
    padding: 80px 11%;
    background: #e8e0d7;
}

.split-content p {
    color: #625a52;
    margin: 25px 0 35px;
}

/* Position toggle: image right (swap columns) */
.kc-welcome-pos-right {
    direction: rtl;
}
.kc-welcome-pos-right > * {
    direction: ltr;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }
    .split-image,
    .kc-welcome-slideshow {
        min-height: 500px;
    }
}

@media (max-width: 650px) {
    .split-image,
    .kc-welcome-slideshow {
        min-height: 400px;
    }

    .kc-welcome-arrow {
        width: 36px;
        height: 36px;
    }
    .kc-welcome-prev { left: 12px; }
    .kc-welcome-next { right: 12px; }

    .kc-welcome-dots { bottom: 16px; gap: 6px; }
    .kc-welcome-dot  { width: 7px; height: 7px; }
}
/* =====================================================
   FOOTER CREDIT — TransferTech
===================================================== */
.kc-footer-credit {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    font-size: 11px;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
}

.kc-footer-credit a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .25s ease;
}

.kc-footer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}
