/* =========================================================
   Just Kitchen Upgrade — theme styles
   Palette: orange #F8981D / burnt #CB4510 / charcoal #3A3A3A
   Fonts: Fraunces (display) + Nunito Sans (UI)
   ========================================================= */

:root {
  --jku-orange: #F8981D;
  --jku-orange-dark: #CB4510;
  --jku-orange-soft: #FDE8CF;
  --jku-ink: #292929;
  --jku-charcoal: #3A3A3A;
  --jku-taupe: #736C64;
  --jku-stone: #8B827A;
  --jku-mist: #EDEBEA;
  --jku-sand: #F3EFE8;
  --jku-cream: #FBF8F3;
  --jku-navy: #27455C;
  --jku-radius: 12px;
  --jku-shadow: 0 10px 30px -12px rgba(41,41,41,.18);
  --jku-shadow-lift: 0 26px 50px -22px rgba(41,41,41,.32);
  --jku-ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
::selection { background: var(--jku-orange-soft); color: var(--jku-ink); }

/* Section rhythm */
.jku-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.jku-section--tight { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.jku-section > * + * { margin-block-start: 0; }
.jku-section__head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.jku-section__head.is-left { margin-inline: 0; text-align: left; }
.jku-section__head > * + * { margin-top: .9rem; }
.jku-section__head p { color: var(--jku-taupe); font-size: 1.1rem; }

/* Eyebrow label */
.is-style-eyebrow, .jku-eyebrow {
  font-family: "Nunito Sans", sans-serif !important;
  font-weight: 800 !important; font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase;
  color: var(--jku-orange-dark) !important; display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem;
}
.is-style-eyebrow::before, .jku-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--jku-orange); border-radius: 2px; }
.has-text-align-center .is-style-eyebrow::after, .jku-section__head .is-style-eyebrow::after { content: ""; width: 26px; height: 3px; background: var(--jku-orange); border-radius: 2px; }

/* Headings: serif, slightly tight */
h1, h2, h3 { letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--jku-orange-dark); }

/* Buttons */
.wp-block-button__link { transition: transform .2s var(--jku-ease), box-shadow .2s var(--jku-ease), background-color .2s, color .2s; box-shadow: 0 6px 16px -8px rgba(203,69,16,.55); }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -10px rgba(203,69,16,.55); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--jku-ink); border: 2px solid var(--jku-charcoal); box-shadow: none; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--jku-charcoal); color: #fff; }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.85); box-shadow: none; backdrop-filter: blur(4px); }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--jku-ink); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--jku-orange-dark); padding: .4rem 0; box-shadow: none; text-decoration: none; border-bottom: 2px solid var(--jku-orange); border-radius: 0; }
.wp-block-button.is-style-ghost .wp-block-button__link::after { content: " →"; }
.jku-btn-lg .wp-block-button__link { font-size: 1.1rem; padding: 1.1rem 2.2rem; }

