/*
 * Modern layer (inspired by gomberamd.com): heavy geometric sans headings, one pill button style,
 * red gradients and soft glows, rounded dark cards. CSS only: page text, headings and links are unchanged.
 */
:root {
  --m-head: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --m-red: #9b0e10;
  --m-red-2: #c0161b;
  --m-red-3: #5e0709;
  --m-ink: #15171a;
  --m-grad: linear-gradient(135deg, #c0161b 0%, #9b0e10 45%, #5e0709 100%);
  --m-glow: radial-gradient(circle, rgba(192, 22, 27, .32), transparent 62%);
}

/* ---------- headings: modern heavy sans instead of the serif ---------- */
h1, h2, h3, h4, .entry-title, .large-title, .medium-title, .vc_custom_heading:not(.kbs_text),
.kbs_top_heading h2, .kbs_top_heading h3, #kbs-nap h3, .blog-list-row .title, .widget-title,
.contact-form-title h3, .kx-jaw .kx-jaw-title {
  font-family: var(--m-head) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
.entry-content h3, .wpb_text_column h3 { font-weight: 700 !important; }
.color-red, .large-title.color-red { color: var(--m-red) !important; }

/* ---------- one button style everywhere ---------- */
.button, a.button, .button.active, .button.lg, input.wpcf7-submit, .vc_btn3, .kx-book, .kbs_submit input,
.kx-hero .kbs_top_button .button, .kx-hero a.button.kbs_tag_form, .meet-btn .button {
  background: var(--m-grad) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: 14px 28px !important; min-height: 0;
  font: 700 15px/1.2 var(--m-head) !important; letter-spacing: 0 !important; text-transform: none !important;
  box-shadow: 0 10px 24px -10px rgba(155, 14, 16, .65) !important;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, filter .25s !important;
  display: inline-flex !important; align-items: center; justify-content: center; text-decoration: none !important;
}
.button::before, .button::after { display: none !important; }
.button:hover, a.button:hover, input.wpcf7-submit:hover, .vc_btn3:hover, .kx-book:hover {
  transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 30px -12px rgba(155, 14, 16, .75) !important; color: #fff !important;
}
.kx-book { padding: 10px 20px !important; font-size: 14px !important; }

/* ---------- menu with gradient ---------- */
@media (min-width: 992px) {
  .kx-bar {
    background:
      radial-gradient(600px 120px at 85% -40%, rgba(192, 22, 27, .14), transparent 70%),
      linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 246, 246, .96)) !important;
    position: relative;
  }
  .kx-bar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #c0161b, #ff6b6e, #9b0e10, transparent); background-size: 200% 100%;
    animation: m-flow 8s linear infinite; opacity: .85;
  }
  .kx-link { font-family: var(--m-head) !important; font-weight: 600 !important; }
  .kx-link:hover, .kx-link[aria-expanded="true"] { background: linear-gradient(135deg, rgba(192, 22, 27, .1), rgba(155, 14, 16, .04)) !important; color: var(--m-red) !important; }
  .kx-panel { background: linear-gradient(180deg, #fff 0%, #fff6f6 100%) !important; }
  .kx-tile:hover { background: #fff !important; box-shadow: 0 14px 34px -18px rgba(155, 14, 16, .45); }
  .kx-illo { color: var(--m-red) !important; }
}
@keyframes m-flow { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* live office hours */
.kx-status { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--m-head); color: #5c6168; white-space: nowrap; }
.kx-dot { width: 8px; height: 8px; border-radius: 50%; background: #b8bdc3; box-shadow: 0 0 0 3px rgba(184, 189, 195, .25); }
.kx-status.is-open { color: #17733a; }
.kx-status.is-open .kx-dot { background: #1f9d4c; box-shadow: 0 0 0 3px rgba(31, 157, 76, .2); animation: m-pulse 2s infinite; }
@keyframes m-pulse { 50% { box-shadow: 0 0 0 6px rgba(31, 157, 76, 0); } }
@media (max-width: 1240px) { .kx-status-compact { display: none; } }
.kx-hours { margin: 18px auto 0; max-width: 360px; text-align: left; }
.kx-hours .kx-status { font-size: 14px; margin-bottom: 10px; }
.kx-week { width: 100%; border-collapse: collapse; font-size: 14px; }
.kx-week th, .kx-week td { padding: 6px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); text-align: left; font-weight: 500; }
.kx-week td { text-align: right; color: #5c6168; }
.kx-week tr.is-today th, .kx-week tr.is-today td { color: var(--m-red); font-weight: 700; }

/* ---------- hero: proper "Hi" ---------- */
.kx-hero.vc_custom_1672314230225 {
  background:
    radial-gradient(900px 520px at 78% 50%, rgba(192, 22, 27, .38), transparent 62%),
    radial-gradient(600px 400px at 10% 110%, rgba(255, 107, 110, .16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(160deg, #120405 0%, #0a0b0d 55%, #1a0506 100%) !important;
}
.kx-hi { color: #fff !important; font: 700 clamp(1.25rem, 1rem + .9vw, 1.7rem)/1.3 var(--m-head) !important; margin: 0 0 22px !important; max-width: 24ch; }
.kx-hi-big {
  display: block; font: 800 clamp(4.2rem, 3rem + 5vw, 7.5rem)/.9 var(--m-head); letter-spacing: -0.04em; margin-bottom: 8px;
  background: linear-gradient(120deg, #ffffff 10%, #ff8a8d 45%, #c0161b 75%, #ff5a5f 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: m-flow 9s ease-in-out infinite alternate;
}
.kx-hero .kbs_top_heading h2 {
  font-size: clamp(1rem, .9rem + .4vw, 1.25rem) !important; line-height: 1.3 !important; letter-spacing: .12em !important;
  color: #ff9a9d !important; margin: 0 0 6px !important;
}
.kx-hero .kbs_top_heading h3 { font: 500 1.05rem/1.5 var(--kx-sans, sans-serif) !important; color: #d9dde2 !important; opacity: 1; margin-bottom: 26px !important; }
.kx-areas { color: #aab3bb !important; }
.kx-call { text-decoration-color: #ff5a5f !important; }
@media (prefers-reduced-motion: reduce) { .kx-hi-big, .kx-bar::after { animation: none; } }

/* ---------- prices row: rounded media with glow ---------- */
.vc_single_image-img { border-radius: 22px; }
.wpb_single_image .vc_single_image-wrapper { border-radius: 22px; overflow: hidden; }

/* ---------- services we offer: chips + dark glowing card (no boxes, no stock photos) ---------- */
.service-top-area {
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(192, 22, 27, .10), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbf3f3 100%) !important;
}
.service-top-area .large-title, .service-top-area h2 { color: var(--m-ink) !important; }
ul.services-list.desktop { display: flex !important; flex-wrap: wrap; gap: 12px !important; justify-content: center; }
ul.services-list .item { margin: 0 !important; width: auto !important; flex: 0 0 auto !important; }
ul.services-list .item a {
  display: inline-flex !important; align-items: center; height: auto !important; min-height: 0 !important; width: auto !important;
  padding: 13px 22px !important; border: 1px solid rgba(155, 14, 16, .18) !important; border-radius: 999px !important;
  background: #fff !important; color: var(--m-ink) !important; box-shadow: 0 8px 22px -16px rgba(0, 0, 0, .35);
  font: 700 15px/1.2 var(--m-head) !important; text-transform: none !important; letter-spacing: 0 !important;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
ul.services-list .item a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(155, 14, 16, .55); }
ul.services-list .item a.active { background: var(--m-grad) !important; color: #fff !important; border-color: transparent !important; }
select.service-list { border-radius: 999px; padding: 12px 18px; border: 1px solid rgba(155, 14, 16, .25); font: 600 15px var(--m-head); }

.services-bio-area {
  background:
    radial-gradient(520px 360px at 82% 40%, rgba(192, 22, 27, .45), transparent 65%),
    radial-gradient(400px 300px at 0% 100%, rgba(255, 107, 110, .12), transparent 60%),
    linear-gradient(150deg, #170506 0%, #0b0c0e 60%, #1c0607 100%) !important;
  background-image: none;
}
.services-bio-area.vc_custom_1553547147837 { background-color: #0b0c0e !important; }
.services-bio-area .services-bio { display: none; }
.services-bio { padding: clamp(40px, 6vw, 80px) 0 !important; }
.services-bio > .wpb_column:first-child { display: none; }
.services-bio > .wpb_column:nth-child(2) { width: 55% !important; padding-left: clamp(20px, 5vw, 80px); }
.services-bio > .wpb_column:last-child { width: 45% !important; }
.services-bio > .wpb_column:last-child .vc_column-inner {
  min-height: 360px; border-radius: 28px; margin-right: clamp(20px, 5vw, 80px);
  background: center / cover no-repeat; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
#wisdom-teeth-removal > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/wisdom-teeth-img.jpg); }
#x-rays-and-imaging > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/x-rays-imaging-img.jpg); }
#dental-implants > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/dental-implants-cover-img.jpg); }
#bone-grafting > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/bone-grafting-img.jpg); }
#iv-sedation > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/x-rays-imaging-cover-img.jpg); }
#facial-trauma > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/facial-trauma-img.jpg); }
#oral-pathology > .wpb_column:last-child .vc_column-inner { background-image: url(/wp-content/uploads/2019/01/oral-pathology-cover-img.jpg); }
.services-bio h3 { color: #fff !important; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem) !important; text-align: left !important; margin-bottom: 16px !important; }
.services-bio p { color: #c9ced4 !important; text-align: left !important; }
.services-bio .wpb_text_column .wpb_wrapper { text-align: left !important; }
@media (max-width: 767px) {
  .services-bio > .wpb_column:nth-child(2), .services-bio > .wpb_column:last-child { width: 100% !important; padding: 0 20px; }
  .services-bio > .wpb_column:last-child .vc_column-inner { min-height: 240px; margin: 20px 0 0; }
}

/* ---------- patient testimonials: dark gradient, glass cards ---------- */
.parallax-bg.vc_parallax { background: linear-gradient(160deg, #150405 0%, #0b0c0e 50%, #1d0607 100%) !important; position: relative; }
.parallax-bg.vc_parallax::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 20% 20%, rgba(192, 22, 27, .35), transparent 65%), radial-gradient(600px 400px at 85% 90%, rgba(255, 107, 110, .14), transparent 60%);
}
.parallax-bg .vc_parallax-inner { display: none !important; }
.parallax-bg h3.large-title { color: #fff !important; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem) !important; }
.kbs_reviews { gap: 22px; }
.kbs_reviews_box .vc_column-inner {
  border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 26px !important; padding: 44px 28px 30px !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: auto !important; min-height: 420px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); text-align: left !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.kbs_reviews_box .vc_column-inner:hover { transform: translateY(-4px); border-color: rgba(255, 107, 110, .45) !important; }
.kbs_reviews_box .vc_column-inner::before {
  content: "\201C" !important; position: absolute; top: 10px !important; left: 24px !important; right: auto !important;
  padding: 0 !important; border: 0 !important; transform: none !important; background: none !important;
  font: 800 64px/1 var(--m-head); color: #ff5a5f; opacity: .9;
}
.kbs_reviews_box .vc_column-inner::after { display: none !important; }
.kbs_reviews_box h3 { color: #fff !important; font: 700 1.2rem/1.2 var(--m-head) !important; text-align: left !important; margin-top: 18px !important; }
.kbs_reviews_box .wpb_text_column p { color: #d3d8dd !important; text-align: left !important; font-size: 15.5px; line-height: 1.65; }
.kbs_reviews_box .dnxte-review-social { text-align: left !important; }
.fa-star::before { color: #ff5a5f !important; }

/* ---------- footer disclaimer: compact ---------- */
.site-info .kcos-footer-disclaimer { font-size: 12px !important; line-height: 1.5 !important; max-width: 980px !important; margin: 0 auto 8px !important; padding-bottom: 8px !important; }
.site-info .kcos-footer-copyright, .site-info .kcos-footer-credit, .site-info .kcos-footer-links { font-size: 12px !important; }

/* ---------- hero: about 30% smaller overall (client request) ---------- */
.kx-hero.vc_custom_1672314230225 { padding: clamp(24px, 3.2vw, 52px) 0 !important; }
.kx-hero-3d { height: clamp(260px, 29vw, 420px); }
.kx-hi { font-size: clamp(1.05rem, .9rem + .6vw, 1.3rem) !important; margin-bottom: 14px !important; }
.kx-hi-big { font-size: clamp(3rem, 2.2rem + 3.4vw, 5.2rem); margin-bottom: 4px; }
.kx-hero .kbs_top_heading h3 { margin-bottom: 16px !important; font-size: .98rem !important; }
@media (max-width: 991px) { .kx-hero-3d { height: 240px; } }
.kx-credit { font-size: .72rem !important; line-height: 1.4; color: #9aa3ab !important; margin: 10px 0 0 !important; }
.kx-credit a { color: #c9cfd5 !important; }

/* =====================================================================
   Round 3: calmer palette (red only as an accent), bigger hero text,
   aligned + animated services, hours card, interactive service area.
   ===================================================================== */
:root {
  --m-ivory: #f3ede4;
  --m-charcoal: linear-gradient(160deg, #15171b 0%, #0d0f12 55%, #191a1e 100%);
  --m-soft-glow: radial-gradient(900px 520px at 78% 45%, rgba(170, 186, 204, .16), transparent 62%);
}
/* headings in deep ink; red stays on buttons, small labels and highlights */
.color-red, .large-title.color-red, h1.large-title { color: var(--m-ink) !important; }
.large-title small, h2.large-title.color-red small { color: var(--m-red) !important; }

/* hero: neutral charcoal, ivory text, a single soft red accent */
.kx-hero.vc_custom_1672314230225 {
  background:
    var(--m-soft-glow),
    radial-gradient(500px 320px at 8% 105%, rgba(192, 22, 27, .12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--m-charcoal) !important;
}
.kx-hero-3d .kx-x, .kx-hero-3d .kx-y { background: rgba(255, 255, 255, .10); }
.kx-hero-3d .kx-sweep { background: linear-gradient(90deg, transparent, rgba(235, 240, 246, .7), transparent); box-shadow: 0 0 18px rgba(200, 215, 230, .35); }
.kx-hi-big { background: linear-gradient(120deg, #ffffff 0%, #efe7dc 45%, #ffb3b5 80%, #ffffff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.kx-hi { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem) !important; max-width: 26ch; }
.kx-hero .kbs_top_heading h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem) !important; letter-spacing: .02em !important; color: var(--m-ivory) !important; text-transform: none !important; }
.kx-hero .kbs_top_heading h3 { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem) !important; color: #c6ccd3 !important; }
.kx-areas { font-size: 1.02rem; }

/* answer-first summary + quick facts under the H1 */
.kx-answer { font-size: 1.06rem; line-height: 1.75; color: #2a2d31; border-left: 3px solid var(--m-red); padding: 4px 0 4px 16px; margin: 18px 0 18px !important; }
.kx-facts { list-style: none; margin: 0 0 22px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kx-facts li { margin: 0 !important; padding: 14px 16px; border-radius: 16px; background: #f7f5f2; border: 1px solid rgba(0, 0, 0, .06); font-size: 14px; color: #4a4f55; line-height: 1.35;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.kx-facts li::before { display: none !important; }
.kx-facts li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .45); border-color: rgba(155, 14, 16, .25); }
.kx-facts span { display: block; font: 700 11px/1.2 var(--m-head); letter-spacing: .08em; text-transform: uppercase; color: #8a8f95; margin-bottom: 6px; }
.kx-facts b { display: block; font: 800 1.15rem/1.2 var(--m-head); color: var(--m-ink); }
@media (max-width: 600px) { .kx-facts { grid-template-columns: 1fr; } }

/* dark sections: neutral charcoal instead of red */
.services-bio-area, .parallax-bg.vc_parallax, .kx-jaw {
  background: radial-gradient(700px 420px at 85% 30%, rgba(170, 186, 204, .12), transparent 65%), radial-gradient(500px 360px at 5% 100%, rgba(192, 22, 27, .10), transparent 60%), var(--m-charcoal) !important;
}
.parallax-bg.vc_parallax::before { background: radial-gradient(600px 380px at 20% 15%, rgba(255, 255, 255, .06), transparent 65%) !important; }
.kbs_reviews_box .vc_column-inner::before { color: var(--m-ivory) !important; opacity: .55; }
.kbs_reviews_box .vc_column-inner:hover { border-color: rgba(255, 255, 255, .3) !important; }
.fa-star::before { color: #f4b740 !important; }

/* services: text card and image the same height, side by side, animated */
.services-bio { align-items: stretch; gap: 28px; padding-left: clamp(20px, 5vw, 80px) !important; padding-right: clamp(20px, 5vw, 80px) !important; }
.services-bio::before, .services-bio::after { display: none !important; }
.services-bio > .wpb_column { float: none !important; display: flex; }
.services-bio > .wpb_column:nth-child(2) { width: 52% !important; padding-left: 0 !important; }
.services-bio > .wpb_column:last-child { width: 48% !important; }
.services-bio > .wpb_column > .vc_column-inner { width: 100%; height: auto !important; }
.services-bio > .wpb_column:nth-child(2) > .vc_column-inner {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)) !important; border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 28px; padding: clamp(28px, 3.5vw, 52px) !important; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.services-bio > .wpb_column:nth-child(2) > .vc_column-inner::before, .services-bio > .wpb_column:nth-child(2) > .vc_column-inner::after,
.services-bio > .wpb_column:nth-child(2)::before, .services-bio > .wpb_column:nth-child(2)::after { display: none !important; }
.services-bio > .wpb_column:last-child .vc_column-inner { margin: 0 !important; min-height: 100%; background-size: 108% auto; background-position: center; overflow: hidden; position: relative; animation: m-kenburns 14s ease-in-out infinite alternate; }
.services-bio > .wpb_column:last-child .vc_column-inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .10) 50%, transparent 65%); background-size: 250% 100%; animation: m-sheen 6s ease-in-out infinite; }
.services-bio:not([style*="display: none"]) > .wpb_column { animation: m-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.services-bio:not([style*="display: none"]) > .wpb_column:last-child { animation-delay: .12s; }
@keyframes m-kenburns { from { background-size: 104% auto; background-position: 45% 50%; } to { background-size: 116% auto; background-position: 55% 45%; } }
@keyframes m-sheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes m-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .services-bio { flex-direction: column; gap: 18px; padding: 24px 20px !important; }
  .services-bio > .wpb_column:nth-child(2), .services-bio > .wpb_column:last-child { width: 100% !important; }
  .services-bio > .wpb_column:last-child .vc_column-inner { min-height: 240px; }
}

/* footer hours: compact card, no grid lines */
.kx-hours { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 18px; padding: 16px 18px 10px; max-width: 340px; box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .5); }
.kx-week, .kx-week tr, .kx-week th, .kx-week td { border: 0 !important; background: none !important; }
.kx-week th, .kx-week td { padding: 7px 10px !important; font-size: 14px; }
.kx-week th { color: #2a2d31; font-weight: 600 !important; }
.kx-week tr:not(:last-child) th, .kx-week tr:not(:last-child) td { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05); }
.kx-week tr.is-today th, .kx-week tr.is-today td { background: #f6efe9 !important; color: var(--m-red) !important; }
.kx-week tr.is-today th { border-radius: 10px 0 0 10px; } .kx-week tr.is-today td { border-radius: 0 10px 10px 0; }

/* service area: direction chips + map */
.kx-dir-label { color: #aab3bb !important; font: 700 12px/1 var(--m-head) !important; letter-spacing: .1em; text-transform: uppercase; text-align: center; margin: 22px 0 12px !important; }
.kx-dir { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 22px !important; padding: 0 20px !important; max-width: 640px; }
.kx-dir li { margin: 0 !important; padding: 0 !important; }
.kx-dir li::before { display: none !important; }
.kx-dir a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #fff !important; text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); font: 600 14px/1 var(--m-head);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), background .2s, border-color .2s; }
.kx-dir a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff6b6e; box-shadow: 0 0 0 3px rgba(255, 107, 110, .18); }
.kx-dir a:hover, .kx-dir a:focus-visible { transform: translateY(-2px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.kx-dir-cta { text-align: center; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.kx-dir-cta .kx-call { color: #fff !important; }
.wpb_map_wraper iframe { filter: grayscale(.85) contrast(1.05); transition: filter .5s; }
.wpb_map_wraper:hover iframe, .wpb_map_wraper:focus-within iframe { filter: none; }

/* scroll reveal (class added by JS only, so content never hides without it) */
.kx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.kx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .kx-reveal { opacity: 1; transform: none; transition: none; }
  .services-bio > .wpb_column, .services-bio > .wpb_column:last-child .vc_column-inner, .services-bio > .wpb_column:last-child .vc_column-inner::after { animation: none !important; }
}

/* ---------- home: meet the specialists ---------- */
.kx-docs { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 110px) 20px; color: #fff;
  background: radial-gradient(800px 480px at 15% 10%, rgba(255, 255, 255, .07), transparent 65%), radial-gradient(700px 420px at 90% 90%, rgba(192, 22, 27, .14), transparent 62%), var(--m-charcoal); }
.kx-docs-inner { max-width: 1180px; margin: 0 auto; }
.kx-docs .kx-kicker, .kx-faq .kx-kicker { text-align: center; color: #ff8f92 !important; font: 700 12px/1 var(--m-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.kx-docs-title { text-align: center; color: #fff !important; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem) !important; line-height: 1.05 !important; margin: 0 0 16px !important; }
.kx-docs-lead { text-align: center; color: #c9ced4 !important; max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px) !important; font-size: 1.05rem; line-height: 1.75; }
.kx-docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.kx-doc { display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: 26px; align-items: center; padding: clamp(20px, 2.4vw, 30px); border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .95); transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .4s; }
.kx-doc:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .24); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 1); }
.kx-doc-photo { position: relative; aspect-ratio: 376 / 400; border-radius: 26px 26px 120px 26px; overflow: hidden; background: linear-gradient(160deg, #2a2d33, #141619); }
.kx-doc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.kx-doc:hover .kx-doc-photo img { transform: scale(1.05); }
.kx-doc-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 -80px 80px -40px rgba(13, 15, 18, .55); }
.kx-doc-role { color: #ff9a9d !important; font: 700 12px/1.35 var(--m-head) !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px !important; }
.kx-doc-name { color: #fff !important; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem) !important; line-height: 1.1 !important; margin: 0 0 12px !important; text-align: left !important; }
.kx-doc-name span { color: #aab3bb; font-weight: 600; font-size: .7em; }
.kx-doc-bio { color: #c9ced4 !important; font-size: 15px; line-height: 1.7; margin: 0 0 14px !important; text-align: left !important; }
.kx-doc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 0 0 20px !important; }
.kx-doc-facts li { margin: 0 !important; padding: 7px 12px !important; border-radius: 999px; font: 600 12.5px/1.2 var(--m-head); color: #e7eaee; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.kx-doc-facts li::before { display: none !important; }
.kx-doc-link { display: inline-flex !important; }
@media (max-width: 991px) { .kx-docs-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kx-doc { grid-template-columns: 1fr; } .kx-doc-photo { max-width: 260px; } }

/* ---------- FAQ accordion (home, services, inner pages) ---------- */
.kx-faq { padding: clamp(48px, 6vw, 96px) 20px; background: linear-gradient(180deg, #ffffff 0%, #f6f4f1 100%); clear: both; }
.kx-faq-inner { max-width: 900px; margin: 0 auto; }
.kx-faq .kx-kicker { color: var(--m-red) !important; }
.kx-faq-title { text-align: center; color: var(--m-ink) !important; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem) !important; margin: 0 0 clamp(24px, 3vw, 40px) !important; }
.kx-faq-list { display: grid; gap: 12px; }
.kx-faq-item { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 20px; box-shadow: 0 14px 34px -28px rgba(0, 0, 0, .45); transition: border-color .25s, box-shadow .25s; }
.kx-faq-item[open] { border-color: rgba(155, 14, 16, .22); box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .5); }
.kx-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.kx-faq-item summary::-webkit-details-marker { display: none; }
.kx-faq-item summary:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; border-radius: 20px; }
.kx-faq-item h3 { margin: 0 !important; font: 700 clamp(1rem, .95rem + .3vw, 1.15rem)/1.4 var(--m-head) !important; color: var(--m-ink) !important; text-align: left !important; letter-spacing: -0.01em !important; text-transform: none !important; }
.kx-faq-icon { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #f4efea; position: relative; transition: transform .3s, background .3s; }
.kx-faq-icon::before, .kx-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--m-ink); transform: translate(-50%, -50%); border-radius: 2px; }
.kx-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.kx-faq-item[open] .kx-faq-icon { background: var(--m-grad); }
.kx-faq-item[open] .kx-faq-icon::before, .kx-faq-item[open] .kx-faq-icon::after { background: #fff; }
.kx-faq-item[open] .kx-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.kx-faq-item p { margin: 0 !important; padding: 0 24px 22px !important; color: #44494f !important; font-size: 16px; line-height: 1.75; text-align: left !important; animation: m-fade .35s ease both; }
@keyframes m-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kx-doc, .kx-doc-photo img, .kx-faq-item p { transition: none; animation: none; } }

/* services tabs: only the active panel shows (theme hides others; site.js sets inline display) */
.services-bio.first-item:not([style*="none"]), .services-bio[style*="display: block"] { display: flex !important; }
.services-bio .wpb_text_column { background: none !important; box-shadow: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; display: block !important; color: #fff; }
.services-bio .wpb_text_column::after, .services-bio .wpb_text_column::before { display: none !important; }
.services-bio > .wpb_column:nth-child(2) > .vc_column-inner { display: flex; align-items: center; }

/* px sizes (the theme sets a small root font size, so rem values render too small) */
.kx-hi { font-size: clamp(19px, 15px + .8vw, 26px) !important; }
.kx-hero .kbs_top_heading h2 { font-size: clamp(21px, 16px + 1vw, 31px) !important; }
.kx-hero .kbs_top_heading h3 { font-size: clamp(17px, 15px + .4vw, 21px) !important; }
.kx-areas { font-size: 16px !important; }
.kx-answer { font-size: 17px !important; }
.kx-facts li { font-size: 14px !important; }
.kx-facts b { font-size: 19px !important; }
.kx-docs-title { font-size: clamp(32px, 22px + 2.4vw, 54px) !important; }
.kx-docs-lead { font-size: 17px !important; }
.kx-doc-name { font-size: clamp(22px, 18px + .9vw, 30px) !important; }
.kx-doc-bio { font-size: 15.5px !important; }
.kx-faq-title { font-size: clamp(28px, 21px + 1.8vw, 44px) !important; }
.kx-faq-item h3 { font-size: clamp(16px, 15px + .3vw, 18.5px) !important; }
.kx-faq-item p { font-size: 16px !important; }
.kx-dir a { font-size: 14px !important; }
/* full-bleed specialists band */
.kx-docs { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.services-bio .wpb_text_column > .wpb_wrapper { display: block !important; }
.kx-week th, .kx-week td { line-height: 1.3 !important; padding: 8px 10px !important; }
.kx-week td { white-space: nowrap; }
.kbs_reviews_box h3 { font-size: 18px !important; }
.kbs_reviews_box .wpb_text_column p { font-size: 15.5px !important; }
.kbs_reviews_box .vc_column-inner { min-height: 0 !important; height: 100% !important; }
.kx-dir-cta .button { width: auto !important; white-space: nowrap; flex: 0 0 auto; } .kx-dir-cta > * { margin: 0 !important; } .kx-dir-cta .kx-call { flex: 0 0 auto; }

/* ---------- home: your visit, step by step (What You Can Expect) ---------- */
.kx-visit { background: radial-gradient(700px 420px at 90% 20%, rgba(255, 255, 255, .06), transparent 65%), var(--m-charcoal) !important; color: #fff; }
.kx-visit .wpb_single_image { display: none !important; }
.kx-visit .vc_inner { display: flex; flex-wrap: wrap; align-items: center; }
.kx-road-kicker { display: flex; align-items: center; gap: 14px; color: #d9dde2 !important; font: 600 14px/1 var(--m-head) !important; margin: 0 0 18px !important; }
.kx-road-kicker::before { content: ""; width: 72px; height: 1px; background: rgba(255, 255, 255, .6); }
.kx-visit h2.large-title { color: #ff9a9d !important; font-size: 15px !important; letter-spacing: .1em !important; text-transform: uppercase !important; margin: 0 0 10px !important; }
.kx-visit h2.large-title small { color: #ff9a9d !important; font-size: 1em !important; }
.kx-road { color: #fff !important; font: 800 clamp(30px, 22px + 2vw, 50px)/1.08 var(--m-head) !important; letter-spacing: -0.02em; margin: 0 0 20px !important; max-width: 15ch; }
.kx-visit .wpb_text_column p { color: #c9ced4; font-size: 16px; line-height: 1.8; }
.kx-steps { list-style: none; margin: 0 !important; padding: 0 !important; position: relative; display: grid; gap: 14px; }
.kx-steps::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)); }
.kx-step { display: grid; grid-template-columns: 80px 1fr; gap: 22px; align-items: center; margin: 0 !important; padding: 16px 18px 16px 0 !important; border-radius: 22px; transition: background .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.kx-step::before { display: none !important; }
.kx-step:hover { background: rgba(255, 255, 255, .05); transform: translateX(6px); }
.kx-step-icon { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #2a2d33, #16181c); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .9); transition: border-color .3s, color .3s; }
.kx-step:hover .kx-step-icon { border-color: rgba(255, 154, 157, .6); color: #ffb3b5; }
.kx-step-icon b { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--m-head); color: #fff; background: var(--m-grad); box-shadow: 0 0 0 3px #121418; }
.kx-step h3 { color: #fff !important; font: 800 19px/1.2 var(--m-head) !important; text-transform: uppercase; letter-spacing: .02em !important; margin: 0 0 6px !important; text-align: left !important; }
.kx-step p { color: #c9ced4 !important; font-size: 15.5px !important; line-height: 1.65 !important; margin: 0 !important; text-align: left !important; }
@media (max-width: 767px) { .kx-step { grid-template-columns: 64px 1fr; gap: 16px; } .kx-step-icon { width: 64px; height: 64px; } .kx-steps::before { left: 31px; } }
.expect-cover.kx-visit::before { display: none !important; background: none !important; }
@media (min-width: 992px) {
  .kx-visit .vc_inner > .vc_col-lg-7 { width: 50% !important; padding-right: clamp(20px, 3vw, 60px); }
  .kx-visit .vc_inner > .vc_col-lg-5 { width: 50% !important; }
}

/* hero H1 (replaces the "Hi" greeting) */
.kx-hero h1.kx-hero-h1 { color: #fff !important; font: 800 clamp(38px, 24px + 3.4vw, 72px)/1.02 var(--m-head) !important; letter-spacing: -0.03em !important; text-align: left !important; text-transform: none !important; margin: 0 0 22px !important; max-width: 13ch; }
.kx-hero h1.kx-hero-h1 span { display: block; margin-top: 10px; font-size: .42em; font-weight: 700; letter-spacing: .01em; color: #ffb3b5; }
.kx-intro-h2, .large-title small { display: inline; }

/* FAQ: 3-column grid, every answer visible (people + AI answer engines) */
.kx-faq-inner { max-width: 1240px; }
.kx-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kx-faq-card { position: relative; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 22px; padding: 26px 24px 24px;
  box-shadow: 0 16px 36px -30px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.kx-faq-card:hover { transform: translateY(-4px); border-color: rgba(155, 14, 16, .25); box-shadow: 0 26px 46px -30px rgba(0, 0, 0, .55); }
.kx-faq-q { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; margin-bottom: 14px; background: var(--m-grad); color: #fff; font: 800 15px/1 var(--m-head); }
.kx-faq-card h3 { margin: 0 0 10px !important; font: 800 18px/1.35 var(--m-head) !important; color: var(--m-ink) !important; text-align: left !important; text-transform: none !important; letter-spacing: -0.01em !important; }
.kx-faq-card p { margin: 0 !important; color: #4a4f55 !important; font-size: 15.5px !important; line-height: 1.7 !important; text-align: left !important; }
@media (max-width: 1024px) { .kx-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kx-faq-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Inner pages: dark title band, softer sections, nicer lists, extras
   ===================================================================== */
/* first row with the H1 becomes a dark full-bleed band (box-shadow trick, no layout change) */
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) {
  background: #121418; box-shadow: 0 0 0 100vmax #121418; clip-path: inset(0 -100vmax);
  padding: clamp(36px, 5vw, 72px) 0 !important; margin-bottom: clamp(30px, 4vw, 56px) !important; position: relative;
}
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form))::before { content: ""; position: absolute; inset: 0 -100vmax; pointer-events: none;
  background: radial-gradient(700px 380px at 80% 30%, rgba(170, 186, 204, .16), transparent 65%), radial-gradient(500px 300px at 5% 100%, rgba(192, 22, 27, .14), transparent 60%); }
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) h1 { color: #fff !important; font-size: clamp(30px, 20px + 2.6vw, 56px) !important; line-height: 1.04 !important; letter-spacing: -0.02em !important; text-transform: none !important; }
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) p, body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) li { color: #d3d8dd !important; }
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) a:not(.button) { color: #ffb3b5 !important; }
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) h2, body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) h3 { color: #fff !important; }
/* section headings with a small accent bar */
body:not(.home) .entry-content h2:not(.kx-glance-title):not(.kx-faq-title):not(.kx-office-title) { position: relative; padding-top: 18px; }
body:not(.home) .entry-content h2:not(.kx-glance-title):not(.kx-faq-title):not(.kx-office-title)::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 4px; background: var(--m-grad); }
body:not(.home) .entry-content h2[style*="center"]::before, body:not(.home) .entry-content .text-center h2::before { left: 50%; transform: translateX(-50%); }
body:not(.home) .entry-content .vc_separator { opacity: .35; }
body:not(.home) .entry-content p { font-size: 16.5px; line-height: 1.8; color: #3d4248; }
/* lists: check marks */
body:not(.home) .entry-content .wpb_text_column ul:not(.kx-facts):not(.kx-dir) { list-style: none; padding-left: 0 !important; }
body:not(.home) .entry-content .wpb_text_column ul:not(.kx-facts):not(.kx-dir) > li { position: relative; padding: 6px 0 6px 34px; margin: 0; }
body:not(.home) .entry-content .wpb_text_column ul:not(.kx-facts):not(.kx-dir) > li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: #f6ece8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%239b0e10' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* images: soft depth */
body:not(.home) .entry-content .vc_single_image-wrapper { box-shadow: 0 30px 60px -38px rgba(0, 0, 0, .55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
body:not(.home) .entry-content .vc_single_image-wrapper:hover { transform: translateY(-4px); }
/* text-heavy rows read as cards */
body:not(.home) .entry-content strong { color: var(--m-ink); }

/* at a glance + related */
.kx-inner-extras { padding: clamp(40px, 5vw, 80px) 0 0; clear: both; }
.kx-ix-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.kx-glance, .kx-related { background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 26px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 50px -40px rgba(0, 0, 0, .55); }
.kx-inner-extras .kx-kicker { color: var(--m-red) !important; font: 700 12px/1 var(--m-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
.kx-glance-title { font-size: clamp(24px, 18px + 1.2vw, 34px) !important; color: var(--m-ink) !important; margin: 0 0 18px !important; text-transform: none !important; }
.kx-glance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.kx-glance-list > div { background: #f7f5f2; border-radius: 16px; padding: 14px 16px; transition: transform .25s, box-shadow .25s; }
.kx-glance-list > div:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .5); }
.kx-glance-list dt { font: 700 11px/1.2 var(--m-head); letter-spacing: .08em; text-transform: uppercase; color: #8a8f95; margin-bottom: 6px; }
.kx-glance-list dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--m-ink); font-weight: 500; }
.kx-related ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.kx-related li { margin: 0 !important; padding: 0 !important; }
.kx-related li::before { display: none !important; }
.kx-related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #f7f5f2; color: var(--m-ink) !important; font: 700 16px/1.2 var(--m-head); text-decoration: none !important; transition: background .25s, color .25s, transform .25s; }
.kx-related a i { font-style: normal; transition: transform .25s; }
.kx-related a:hover, .kx-related a:focus-visible { background: var(--m-grad); color: #fff !important; transform: translateY(-2px); }
.kx-related a:hover i { transform: translateX(4px); }
.kx-book-strip { margin: 22px 0 clamp(30px, 4vw, 60px); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 44px); border-radius: 26px; color: #fff;
  background: radial-gradient(600px 260px at 90% 0%, rgba(255, 255, 255, .10), transparent 65%), var(--m-charcoal); }
.kx-book-title { color: #fff !important; font: 800 clamp(22px, 17px + 1vw, 30px)/1.15 var(--m-head) !important; margin: 0 0 6px !important; }
.kx-book-sub { color: #b9c0c7 !important; margin: 0 !important; font-size: 15px !important; }
.kx-book-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.kx-book-actions .button { margin: 0 !important; }
.kx-book-actions .kx-call { color: #fff !important; font-weight: 700; }
@media (max-width: 900px) { .kx-ix-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kx-glance-list { grid-template-columns: 1fr; } }

/* contact: office gallery (bento) */
.kx-office { padding: clamp(44px, 5vw, 84px) 0; clear: both; }
.kx-office .kx-kicker { text-align: center; color: var(--m-red) !important; font: 700 12px/1 var(--m-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.kx-office-title { text-align: center; font-size: clamp(28px, 20px + 1.8vw, 44px) !important; color: var(--m-ink) !important; margin: 0 0 clamp(22px, 3vw, 36px) !important; padding-top: 0 !important; }
.kx-office-title::before { display: none !important; }
.kx-office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 14px; }
.kx-office-item { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #e9e6e2; box-shadow: 0 24px 46px -34px rgba(0, 0, 0, .6); }
.kx-o0 { grid-column: span 2; grid-row: span 2; } .kx-o1 { grid-column: span 2; }
.kx-office-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; }
.kx-office-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.kx-office-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px; font: 700 13px/1 var(--m-head); color: #fff;
  background: rgba(14, 16, 19, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kx-office-more { text-align: center; margin: 22px 0 0 !important; }
.kx-office-more a { font-weight: 700; color: var(--m-red) !important; }
@media (max-width: 767px) { .kx-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .kx-o0 { grid-column: span 2; grid-row: span 1; } }

/* header + footer hours pill */
.kx-status { padding: 7px 12px 7px 10px; border-radius: 999px; background: #f4f2ef; border: 1px solid rgba(0, 0, 0, .06); color: #5c6168; font: 500 12.5px/1 var(--m-head); gap: 8px; }
.kx-status b { font-weight: 800; color: var(--m-ink); margin-right: 2px; }
.kx-status .kx-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a6; flex: 0 0 8px; }
.kx-status.is-open { background: #ecf7ef; border-color: rgba(31, 157, 76, .25); }
.kx-status.is-open b { color: #17733a; }
.kx-status.is-appt { background: #fdf5e6; border-color: rgba(201, 138, 20, .3); }
.kx-status.is-appt b { color: #8a5a00; }
.kx-status.is-appt .kx-dot { background: #e0a020; box-shadow: 0 0 0 3px rgba(224, 160, 32, .2); }
.kx-status.is-closed .kx-dot { background: #c0161b; box-shadow: 0 0 0 3px rgba(192, 22, 27, .15); }
.kx-hours .kx-status { margin-bottom: 12px; }

/* home: three FAQ columns (Oral Surgery / Wisdom Teeth / Dental Implants) */
.kx-faq3 .kx-faq-inner { max-width: 1280px; }
.kx-faq3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.kx-faq3-col { --acc: #9b0e10; --acc-bg: #faeeec; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-top: 3px solid var(--acc); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 50px -40px rgba(0, 0, 0, .55); display: flex; flex-direction: column; }
.kx-faq3-col.is-wisdom { --acc: #b7791f; --acc-bg: #fdf4e3; }
.kx-faq3-col.is-implant { --acc: #2f6f6a; --acc-bg: #e9f2f0; }
.kx-faq3-head { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; align-items: center; padding: 22px 22px 18px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.kx-faq3-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--acc-bg); color: var(--acc); grid-row: span 1; }
.kx-faq3-title { margin: 0 !important; font: 800 22px/1.15 var(--m-head) !important; color: var(--m-ink) !important; text-align: left !important; text-transform: none !important; }
.kx-faq3-sub { margin: 4px 0 0 !important; font-size: 14px !important; color: #6b7177 !important; line-height: 1.35 !important; text-align: left !important; }
.kx-faq3-count { grid-column: 1 / -1; justify-self: start; margin-top: 10px; padding: 6px 11px; border-radius: 999px; background: #f1f2f4; font: 800 11px/1 var(--m-head); letter-spacing: .08em; text-transform: uppercase; color: #3b4046; }
.kx-faq3-list { padding: 10px 10px 4px; display: grid; gap: 4px; }
.kx-faq3-item { border-radius: 14px; transition: background .25s; }
.kx-faq3-item + .kx-faq3-item { border-top: 1px solid rgba(0, 0, 0, .06); }
.kx-faq3-item[open] { background: var(--acc-bg); border-top-color: transparent; }
.kx-faq3-item[open] + .kx-faq3-item { border-top-color: transparent; }
.kx-faq3-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 12px; }
.kx-faq3-item summary::-webkit-details-marker { display: none; }
.kx-faq3-item summary:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 1px; border-radius: 14px; }
.kx-faq3-q { font: 700 15.5px/1.4 var(--m-head); color: var(--m-ink); }
.kx-faq3-item .kx-faq-icon { flex: 0 0 28px; height: 28px; background: #eef0f2; }
.kx-faq3-item[open] .kx-faq-icon { background: var(--acc); }
.kx-faq3-item p { margin: 0 !important; padding: 0 12px 16px !important; font-size: 15px !important; line-height: 1.7 !important; color: #474c52 !important; text-align: left !important; animation: m-fade .35s ease both; }
.kx-faq3-more { margin: auto 10px 12px; padding: 14px 16px; border-radius: 14px; background: #15171b; color: #fff !important; font: 700 14.5px/1 var(--m-head); text-decoration: none !important; display: flex; justify-content: space-between; transition: background .25s; }
.kx-faq3-more:hover, .kx-faq3-more:focus-visible { background: var(--acc); }
@media (max-width: 1024px) { .kx-faq3-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; } }

/* FAQ 3-col: open icon shows minus */
.kx-faq3-item .kx-faq-icon::after { transition: transform .3s; }
.kx-faq3-item[open] .kx-faq-icon::before, .kx-faq3-item[open] .kx-faq-icon::after { background: #fff; }
.kx-faq3-item[open] .kx-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* testimonials page */
.testimonial-page { display: flex; flex-wrap: wrap; gap: 20px 0; }
.testimonial-page .testimonial-text { position: relative; height: 100%; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 24px; padding: 54px 26px 26px !important;
  box-shadow: 0 24px 50px -40px rgba(0, 0, 0, .55); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.testimonial-page .testimonial-text:hover { transform: translateY(-4px); }
.testimonial-page .testimonial-text::before { content: "\201C"; position: absolute; top: 10px; left: 22px; font: 800 60px/1 var(--m-head); color: var(--m-red); opacity: .25; }
.testimonial-page .testimonial-text p { font-size: 16.5px !important; line-height: 1.75 !important; color: #3d4248 !important; text-align: left !important; }
.testimonial-page .testimonial-text strong { display: block; margin-top: 14px; font: 800 15px/1.3 var(--m-head); color: var(--m-ink); }
.testimonial-page > .wpb_column > .vc_column-inner { height: 100%; }
.google-review-box:empty, .google-review-box:has(.google-reviews:empty) { display: none; }
a.google { display: inline-flex !important; align-items: center; gap: 2px; padding: 14px 26px; border-radius: 999px; background: #fff; border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .5); font: 800 28px/1 var(--m-head) !important; text-decoration: none !important; transition: transform .25s, box-shadow .25s; }
a.google:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -22px rgba(0, 0, 0, .55); }
.kx-reviews-page { padding: clamp(40px, 5vw, 80px) 0; clear: both; }
.kx-reviews-page .kx-kicker { text-align: center; color: var(--m-red) !important; font: 700 12px/1 var(--m-head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.kx-rev-title { text-align: center; color: var(--m-ink) !important; font-size: clamp(28px, 20px + 1.8vw, 44px) !important; margin: 0 0 clamp(22px, 3vw, 36px) !important; padding-top: 0 !important; }
.kx-rev-title::before { display: none !important; }
.kx-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kx-review { position: relative; margin: 0; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 24px; padding: 26px; box-shadow: 0 24px 50px -40px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.kx-review:hover { transform: translateY(-4px); }
.kx-review-q { position: absolute; top: 14px; right: 22px; font: 800 60px/1 var(--m-head); color: var(--m-red); opacity: .18; }
.kx-stars { color: #f4b740; letter-spacing: 3px; font-size: 18px; margin-bottom: 12px; }
.kx-review blockquote { margin: 0 0 18px; padding: 0; border: 0; flex: 1; }
.kx-review blockquote p { margin: 0 !important; font-size: 15.5px !important; line-height: 1.7 !important; color: #3d4248 !important; text-align: left !important; }
.kx-review figcaption { font: 800 15px/1.3 var(--m-head); color: var(--m-ink); display: flex; flex-direction: column; gap: 3px; }
.kx-review figcaption span { font: 600 12px/1 var(--m-head); color: #8a8f95; letter-spacing: .04em; }
@media (max-width: 1024px) { .kx-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kx-reviews-grid { grid-template-columns: 1fr; } }

/* footer credit: bold on a white pill so it stands out */
.site-info .kcos-footer-credit { margin: 10px 0 !important; }
.site-info .kcos-footer-credit, .kcos-footer-credit { display: inline-block; }
p.kcos-footer-credit { display: table !important; margin: 12px auto !important; padding: 8px 16px !important; border-radius: 999px; background: #fff !important; color: #15171a !important;
  font: 800 13px/1.2 var(--m-head) !important; box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .5); border: 1px solid rgba(0, 0, 0, .08); }
p.kcos-footer-credit a { color: #9b0e10 !important; font-weight: 800 !important; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- home: illustrated location map + hours card (replaces the Google iframe) ---------- */
.full-height .wpb_gmaps_widget, .full-height .wpb_gmaps_widget > .wpb_wrapper { height: 100%; }
.kx-loc { position: relative; height: 100%; min-height: 640px; background: #f3f1ee; padding: 28px; display: flex; align-items: center; }
.kx-loc-map { position: relative; width: 78%; height: 100%; min-height: 584px; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .8); }
.kx-loc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kx-loc-note { position: absolute; top: 14px; left: 18px; font: 600 11px/1 var(--m-head); color: #8a939d; letter-spacing: .02em; }
.kx-loc-open { position: absolute; left: 18px; bottom: 18px; padding: 12px 18px; border-radius: 999px; background: #fff; color: #15171a !important; font: 800 14px/1 var(--m-head); text-decoration: none !important; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); transition: transform .25s; }
.kx-loc-open:hover { transform: translateY(-2px); }
.kx-dash { animation: kx-dash 2.6s linear infinite; }
@keyframes kx-dash { to { stroke-dashoffset: -56; } }
.kx-pin { animation: kx-drop .9s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes kx-drop { from { transform: translate(285px, 250px); opacity: 0; } to { transform: translate(285px, 330px); opacity: 1; } }
.kx-pin-pulse { transform-origin: center; transform-box: fill-box; animation: kx-pulse 2.4s ease-out infinite; }
@keyframes kx-pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.kx-pin-label { animation: m-fade .8s .5s ease both; }
.kx-loc-card { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: min(380px, 48%); background: #fff; border-radius: 24px; padding: 22px 22px 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); border: 1px solid rgba(0, 0, 0, .06); color: #15171a; text-align: left; }
.kx-loc-card .kx-status { margin-bottom: 14px; }
.kx-loc-addr { margin: 0 0 14px !important; text-align: left !important; }
.kx-loc-addr strong { display: block; font: 800 19px/1.25 var(--m-head); color: #15171a; }
.kx-loc-addr span { display: block; color: #5c6168; font-size: 15px; margin-top: 3px; }
.kx-loc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.kx-loc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 999px; border: 2px solid #15171a; color: #15171a !important;
  font: 800 14px/1 var(--m-head); text-decoration: none !important; white-space: nowrap; transition: transform .2s, background .2s, color .2s; }
.kx-loc-btn.is-primary { background: var(--m-grad); border-color: transparent; color: #fff !important; }
.kx-loc-btn:hover { transform: translateY(-2px); }
.kx-loc-copy { width: 100%; padding: 11px; border-radius: 12px; border: 1px dashed #c9ced4; background: #fafafa; color: #3b4046; font: 700 13.5px/1 var(--m-head); cursor: pointer; margin-bottom: 10px; }
.kx-loc-copy:hover { background: #f1f2f4; }
.kx-loc-week th, .kx-loc-week td { padding: 7px 8px !important; font-size: 14px !important; color: #3b4046; }
.kx-loc-week tr.is-today th::after { content: "Today"; margin-left: 8px; padding: 3px 7px; border-radius: 999px; background: #e0a020; color: #2a1d05; font: 800 10px/1 var(--m-head); vertical-align: middle; }
.kx-loc-tip { margin: 10px 0 0 !important; font-size: 13px !important; line-height: 1.5 !important; color: #9b0e10 !important; text-align: left !important; }
@media (max-width: 1200px) { .kx-loc { flex-direction: column; min-height: 0; padding: 20px; } .kx-loc-map { width: 100%; min-height: 420px; } .kx-loc-card { position: relative; right: auto; top: auto; transform: none; width: 100%; margin-top: -60px; } }
@media (prefers-reduced-motion: reduce) { .kx-dash, .kx-pin, .kx-pin-pulse, .kx-pin-label { animation: none !important; } }
/* chips CTA: never cut */
.kx-dir-cta .button { padding: 14px 26px !important; min-width: 0 !important; max-width: none !important; overflow: visible !important; }

/* fixes: list checks beside text, readable contact details on dark band, review text upright, credit centred */
body:not(.home) .entry-content .wpb_text_column ul:not(.kx-facts):not(.kx-dir) > li { position: relative !important; display: block !important; float: none !important; }
body:not(.home) .entry-content .wpb_text_column ul:not(.kx-facts):not(.kx-dir) { overflow: hidden; }
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) a:not(.button), body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) span:not(.screen-reader-text),
body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) strong, body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) b, body:not(.home) .entry-content .vc_row:has(h1):not(.vc_inner):not(:has(form)) td { color: #eef0f2 !important; }
.kx-review blockquote p, .kx-review blockquote { font-style: normal !important; }
p.kcos-footer-credit { width: fit-content; margin-left: auto !important; margin-right: auto !important; }

.kx-loc-col { display: flex; } .kx-loc-col > .vc_column-inner, .kx-loc-col .wpb_wrapper, .kx-loc-col .wpb_gmaps_widget { width: 100%; height: 100%; padding: 0 !important; background: none !important; }
.kx-loc-col .wpb_gmaps_widget .wpb_wrapper { padding: 0 !important; }

.kx-loc-copy { text-transform: none !important; letter-spacing: 0 !important; }

/* FAQ columns: equal height, buttons aligned at the bottom */
.kx-faq3-grid { align-items: stretch; }
.kx-faq3-list { flex: 1; align-content: start; }
@media (max-width: 1024px) { .kx-faq3-grid { align-items: start; } }

/* =====================================================================
   Header (Richmond-style): logo left, action cards + menu right,
   white mega-panels, sticky Call / Book bar on mobile.
   ===================================================================== */
@media (min-width: 992px) {
  .kx-rh { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
  .kx-rh.is-scrolled { border-bottom-color: rgba(0, 0, 0, .07); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .45); }
  .kx-rh-inner { max-width: 1320px; margin: 0 auto; padding: 10px clamp(16px, 2.6vw, 40px) 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .kx-rh .kx-logo img { height: 64px; width: auto; }
  .kx-rh-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .kx-rh-actions { display: flex; gap: 10px; align-items: stretch; }
  .kx-rh-card { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 16px; border: 1px solid rgba(0, 0, 0, .1); background: #fff;
    color: #15171a !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
  .kx-rh-card:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .45); }
  .kx-rh-card small { display: block; font: 600 11.5px/1.1 var(--m-head); color: #6b7177; }
  .kx-rh-card b { display: block; font: 800 16px/1.2 var(--m-head); color: inherit; }
  .kx-rh-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f2f3f4; color: #15171a; flex: 0 0 36px; }
  .kx-rh-card.is-book { background: #15171b; border-color: #15171b; color: #fff !important; }
  .kx-rh-card.is-book small { color: #f2c46d; }
  .kx-rh-card.is-book .kx-rh-ico { background: rgba(255, 255, 255, .12); color: #f2c46d; }
  .kx-rh-arrow { margin-left: 6px; font-weight: 800; }
  .kx-rh-card.is-chip { background: #fbefee; border: 1px dashed rgba(155, 14, 16, .35); }
  .kx-rh-card.is-chip small { color: #9b0e10; }
  .kx-rh-card.is-chip b { color: #7d0b0d; }
  .kx-rh-card.is-chip .kx-rh-ico { background: #9b0e10; color: #fff; }
  .kx-rh .kx-nav ul { gap: 4px; }
  .kx-rh .kx-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px; border-radius: 999px; font: 600 15px/1 var(--m-head) !important; color: #23272c !important; background: transparent !important; box-shadow: none !important; }
  .kx-rh .kx-link:hover, .kx-rh .kx-link[aria-expanded="true"] { background: #f1f2f3 !important; color: #15171a !important; }
  .kx-rh .kx-link.is-current { color: #9b0e10 !important; }
  .kx-chev { transition: transform .25s; }
  .kx-rh .kx-link[aria-expanded="true"] .kx-chev { transform: rotate(180deg); }

  /* mega panel: floating white card under the header */
  .kx-mega { position: absolute; top: calc(100% + 8px); left: 50%; right: auto; width: min(1150px, calc(100vw - 48px)); transform: translate(-50%, -6px) !important;
    background: #fff !important; border: 1px solid rgba(0, 0, 0, .07); border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
  .kx-mega.is-open { transform: translate(-50%, 0) !important; }
  .kx-mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 26px; padding: 26px 26px 18px; }
  .kx-mega-kicker { margin: 0 0 14px !important; font: 800 12px/1 var(--m-head); letter-spacing: .14em; text-transform: uppercase; color: #9b0e10; }
  .kx-mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
  .kx-mega-grid li { margin: 0; padding: 0; }
  .kx-mega-grid li::before { display: none !important; }
  .kx-mega-grid a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; text-decoration: none !important; color: #15171a !important; transition: background .2s; }
  .kx-mega-grid a:hover, .kx-mega-grid a:focus-visible { background: #f5f3f0; }
  .kx-mega-grid b { display: block; font: 800 15.5px/1.25 var(--m-head); }
  .kx-mega-grid small { display: block; font-size: 13.5px; color: #6b7177; margin-top: 2px; }
  .kx-mega-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .08); background: #f8f7f5; color: #3b4046; flex: 0 0 44px; transition: background .2s, color .2s; }
  .kx-mega-grid a:hover .kx-mega-ico { background: #9b0e10; color: #fff; border-color: transparent; }
  .kx-mega-photo { width: 44px; height: 48px; border-radius: 12px; object-fit: cover; object-position: top; flex: 0 0 44px; }
  .kx-mega-card { background: #fbefee; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
  .kx-mega-card-title { margin: 0 !important; font: 800 20px/1.2 var(--m-head) !important; color: #7d0b0d !important; }
  .kx-mega-card p { margin: 0 !important; font-size: 14.5px !important; line-height: 1.55 !important; color: #7a2a2c !important; }
  .kx-mega-call { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #f2c46d; color: #2a1d05 !important; font: 800 15px/1 var(--m-head); text-decoration: none !important; }
  .kx-mega-more { font: 800 15px/1 var(--m-head); color: #15171a !important; text-decoration: none !important; }
  .kx-mega-foot { display: flex; justify-content: space-between; padding: 14px 26px 18px; border-top: 1px solid rgba(0, 0, 0, .07); }
  .kx-mega-foot a { font: 800 14.5px/1 var(--m-head); color: #15171a !important; text-decoration: none !important; }
  .kx-mega-foot a:hover { color: #9b0e10 !important; }
  /* no dark overlay over the page: an invisible click-catcher only */
  .kx-rh .kx-scrim { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; inset: 0 !important; }
  .kx-mbar { display: none; }
}

/* mobile: compact white header (logo + menu button), restyled menu, sticky Call / Book bar */
@media (max-width: 991px) {
  .kx-header.kx-rh { display: contents; }
  .kx-rh .kx-rh-inner, .kx-rh .kx-panel, .kx-rh .kx-scrim { display: none !important; }
  .kx-mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9995; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 0; }
  .kx-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font: 800 15.5px/1 var(--m-head); text-decoration: none !important; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
  .kx-mbar-call { background: #fff; color: #15171a !important; border: 2px solid #15171a; }
  .kx-mbar-book { background: #15171b; color: #fff !important; }
  body { padding-bottom: 74px; }
  .site-header { position: sticky; top: 0; z-index: 9990; background: #fff; box-shadow: 0 8px 24px -20px rgba(0, 0, 0, .5); }
  .mobile-buttons { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 3; background: none !important; display: block !important; width: auto !important; }
  .mobile-buttons > section:not(:first-child) { display: none !important; }
  .mobile-buttons .menu-icon a { width: 46px !important; height: 46px !important; display: grid !important; place-items: center; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .14); background: #fff !important; color: #15171a !important; }
  .mobile-buttons .menu-icon a i { color: #15171a !important; font-size: 20px; }
  .header-area .logo { text-align: left !important; padding: 8px 76px 8px 14px !important; }
  .header-area .logo img { height: 52px !important; width: auto !important; }
  .header-area .header-contact-infos { display: none !important; }
  /* off-canvas menu: white, large rows, Book + Call buttons */
  #menu.mm-menu { background: #fff !important; }
  #menu .mm-navbar { background: #fff !important; border-bottom: 1px solid rgba(0, 0, 0, .08) !important; }
  #menu .mm-title { color: #15171a !important; font: 800 17px/1 var(--m-head) !important; }
  #menu .mm-listview > li > a, #menu .mm-listview > li > span { color: #15171a !important; font: 700 18px/1.2 var(--m-head) !important; padding: 18px 20px !important; text-transform: none !important; }
  #menu .mm-listview > li:not(:last-child)::after { border-color: rgba(0, 0, 0, .08) !important; left: 20px !important; right: 20px !important; }
  #menu .mm-listview > li.current-menu-item > a, #menu .mm-listview > li.current_page_item > a { color: #9b0e10 !important; }
  #menu .mm-next::after { border-color: #15171a !important; }
  #menu .mm-btn::before, #menu .mm-btn::after { border-color: #15171a !important; }
}

/* hours widget: "Open today" + day chips */
.kx-chips { background: rgba(255, 255, 255, .96); border-radius: 18px; padding: 12px 14px; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .6); color: #15171a; display: inline-block; }
.kx-chips-today { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; font: 500 15px/1.2 var(--m-head) !important; color: #3b4046 !important; }
.kx-chips-today svg { color: #15171a; flex: 0 0 18px; }
.kx-chips-today b { color: #15171a; font-weight: 800; margin-right: 4px; }
.kx-chips ul { list-style: none; display: flex; gap: 6px; margin: 0 !important; padding: 0 !important; }
.kx-chips li { margin: 0 !important; padding: 0 !important; width: 38px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 13px/1 var(--m-head); color: #6b7177; background: #f2f3f4; position: relative; }
.kx-chips li::before { display: none !important; }
.kx-chips li abbr { text-decoration: none; border: 0; cursor: default; }
.kx-chips li.is-open { background: #2c3e3c; color: #fff; }
.kx-chips li.is-appt { background: #fdf4e3; color: #8a5a00; box-shadow: inset 0 0 0 1px rgba(201, 138, 20, .45); }
.kx-chips li.is-today { outline: 2.5px solid #e0a020; outline-offset: 2px; }
.kx-meet-chips { display: flex; align-items: center; }
.meet-bar .kx-chips { margin: 4px 0; }

@media (max-width: 991px) { .mobile-buttons { z-index: 40 !important; } .header-area .logo { position: relative; z-index: 1; } }
/* footer credit: centred, bolder */
p.kcos-footer-credit { font-weight: 900 !important; font-size: 14px !important; text-align: center !important; padding: 10px 20px !important; }
p.kcos-footer-credit a { font-weight: 900 !important; }
@media (max-width: 991px) {
  .mobile-buttons, .mobile-buttons.fixed { position: fixed !important; top: 12px !important; right: 12px !important; left: auto !important; transform: none !important; width: 48px !important; box-shadow: none !important; overflow: visible !important; z-index: 9996 !important; }
  .mobile-buttons .widget { width: 100% !important; float: none !important; border: 0 !important; }
  .mobile-buttons .menu-icon a { display: grid !important; width: 46px !important; padding: 0 !important; }
  .header-area.fixed { position: relative !important; }
}
@media (max-width: 991px) { #menu.mm-menu.mm-opened, #menu.mm-menu { top: 0 !important; bottom: 0 !important; height: 100vh !important; height: 100dvh !important; z-index: 9997 !important; } #menu .mm-panels, #menu .mm-panel { background: #fff !important; } }
html.mm-opened #pojo-a11y-toolbar, html.mm-opened .kx-mbar { display: none !important; }

/* single surgeon feature card */
.kx-docs-grid.is-single { grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
.kx-docs-grid.is-single .kx-doc { grid-template-columns: minmax(200px, 38%) 1fr; }
/* mobile: referral button in the header, accessibility button higher */
.kx-mref { display: none; }
@media (max-width: 991px) {
  .kx-mref { display: inline-flex; align-items: center; position: fixed; top: 18px; right: 70px; z-index: 9996; height: 36px; padding: 0 14px; border-radius: 999px;
    background: #15171b; color: #fff !important; font: 800 13px/1 var(--m-head); text-decoration: none !important; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
  html.mm-opened .kx-mref { display: none; }
  #pojo-a11y-toolbar { top: 78px !important; }
}
@media (max-width: 360px) { .kx-mref { padding: 0 10px; font-size: 12px; } }
@media (max-width: 991px) { .header-area .logo img { height: 42px !important; } .header-area .logo { padding: 12px 190px 12px 12px !important; } .kx-mref { top: 17px; height: 38px; } }
@media (max-width: 360px) { .header-area .logo img { height: 34px !important; } .header-area .logo { padding-right: 170px !important; } }

/* header stays visible while scrolling (desktop + mobile) */
#masthead.site-header { position: sticky !important; top: 0; z-index: 9990; }
@media (min-width: 992px) { #masthead .kx-header { position: relative; top: auto; } }
body.admin-bar #masthead.site-header { top: 32px; }
#page, #mm-0, .mm-page, .kcos-content, .site { overflow: visible !important; }
html, body { overflow-x: clip; }
body { overflow: visible !important; overflow-x: clip !important; }
#colophon .site-info p.kcos-footer-credit { display: table !important; margin: 12px auto !important; float: none !important; }