/* Cards */
.is-style-card, .jku-card {
  background: #fff; border-radius: var(--jku-radius); box-shadow: var(--jku-shadow); border: 1px solid rgba(58,58,58,.06);
  padding: 1.6rem; transition: transform .25s var(--jku-ease), box-shadow .25s var(--jku-ease);
}
.is-style-card:hover, .jku-card:hover { transform: translateY(-4px); box-shadow: var(--jku-shadow-lift); }
.is-style-card-dark { background: var(--jku-charcoal); color: #fff; border-radius: var(--jku-radius); padding: 1.6rem; }
.is-style-card-dark h3, .is-style-card-dark h4 { color: #fff; }
.is-style-rounded-lg img { border-radius: 16px; }

/* Checklist */
.is-style-checks { list-style: none; padding-left: 0; }
.is-style-checks li { position: relative; padding-left: 2rem; margin-bottom: .55rem; }
.is-style-checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--jku-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CB4510' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* =========================================================
   Header
   ========================================================= */
.jku-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 rgba(58,58,58,.08); }
.jku-topbar { font-size: .8125rem; }
.jku-topbar > .wp-block-group { padding: .45rem 0; gap: 1rem; }
.jku-topbar p { margin: 0; }
.jku-topbar a { color: #fff; text-decoration: none; opacity: .9; }
.jku-topbar a:hover { opacity: 1; color: var(--jku-orange); }
.jku-topbar__links { gap: 1.25rem; }
.jku-mainbar__row { padding: .7rem 0; gap: 1.5rem; }
.jku-mainbar__row > * { margin: 0; }

/* Logo (HTML/CSS so it stays crisp and editable) */
.jku-logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.jku-logo__main { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(1.65rem, 2.4vw, 2.1rem); letter-spacing: -.02em; color: var(--jku-ink); white-space: nowrap; }
.jku-logo__kitchen { color: var(--jku-orange); }
.jku-logo__sub { font-family: "Nunito Sans", sans-serif; font-weight: 800; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--jku-taupe); margin-top: .28rem; display: inline-flex; align-items: center; gap: .5rem; }
.jku-logo__sub::before, .jku-logo__sub::after { content: ""; width: 16px; height: 2px; background: var(--jku-orange); border-radius: 2px; }
.jku-logo--light .jku-logo__main { color: #fff; }
.jku-logo--light .jku-logo__sub { color: #CFC9C2; }

.jku-nav { font-size: .82rem; }
.jku-nav .wp-block-navigation-item__content { padding: .5rem .2rem; position: relative; }
.jku-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .1rem; height: 2px; background: var(--jku-orange); transform: scaleX(0); transition: transform .2s var(--jku-ease); transform-origin: left; }
.jku-nav .wp-block-navigation-item__content:hover::after, .jku-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.jku-nav .wp-block-navigation__submenu-container { border-radius: 10px; border: 1px solid rgba(58,58,58,.08); box-shadow: var(--jku-shadow-lift); padding: .5rem; min-width: 260px !important; }
.jku-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { text-transform: none; letter-spacing: 0; font-weight: 600; padding: .55rem .8rem; border-radius: 6px; }
.jku-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--jku-cream); color: var(--jku-orange-dark); }
.jku-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.jku-header__cta { gap: 1.1rem; }
.jku-header__phone { margin: 0; font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.jku-header__phone a { display: inline-flex; align-items: center; gap: .45rem; color: var(--jku-ink); text-decoration: none; }
.jku-header__phone a svg { color: var(--jku-orange); }
.jku-header__phone a:hover { color: var(--jku-orange-dark); }
.jku-header__cta .wp-block-button__link { padding: .8rem 1.4rem; font-size: .92rem; white-space: nowrap; }
.jku-nav .wp-block-navigation-item__content { white-space: nowrap; }
.jku-brand { flex: none; }
@media (max-width: 1400px) { .jku-mainbar__row { gap: 1rem; } .jku-nav { font-size: .78rem; } .jku-header__cta .wp-block-button__link { padding: .75rem 1.1rem; } }

@media (max-width: 1100px) {
  .jku-header__phone span { display: none; }
  .jku-nav { font-size: .76rem; }
}
@media (max-width: 782px) {
  .jku-topbar__note { display: none; }
  .jku-topbar > .wp-block-group { justify-content: center; }
  .jku-header__cta .wp-block-buttons { display: none; }
  .jku-mainbar__row { gap: .75rem; }
  .jku-nav .wp-block-navigation__responsive-container-open { padding: .4rem; border: 1.5px solid var(--jku-mist); border-radius: 8px; }
  .jku-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem 1.5rem; }
  .jku-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .4rem; }
  .jku-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.05rem; padding: .6rem 0; }
}

/* =========================================================
   Hero slider (4 slides, serif centred headline, dots + arrows)
   ========================================================= */
.jku-hero { position: relative; overflow: hidden; background: var(--jku-charcoal); }
.jku-hero__track { position: relative; min-height: clamp(460px, 62vw, 640px); }
.jku-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--jku-ease); min-height: clamp(460px, 62vw, 640px) !important; }
.jku-hero__slide.is-active { opacity: 1; z-index: 2; }
.jku-hero__slide .wp-block-cover__image-background { transform: scale(1.06); transition: transform 8s linear; }
.jku-hero__slide.is-active .wp-block-cover__image-background { transform: scale(1); }
.jku-hero__slide .wp-block-cover__inner-container { max-width: 980px; text-align: center; padding-bottom: clamp(5rem, 12vw, 8rem); }
.jku-hero__slide h1, .jku-hero__slide h2 { color: #fff; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: clamp(2.1rem, 5.2vw, 4.2rem); line-height: 1.08; text-shadow: 0 2px 24px rgba(0,0,0,.35); margin: 0 0 .9rem; }
.jku-hero__slide h1 em, .jku-hero__slide h2 em { color: #FFD9A3; font-style: italic; }
.jku-hero__sub { color: #fff; font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: clamp(1.1rem, 2.1vw, 1.5rem); text-shadow: 0 2px 16px rgba(0,0,0,.4); margin: 0 auto 1rem; max-width: 760px; }
.jku-hero__tag { color: rgba(255,255,255,.88); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 0 0 1.5rem; }
.jku-hero__slide .wp-block-buttons { justify-content: center; gap: .8rem; }
.jku-hero__slide .wp-block-buttons > * { opacity: 0; transform: translateY(14px); transition: opacity .6s .35s var(--jku-ease), transform .6s .35s var(--jku-ease); }
.jku-hero__slide.is-active .wp-block-buttons > * { opacity: 1; transform: none; }
.jku-hero__slide h1, .jku-hero__slide h2, .jku-hero__sub, .jku-hero__tag { opacity: 0; transform: translateY(16px); transition: opacity .7s .1s var(--jku-ease), transform .7s .1s var(--jku-ease); }
.jku-hero__slide.is-active h1, .jku-hero__slide.is-active h2, .jku-hero__slide.is-active .jku-hero__sub, .jku-hero__slide.is-active .jku-hero__tag { opacity: 1; transform: none; }
.jku-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.jku-hero__arrow:hover { background: var(--jku-orange); color: var(--jku-ink); }
.jku-hero__arrow--prev { left: clamp(.6rem, 2vw, 2rem); }
.jku-hero__arrow--next { right: clamp(.6rem, 2vw, 2rem); }
.jku-hero__dots { position: absolute; left: 0; right: 0; bottom: clamp(4.5rem, 10vw, 6.5rem); z-index: 5; display: flex; justify-content: center; gap: .55rem; }
.jku-hero__dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: transform .2s, background .2s; }
.jku-hero__dot.is-active { background: var(--jku-orange); transform: scale(1.25); }
@media (max-width: 600px) { .jku-hero__arrow { display: none; } }

/* Consultation card overlapping hero (orange top bar + notch) */
.jku-leadcard-wrap { position: relative; z-index: 6; margin-top: clamp(-4rem, -9vw, -6rem); }
.jku-leadcard { background: #fff; border-radius: 14px; box-shadow: var(--jku-shadow-lift); padding: clamp(1.5rem, 4vw, 3rem); position: relative; border-top: 6px solid var(--jku-orange); max-width: 900px; margin-inline: auto; }
.jku-leadcard::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); border: 16px solid transparent; border-top-color: var(--jku-orange); border-bottom: 0; }
.jku-leadcard h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.jku-leadcard > p { text-align: center; color: var(--jku-taupe); margin-bottom: 1.4rem; }
.jku-leadcard__badge { position: absolute; right: -14px; top: -34px; width: 110px; height: 110px; border-radius: 50%; background: var(--jku-orange); color: var(--jku-ink); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .72rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 10px 24px -8px rgba(203,69,16,.6); transform: rotate(8deg); border: 4px solid #fff; }
.jku-leadcard__badge strong { display: block; font-family: Fraunces, serif; font-size: 1.5rem; letter-spacing: 0; text-transform: none; }
@media (max-width: 782px) { .jku-leadcard__badge { width: 86px; height: 86px; right: 4px; top: -30px; font-size: .6rem; } .jku-leadcard__badge strong { font-size: 1.2rem; } }

/* Forms */
.jku-form { display: grid; gap: .9rem; }
.jku-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.jku-form__grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.jku-form__grid > .is-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .jku-form__grid, .jku-form__grid.is-3 { grid-template-columns: 1fr; } }
.jku-field { display: grid; gap: .35rem; }
.jku-field label { font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--jku-charcoal); text-transform: uppercase; }
.jku-field input, .jku-field select, .jku-field textarea { width: 100%; font: inherit; padding: .85rem 1rem; border: 1.5px solid #D9D4CC; border-radius: 8px; background: #fff; color: var(--jku-ink); transition: border-color .2s, box-shadow .2s; }
.jku-field input:focus, .jku-field select:focus, .jku-field textarea:focus { outline: 0; border-color: var(--jku-orange); box-shadow: 0 0 0 4px rgba(248,152,29,.22); }
.jku-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3A3A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.jku-form__steps { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 800; color: var(--jku-taupe); text-transform: uppercase; letter-spacing: .08em; }
.jku-form__bar { flex: 1; height: 6px; background: var(--jku-mist); border-radius: 4px; margin: 0 1rem; overflow: hidden; }
.jku-form__bar i { display: block; height: 100%; width: 50%; background: var(--jku-orange); border-radius: 4px; transition: width .4s var(--jku-ease); }
.jku-form__step[hidden] { display: none; }
.jku-form__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.jku-form__submit { font: inherit; font-weight: 800; font-size: 1.05rem; padding: 1rem 2.2rem; border: 0; border-radius: 8px; background: var(--jku-orange); color: var(--jku-ink); cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; box-shadow: 0 10px 20px -10px rgba(203,69,16,.6); }
.jku-form__submit:hover { background: var(--jku-orange-dark); color: #fff; transform: translateY(-2px); }
.jku-form__submit[disabled] { opacity: .6; cursor: progress; }
.jku-form__back { font: inherit; font-weight: 700; background: none; border: 0; color: var(--jku-taupe); cursor: pointer; text-decoration: underline; }
.jku-form__fine { font-size: .74rem; color: var(--jku-stone); text-align: center; margin: 0; }
.jku-form__alt { text-align: center; font-weight: 700; margin: .25rem 0 0; }
.jku-form__alt a { color: var(--jku-orange-dark); text-decoration: none; }
.jku-form__msg { padding: 1rem 1.2rem; border-radius: 8px; font-weight: 700; display: none; }
.jku-form__msg.is-ok { display: block; background: #E8F5EC; color: #1F5E38; }
.jku-form__msg.is-err { display: block; background: #FDE8E4; color: #9B2C13; }
.jku-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.jku-trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; font-size: .82rem; font-weight: 700; color: var(--jku-taupe); margin-top: 1rem; }
.jku-trustline span::before { content: "✔ "; color: var(--jku-orange-dark); }

/* =========================================================
   Testimonials slider
   ========================================================= */
.jku-reviews { position: relative; }
.jku-reviews__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .25rem 1.25rem; }
.jku-reviews__track::-webkit-scrollbar { display: none; }
.jku-review { flex: 0 0 min(100%, 340px); scroll-snap-align: start; background: #fff; border-radius: var(--jku-radius); padding: 1.6rem; box-shadow: var(--jku-shadow); border: 1px solid rgba(58,58,58,.06); display: flex; flex-direction: column; gap: .7rem; }
.jku-review h3 { font-family: "Nunito Sans", sans-serif; font-size: 1.05rem; font-weight: 800; margin: 0; }
.jku-stars { color: var(--jku-orange); letter-spacing: .1em; font-size: 1.1rem; }
.jku-review blockquote { margin: 0; border: 0; padding: 0; font-style: italic; font-family: Fraunces, serif; font-size: 1.02rem; color: var(--jku-charcoal); line-height: 1.55; flex: 1; }
.jku-review cite { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--jku-taupe); }
.jku-review cite::before { content: "— "; }
.jku-reviews__nav { display: flex; justify-content: center; gap: .6rem; margin-top: .5rem; }
.jku-reviews__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--jku-mist); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--jku-charcoal); transition: background .2s, color .2s, border-color .2s; }
.jku-reviews__btn:hover { background: var(--jku-orange); border-color: var(--jku-orange); color: var(--jku-ink); }
.jku-rating-summary { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border-radius: 999px; padding: .5rem 1.1rem; box-shadow: var(--jku-shadow); font-weight: 800; font-size: .9rem; }

/* =========================================================
   Trust points (5 columns)
   ========================================================= */
.jku-trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.jku-trust__item { text-align: center; }
.jku-trust__item .wp-block-image { margin: 0 0 1rem; }
.jku-trust__lead { margin: 0 0 .4rem; }
.jku-trust__item img { width: 100%; border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1rem; }
.jku-trust__item h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.jku-trust__item strong { display: block; color: var(--jku-orange-dark); font-size: .9rem; margin-bottom: .4rem; }
.jku-trust__item p { font-size: .92rem; color: var(--jku-taupe); margin: 0; }
@media (max-width: 1024px) { .jku-trust { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .jku-trust { grid-template-columns: 1fr 1fr; gap: 1rem; } .jku-trust__item h3 { font-size: 1.1rem; } }

/* =========================================================
   Before / After compare slider
   ========================================================= */
.jku-ba { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .jku-ba { grid-template-columns: 1fr; } }
.jku-compare { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--jku-shadow); user-select: none; background: var(--jku-mist); }
.jku-compare .wp-block-image { position: absolute; inset: 0; margin: 0; }
.jku-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jku-compare__after { clip-path: inset(0 0 0 50%); }
.jku-compare__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.jku-compare__handle::after { content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--jku-orange); color: var(--jku-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.jku-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.jku-compare__label { position: absolute; top: .8rem; padding: .3rem .7rem; border-radius: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.jku-compare__label--before { left: .8rem; background: rgba(41,41,41,.75); color: #fff; }
.jku-compare__label--after { right: .8rem; background: var(--jku-orange); color: var(--jku-ink); }
.jku-ba__caption { margin-top: .9rem; }
.jku-ba__caption h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.jku-ba > .wp-block-group { margin: 0; }
.jku-ba__caption p { color: var(--jku-taupe); font-size: .95rem; margin: 0; }

/* =========================================================
   Services grid
   ========================================================= */
.jku-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .jku-services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .jku-services { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 420px) { .jku-services { grid-template-columns: 1fr; } }
.jku-service { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--jku-shadow); border: 1px solid rgba(58,58,58,.06); transition: transform .25s var(--jku-ease), box-shadow .25s var(--jku-ease); display: flex; flex-direction: column; }
.jku-service:hover { transform: translateY(-5px); box-shadow: var(--jku-shadow-lift); }
.jku-service .wp-block-image { margin: 0; }
.jku-service img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.jku-service__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.jku-service__body h3 { font-size: 1.22rem; margin: 0; }
.jku-service__body h3 a { color: inherit; text-decoration: none; }
.jku-service__body h3 a::after { content: ""; position: absolute; inset: 0; }
.jku-service__body p:not([class]) { font-size: .93rem; color: var(--jku-taupe); margin: 0; flex: 1; }
.jku-service__meta { margin: 0; font-size: .78rem; font-weight: 800; color: var(--jku-orange-dark); letter-spacing: .06em; text-transform: uppercase; }
.jku-service__link { margin: 0; font-weight: 800; color: var(--jku-ink); font-size: .9rem; }
.jku-service__link::after { content: " →"; color: var(--jku-orange-dark); }
.jku-service--featured { grid-column: span 2; }
@media (max-width: 420px) { .jku-service--featured { grid-column: span 1; } }

/* Kitchen styles (4 tiles with hover reveal) */
.jku-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .jku-styles { grid-template-columns: repeat(2, 1fr); } }
.jku-style { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--jku-shadow); }
.jku-style .wp-block-image { margin: 0; height: 100%; }
.jku-style .wp-block-image a { display: block; height: 100%; }
.jku-style img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--jku-ease); }
.jku-style:hover img { transform: scale(1.06); }
.jku-style__cap { position: absolute; inset: auto 0 0 0; padding: 1.2rem; color: #fff; background: linear-gradient(180deg, rgba(41,41,41,0) 0%, rgba(41,41,41,.85) 100%); }
.jku-style__cap h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.35rem; }
.jku-style__cap p { margin: 0; font-size: .88rem; opacity: .92; }
.jku-style__cap { pointer-events: none; }

/* Process steps */
.jku-process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; counter-reset: step; position: relative; }
.jku-process::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--jku-orange) 0 10px, transparent 10px 18px); opacity: .6; }
@media (max-width: 1024px) { .jku-process { grid-template-columns: repeat(3, 1fr); } .jku-process::before { display: none; } }
@media (max-width: 560px) { .jku-process { grid-template-columns: 1fr 1fr; } }
.jku-step { position: relative; text-align: center; }
.jku-step__num { counter-increment: step; width: 56px; height: 56px; border-radius: 50%; background: var(--jku-orange); color: var(--jku-ink); display: grid; place-items: center; font-family: Fraunces, serif; font-weight: 600; font-size: 1.4rem; margin: 0 auto .9rem; position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff, 0 10px 20px -10px rgba(203,69,16,.6); }
.jku-step__num::before { content: counter(step); }
.jku-step h3 { font-size: 1.1rem; margin: 0 0 .35rem; font-family: "Nunito Sans", sans-serif; font-weight: 800; }
.jku-step p { font-size: .9rem; color: var(--jku-taupe); margin: 0; }

/* Why us (icon grid) */
.jku-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .jku-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .jku-why { grid-template-columns: 1fr; } }
.jku-why__item { background: #fff; border-radius: 14px; padding: 1.6rem; box-shadow: var(--jku-shadow); border: 1px solid rgba(58,58,58,.06); display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.jku-why__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--jku-orange-soft); color: var(--jku-orange-dark); display: grid; place-items: center; }
.jku-why__icon svg { width: 28px; height: 28px; }
.jku-why__item h3 { font-size: 1.15rem; margin: 0 0 .3rem; font-family: "Nunito Sans", sans-serif; font-weight: 800; }
.jku-why__item p { margin: 0; font-size: .93rem; color: var(--jku-taupe); }

/* Gallery */
.jku-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .jku-gallery { grid-template-columns: repeat(2, 1fr); } }
.jku-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; box-shadow: var(--jku-shadow); }
.jku-gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; transition: transform .6s var(--jku-ease); }
.jku-gallery figure:hover img { transform: scale(1.05); }
.jku-gallery figcaption { margin: 0; text-align: left; position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem .9rem; color: #fff; background: linear-gradient(180deg, rgba(41,41,41,0) 0%, rgba(41,41,41,.85) 100%); font-size: .9rem; }
.jku-gallery figcaption strong { display: block; font-family: Fraunces, serif; font-size: 1.15rem; font-weight: 500; }

/* Stats band */
.jku-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 720px) { .jku-stats { grid-template-columns: repeat(2, 1fr); } }
.jku-stat strong { display: block; font-family: Fraunces, serif; font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--jku-orange); line-height: 1; }
.jku-stat span { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .04em; text-transform: uppercase; }

/* Split feature (image + text) */
.jku-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .jku-split { grid-template-columns: 1fr; } }
.jku-split.is-reverse > :first-child { order: 2; }
@media (max-width: 860px) { .jku-split.is-reverse > :first-child { order: 0; } }
.jku-split > .wp-block-image { margin: 0; }
.jku-split img { border-radius: 18px; box-shadow: var(--jku-shadow-lift); display: block; width: 100%; }
.jku-split > .wp-block-group > :first-child { margin-top: 0; }
.jku-split h2 { margin-top: 0; }

/* FAQ */
.jku-faq { max-width: 860px; margin-inline: auto; display: grid; gap: .75rem; }
.is-style-faq, .jku-faq details { background: #fff; border: 1px solid rgba(58,58,58,.1); border-radius: 12px; padding: 0; overflow: hidden; }
.jku-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem; font-weight: 800; font-size: 1.05rem; position: relative; color: var(--jku-ink); }
.jku-faq summary::-webkit-details-marker { display: none; }
.jku-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--jku-orange-soft); color: var(--jku-orange-dark); display: grid; place-items: center; font-weight: 800; transition: transform .25s, background .25s; }
.jku-faq details[open] summary::after { content: "–"; background: var(--jku-orange); color: var(--jku-ink); }
.jku-faq details[open] summary { color: var(--jku-orange-dark); }
.jku-faq details > *:not(summary) { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--jku-charcoal); }
.jku-faq details > p + p { padding-top: .6rem; }

/* Blog cards */
.jku-postgrid { gap: 1.25rem !important; }
.jku-card--post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.jku-card--post .wp-block-post-featured-image img { aspect-ratio: 3/2; object-fit: cover; }
.jku-card--post > *:not(.wp-block-post-featured-image) { padding-inline: 1.3rem; }
.jku-card--post .wp-block-post-title { margin: .4rem 0 .5rem; font-size: 1.25rem; }
.jku-card--post .wp-block-post-title a { text-decoration: none; color: inherit; }
.jku-card--post .wp-block-post-excerpt { padding-bottom: 1.3rem; color: var(--jku-taupe); }
.jku-card--post .wp-block-post-excerpt__more-link { color: var(--jku-orange-dark); font-weight: 800; text-decoration: none; }
.jku-card__tag { margin-top: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jku-card__tag a { color: var(--jku-orange-dark); text-decoration: none; }

/* CTA band */
.jku-cta { background: var(--jku-charcoal); color: #fff; position: relative; overflow: hidden; }
.jku-cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(248,152,29,.35) 0%, rgba(248,152,29,0) 65%); right: -120px; top: -200px; pointer-events: none; }
.jku-cta h2 { color: #fff; }
.jku-cta p { color: rgba(255,255,255,.85); }
.jku-cta__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .jku-cta__row { grid-template-columns: 1fr; } }
.jku-cta .wp-block-buttons { gap: .8rem; }
.jku-cta__phone { font-family: Fraunces, serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; text-decoration: none; display: block; }
.jku-cta__phone:hover { color: var(--jku-orange); }

/* Canada map */
.jku-map { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .jku-map { grid-template-columns: 1fr; } }
.jku-map__svg { height: clamp(320px, 70vh, 620px); width: auto; max-width: 100%; display: block; margin-inline: auto; filter: drop-shadow(0 10px 14px rgba(203,69,16,.12)); }
.jku-map__prov { fill: #FDD9AE; stroke: #fff; stroke-width: 1.2; cursor: pointer; transition: fill .2s var(--jku-ease); outline: 0; }
.jku-map__prov:hover, .jku-map__prov:focus, .jku-map__prov.is-hot { fill: var(--jku-orange); }
.jku-map__tooltip { position: absolute; pointer-events: none; background: var(--jku-ink); color: #fff; font-size: .8rem; font-weight: 800; padding: .4rem .7rem; border-radius: 6px; transform: translate(-50%, -130%); opacity: 0; transition: opacity .15s; white-space: nowrap; z-index: 3; }
.jku-map__tooltip.is-on { opacity: 1; }
.jku-map__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem; }
.jku-map__list a { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border-radius: 8px; background: #fff; border: 1px solid rgba(58,58,58,.08); color: var(--jku-ink); text-decoration: none; font-weight: 700; font-size: .9rem; transition: background .2s, border-color .2s, transform .2s; }
.jku-map__list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jku-orange); flex: none; }
.jku-map__list a:hover, .jku-map__list a.is-hot { background: var(--jku-orange-soft); border-color: var(--jku-orange); transform: translateX(3px); }

/* Page hero / breadcrumbs */
.jku-pagehero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.jku-pagehero h1 { margin: .3rem 0 0; }
.jku-pagehero--post h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.jku-crumbs { color: var(--jku-taupe); margin: 0; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.jku-crumbs a { color: var(--jku-orange-dark); text-decoration: none; }
.jku-crumbs span { margin: 0 .4rem; }
.jku-postmeta { color: var(--jku-taupe); margin-top: .75rem; }
.jku-content { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.jku-prose p, .jku-prose li { font-size: 1.08rem; line-height: 1.75; }
.jku-prose h2 { margin-top: 2.2rem; }
.jku-prose h3 { margin-top: 1.8rem; }
.jku-answer { background: var(--jku-cream); border-left: 4px solid var(--jku-orange); padding: 1.1rem 1.4rem; border-radius: 0 12px 12px 0; font-size: 1.1rem; }

/* Service page hero */
.jku-svchero { background: var(--jku-cream); }
.jku-svchero .jku-split { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.jku-svchero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: .3rem 0 1rem; }
.jku-svchero__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.jku-svchero__facts li { background: #fff; border: 1px solid rgba(58,58,58,.1); border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; font-weight: 800; }
.jku-svchero__facts li::before { content: "✔ "; color: var(--jku-orange-dark); }

/* Pricing-ish comparison table */
.jku-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--jku-shadow); }
.jku-table th, .jku-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--jku-mist); }
.jku-table th { background: var(--jku-charcoal); color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.jku-table tr:last-child td { border-bottom: 0; }
.jku-table td strong { color: var(--jku-orange-dark); }

/* Mobile sticky action bar */
.jku-mobilebar { display: none; }
@media (max-width: 782px) {
  .jku-mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; box-shadow: 0 -8px 24px rgba(41,41,41,.14); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .6rem; }
  .jku-mobilebar a { text-decoration: none; text-align: center; font-weight: 800; padding: .85rem; border-radius: 8px; font-size: .95rem; }
  .jku-mobilebar__call { background: var(--jku-charcoal); color: #fff; }
  .jku-mobilebar__quote { background: var(--jku-orange); color: var(--jku-ink); }
  body { padding-bottom: 76px; }
}

/* Footer */
.jku-footer { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; }
.jku-footer__top { gap: 2rem 3rem; align-items: flex-start; }
.jku-footer__brand { max-width: 340px; }
.jku-footer__brand .jku-logo { margin-bottom: 1rem; }
.jku-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.jku-footer a { color: #E3DED8; text-decoration: none; }
.jku-footer a:hover { color: var(--jku-orange); }
.jku-footer .is-style-plain { list-style: none; padding: 0; margin: 0; }
.jku-footer .is-style-plain li { margin-bottom: .45rem; font-size: .93rem; }
.jku-footer__badges { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: #BDB5AC; }
.jku-footer__sep { opacity: .18; margin: 2.5rem 0 1.5rem !important; width: 100% !important; max-width: none; }
.jku-footer__bottom { color: #A39B92; gap: 1rem; }
.jku-footer__bottom p { margin: 0; }
.jku-footer .wp-block-button__link { padding: .8rem 1.4rem; font-size: .9rem; }
@media (max-width: 860px) { .jku-footer__top { display: grid; grid-template-columns: 1fr 1fr; } .jku-footer__brand { grid-column: 1 / -1; max-width: none; } }

/* Search block */
.jku-search .wp-block-search__input { border-radius: 8px; padding: .8rem 1rem; border: 1.5px solid #D9D4CC; }
.jku-search .wp-block-search__button { border-radius: 8px; background: var(--jku-orange); color: var(--jku-ink); border: 0; font-weight: 800; }

/* Pagination */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { font-weight: 800; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { color: var(--jku-orange-dark); }

/* Reveal on scroll */
.jku-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--jku-ease), transform .7s var(--jku-ease); }
.jku-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .jku-reveal { opacity: 1; transform: none; transition: none; } .jku-hero__slide, .jku-hero__slide * { transition: none !important; } }

/* Editor-only niceties */
.editor-styles-wrapper .jku-hero__slide { position: relative; opacity: 1; }
.editor-styles-wrapper .jku-hero__slide h1, .editor-styles-wrapper .jku-hero__slide h2, .editor-styles-wrapper .jku-hero__sub, .editor-styles-wrapper .jku-hero__tag, .editor-styles-wrapper .jku-hero__slide .wp-block-buttons > * { opacity: 1; transform: none; }
.editor-styles-wrapper .jku-mobilebar { display: none !important; }
.editor-styles-wrapper .jku-header { position: static; }
.jku-header.is-scrolled .jku-topbar { display: none; }
.jku-header.is-scrolled .jku-mainbar__row { padding: .45rem 0; }

.wp-block-post-featured-image a:has(.jku-fallback-thumb), .jku-fallback-thumb { display:block; }
.jku-card--post .wp-block-post-featured-image .jku-fallback-thumb { aspect-ratio: 3/2; object-fit: cover; width: 100%; }

/* Mobile hero + lead card refinements */
@media (max-width: 782px) {
  .jku-hero__track, .jku-hero__slide { min-height: 560px !important; }
  .jku-hero__slide .wp-block-cover__inner-container { padding: 1rem .5rem 6.5rem; }
  .jku-hero__slide h1, .jku-hero__slide h2 { font-size: 2rem; }
  .jku-hero__sub { font-size: 1.05rem; }
  .jku-hero__tag { font-size: .72rem; letter-spacing: .08em; }
  .jku-hero__slide .wp-block-buttons > * { width: 100%; }
  .jku-hero__slide .wp-block-button__link { width: 100%; }
  .jku-hero__dots { bottom: 5.2rem; }
  .jku-leadcard { padding-top: 2.6rem; }
  .jku-leadcard__badge { width: 74px; height: 74px; right: 10px; top: -22px; font-size: .52rem; border-width: 3px; }
  .jku-leadcard__badge strong { font-size: 1.05rem; }
  .jku-leadcard h2 { padding-right: 2.5rem; text-align: left; font-size: 1.5rem; }
  .jku-leadcard > p { text-align: left; }
  .jku-topbar__links { gap: .75rem; font-size: .75rem; }
}
*, *::before, *::after { box-sizing: border-box; }
.jku-form__grid > * { min-width: 0; }
.jku-main > .wp-block-post-content > * + *, .jku-main > .wp-block-post-content > :first-child { margin-block-start: 0; }
.jku-main > .wp-block-post-content > * + * { margin-block-end: 0; }
.wp-site-blocks > .jku-main, .wp-site-blocks > * + * { margin-block-start: 0 !important; }
.jku-hero__track > .wp-block-cover { margin: 0 !important; }
.jku-prose .jku-why, .jku-prose .jku-process { width: min(1200px, calc(100vw - 3rem)); position: relative; left: 50%; transform: translateX(-50%); margin-block: 2rem 2.5rem; }
.jku-prose .jku-why__item p, .jku-prose .jku-step p { font-size: .93rem; line-height: 1.55; }
.jku-prose .jku-why__icon { font-size: 1.5rem; }
.jku-map__list li:not(:has(a)) { padding: .55rem .8rem; border-radius: 8px; background: #fff; border: 1px solid rgba(58,58,58,.08); font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: .5rem; }
.jku-map__list li:not(:has(a))::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jku-orange); flex: none; }
.jku-leadcard-wrap--flat { margin-top: 0; }

/* Neutralise the flow-layout block gap inside our grid/card groups (spacing is handled by the components themselves). */
.jku-services > *, .jku-service > *, .jku-service__body > *, .jku-ba > *, .jku-ba > * > *, .jku-compare > *, .jku-ba__caption > *, .jku-gallery > *, .jku-styles > *, .jku-style > *, .jku-style__cap > *, .jku-trust > *, .jku-trust__item > *, .jku-split > *, .jku-split > .wp-block-group > * { margin-block-start: 0; }
.jku-split > .wp-block-group > * + * { margin-block-start: .9rem; }
.jku-split > .wp-block-group > h2 { margin-block-start: .4rem; }
.jku-trust__item > h3 { margin-block-start: 0; }

/* Uploaded logo (Site Images → Logo & favicon) */
.jku-logo--img img { display: block; height: clamp(46px, 4.6vw, 66px); width: auto; max-width: 230px; object-fit: contain; }
.jku-footer__brand .jku-logo--img img { height: 64px; }
