/* ==========================================================================
   Kaay Baax — private front theme of Complexe Scolaire Kaay Baax (Jaxaay)
   Palette from the school's logo (green, sky, sun) and building (orange,
   navy glass, brown). --kb-green / --kb-orange are set by the customizer.
   ========================================================================== */
:root {
    --kb-green: #0b7a3b;
    --kb-orange: #f07a14;
    --kb-green-dk: color-mix(in srgb, var(--kb-green) 70%, #000);
    --kb-green-lt: color-mix(in srgb, var(--kb-green) 10%, #fff);
    --kb-orange-lt: color-mix(in srgb, var(--kb-orange) 12%, #fff);
    --kb-navy: #2b3990;
    --kb-brown: #8a3b12;
    --kb-gold: #b8661a;
    --kb-sun: #f6c915;
    --kb-sky: #7fc6d2;
    --kb-ink: #122019;
    --kb-muted: #5b6b63;
    --kb-line: #e7ece9;
    --kb-cream: #fff8ef;
    --kb-radius: 999px;
    --kb-card: 18px;
    --kb-shadow: 0 18px 40px -18px rgba(16, 35, 26, .28);
    --kb-shadow-sm: 0 6px 18px -8px rgba(16, 35, 26, .25);
    --kb-font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --kb-font-body: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ---------- base ---------- */
body.kb { margin: 0; font-family: var(--kb-font-body); color: var(--kb-ink); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.kb *, .kb *::before, .kb *::after { box-sizing: border-box; }
.kb h1, .kb h2, .kb h3, .kb h4 { font-family: var(--kb-font-head); color: var(--kb-ink); margin: 0; line-height: 1.2; }
.kb a { color: var(--kb-green); text-decoration: none; transition: color .2s; }
.kb a:hover, .kb a:focus { color: var(--kb-orange); text-decoration: none; }
.kb img { max-width: 100%; }
#kb-main, .kb-footer, .kb-topbar { overflow-x: clip; }
.kb-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.kb-section { padding: 96px 0; position: relative; }
.kb-center { text-align: center; margin-top: 36px; }
.kb-hide-sm { }
.kb :focus-visible { outline: 3px solid var(--kb-orange); outline-offset: 2px; }

.kb-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kb-orange); margin-bottom: 12px; }
.kb-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--kb-orange), var(--kb-sun)); }
.kb-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.kb-lead { font-size: 17px; color: var(--kb-muted); max-width: 720px; }
.kb-head { text-align: center; margin: 0 auto 48px; max-width: 820px; }
.kb-head .kb-kicker::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--kb-sun), var(--kb-orange)); }
.kb-head .kb-lead { margin: 0 auto; }
.kb-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.ma-hl { color: var(--kb-orange); position: relative; white-space: nowrap; }
.ma-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em; background: var(--kb-sun); opacity: .55; border-radius: 4px; z-index: -1; transform: skewX(-12deg); }

/* ---------- buttons & pills ---------- */
.kb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: var(--kb-radius); font-weight: 600; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.kb-btn:hover { transform: translateY(-2px); }
.kb-btn-sm { padding: 9px 18px; font-size: 14px; }
.kb-btn-lg { padding: 16px 32px; font-size: 16px; }
.kb-btn-orange { background: linear-gradient(135deg, var(--kb-orange), color-mix(in srgb, var(--kb-orange) 78%, #d9480f)); color: #fff !important; box-shadow: 0 10px 24px -10px var(--kb-orange); }
.kb-btn-orange:hover { box-shadow: 0 14px 30px -10px var(--kb-orange); }
.kb-btn-green { background: var(--kb-green); color: #fff !important; box-shadow: 0 10px 24px -12px var(--kb-green); }
.kb-btn-green:hover { background: var(--kb-green-dk); }
.kb-btn-white { background: #fff; color: var(--kb-orange) !important; }
.kb-btn-glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff !important; backdrop-filter: blur(6px); }
.kb-btn-glass:hover { background: rgba(255, 255, 255, .26); }
.kb-btn-outline { border-color: var(--kb-green); color: var(--kb-green) !important; background: transparent; }
.kb-btn-outline:hover { background: var(--kb-green); color: #fff !important; }
.kb-btn-outline-green { border-color: var(--kb-green); color: var(--kb-green) !important; background: #fff; }
.kb-btn-outline-green:hover { background: var(--kb-green-lt); }
.kb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--kb-green); }
.kb-link i { transition: transform .2s; }
a:hover .kb-link i, .kb-link:hover i { transform: translateX(4px); }
[dir=rtl] a:hover .kb-link i, [dir=rtl] .kb-link:hover i { transform: translateX(-4px); }
.kb-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.kb-pill-light { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.kb-pill-gold { background: linear-gradient(90deg, var(--kb-sun), #ffe27a); color: #3a2604; }
.kb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kb-sun); box-shadow: 0 0 0 0 rgba(246, 201, 21, .7); animation: kb-pulse 2s infinite; }
@keyframes kb-pulse { 70% { box-shadow: 0 0 0 10px rgba(246, 201, 21, 0); } 100% { box-shadow: 0 0 0 0 rgba(246, 201, 21, 0); } }

/* ---------- top bar & header ---------- */
.kb-topbar { background: linear-gradient(90deg, var(--kb-green-dk), var(--kb-green)); color: rgba(255, 255, 255, .92); font-size: 13.5px; }
.kb-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.kb-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.kb-topbar a { color: #fff; }
.kb-topbar a:hover { color: var(--kb-sun); }
.kb-topbar i { color: var(--kb-sun); margin-inline-end: 4px; }
.kb-topbar-right { display: flex; align-items: center; gap: 18px; }
.kb-langs { gap: 4px !important; }
.kb-langs a { display: block; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }
.kb-langs a.active { background: #fff; color: var(--kb-green); }
.kb-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.kb-topbar .kb-social i { color: #fff; margin: 0; }

.kb-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--kb-line); transition: box-shadow .3s; }
.kb-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.kb-header-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.kb-brand { display: flex; align-items: center; gap: 12px; color: var(--kb-ink) !important; min-width: 0; }
.kb-brand img { height: 62px; width: auto; transition: height .3s; flex: none; }
.kb-header.is-scrolled .kb-brand img { height: 50px; }
.kb-brand-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--kb-green); color: #fff; display: grid; place-items: center; font-size: 22px; }
.kb-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.kb-brand-text strong { font-family: var(--kb-font-head); font-weight: 800; font-size: 18px; color: var(--kb-green); letter-spacing: -.01em; }
.kb-brand-text small { font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700; color: var(--kb-navy); text-align: start; }
.kb-nav { display: flex; align-items: center; gap: 16px; }
.kb-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.kb-nav > ul > li { position: relative; }
.kb-nav > ul > li > a { display: block; padding: 10px 13px; font-weight: 600; font-size: 15px; color: var(--kb-ink); border-radius: 10px; position: relative; }
.kb-nav > ul > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--kb-orange); transform: scaleX(0); transition: transform .25s; }
.kb-nav > ul > li > a:hover::after, .kb-nav > ul > li.active > a::after { transform: scaleX(1); }
.kb-nav > ul > li.active > a { color: var(--kb-green); }
.kb-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--kb-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border-top: 3px solid var(--kb-orange); }
.kb-has-sub:hover > .kb-sub, .kb-has-sub.is-open > .kb-sub { opacity: 1; visibility: visible; transform: none; }
.kb-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--kb-ink); font-weight: 500; font-size: 14.5px; }
.kb-sub a:hover { background: var(--kb-green-lt); color: var(--kb-green); }
.kb-nav-ctas { display: flex; gap: 8px; }
.kb-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--kb-green-lt); padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.kb-burger span { display: block; height: 3px; border-radius: 3px; background: var(--kb-green); transition: .3s; }
.kb-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.kb-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.kb-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.kb-hero { position: relative; min-height: min(92vh, 860px); color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--kb-green-dk); padding: 90px 0 150px; }
.kb-hero-slides, .kb-hero-slide, .kb-hero-shade { position: absolute; inset: 0; }
.kb-hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s ease-out; }
.kb-hero-slide.is-active { opacity: 1; transform: scale(1); }
.kb-hero-plain { background: radial-gradient(circle at 70% 30%, var(--kb-sky), var(--kb-green) 60%); }
.kb-hero-shade { background: linear-gradient(100deg, rgba(6, 40, 22, .92) 0%, rgba(8, 60, 32, .74) 38%, rgba(10, 40, 70, .25) 75%, rgba(0, 0, 0, .15) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%); }
[dir=rtl] .kb-hero-shade { background: linear-gradient(-100deg, rgba(6, 40, 22, .92) 0%, rgba(8, 60, 32, .74) 38%, rgba(10, 40, 70, .25) 75%, rgba(0, 0, 0, .15) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%); }
.kb-hero-rays { position: absolute; width: 1800px; height: 1800px; top: -900px; right: -900px; background: repeating-conic-gradient(rgba(246, 201, 21, .10) 0 5deg, transparent 5deg 15deg); border-radius: 50%; animation: kb-spin 90s linear infinite; pointer-events: none; -webkit-mask: radial-gradient(circle, #000 20%, transparent 62%); mask: radial-gradient(circle, #000 20%, transparent 62%); }
[dir=rtl] .kb-hero-rays { right: auto; left: -900px; }
.kb-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.kb-hero-copy { max-width: 720px; }
.kb-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.kb-hero h1 .ma-hl { color: var(--kb-sun); }
.kb-hero h1 .ma-hl::after { background: var(--kb-orange); opacity: .8; }
.kb-arabic-name { display: inline-block; font-family: 'Cairo', sans-serif; font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); background: var(--kb-navy); color: #fff; padding: 6px 22px 8px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); margin-bottom: 18px; }
.kb-hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0 0 30px; }
.kb-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.kb-hero-badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; font-weight: 500; }
.kb-hero-badges li { display: flex; align-items: center; gap: 9px; }
.kb-hero-badges i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(246, 201, 21, .18); color: var(--kb-sun); }
.kb-hero-seal { position: relative; width: 250px; height: 250px; flex: none; }
.kb-seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: kb-spin 26s linear infinite; }
.kb-seal-ring text { fill: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 3px; font-family: var(--kb-font-head); }
@keyframes kb-spin { to { transform: rotate(360deg); } }
.kb-seal-core { position: absolute; inset: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .18), 0 20px 50px -10px rgba(0, 0, 0, .55); animation: kb-bob 5s ease-in-out infinite; }
.kb-seal-core img { width: 82%; height: auto; }
.kb-seal-core strong { font-size: 64px; color: var(--kb-green); }
@keyframes kb-bob { 50% { transform: translateY(-8px); } }
.kb-hero-dots { position: absolute; z-index: 3; bottom: 104px; inset-inline-end: max(20px, calc((100vw - 1240px) / 2 + 20px)); display: flex; gap: 8px; }
.kb-hero-dots button { width: 42px; height: 5px; border: 0; padding: 0; border-radius: 5px; background: rgba(255, 255, 255, .35); cursor: pointer; overflow: hidden; }
.kb-hero-dots button span { display: block; height: 100%; width: 0; background: var(--kb-sun); }
.kb-hero-dots button.is-active span { animation: kb-progress 6s linear forwards; }
@keyframes kb-progress { to { width: 100%; } }
.kb-hero-cycles { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.kb-cycle-chip { flex: 1 1 180px; display: block; padding: 14px 20px; transform: skewX(-10deg); border-radius: 6px; color: #fff !important; font-weight: 800; font-style: italic; font-size: 19px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); transition: transform .25s; text-align: center; }
.kb-cycle-chip span { display: block; transform: skewX(10deg); }
.kb-cycle-chip:hover { transform: skewX(-10deg) translateY(-5px); }
.tone-brown { --tone: var(--kb-brown); }
.tone-navy { --tone: var(--kb-navy); }
.tone-orange { --tone: var(--kb-orange); }
.tone-gold { --tone: var(--kb-gold); }
.kb-cycle-chip { background: var(--tone); }

/* ---------- ticker ---------- */
.kb-ticker { background: var(--kb-orange); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: -14px 0 0; position: relative; z-index: 4; box-shadow: 0 10px 30px -14px rgba(240, 122, 20, .9); }
.kb-ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: kb-marquee 38s linear infinite; font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.kb-ticker-track i { color: var(--kb-sun); font-size: 14px; }
@keyframes kb-marquee { to { transform: translateX(-50%); } }
[dir=rtl] .kb-ticker-track { animation-name: kb-marquee-rtl; }
@keyframes kb-marquee-rtl { to { transform: translateX(50%); } }

/* ---------- about ---------- */
.kb-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.kb-about-media { position: relative; padding: 0 40px 60px 0; }
[dir=rtl] .kb-about-media { padding: 0 0 60px 40px; }
.kb-about-main { border-radius: 26px; overflow: hidden; box-shadow: var(--kb-shadow); aspect-ratio: 4/3.2; background: var(--kb-green-lt); }
.kb-about-main img, .kb-about-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-about-float { position: absolute; border-radius: 20px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--kb-shadow); }
.kb-float-a { width: 46%; aspect-ratio: 4/3; bottom: 0; inset-inline-end: 0; animation: kb-bob 6s ease-in-out infinite; }
.kb-float-b { width: 34%; aspect-ratio: 1; top: -30px; inset-inline-start: -30px; animation: kb-bob 7s ease-in-out infinite reverse; }
.kb-about-since { position: absolute; bottom: 30px; inset-inline-start: -10px; background: var(--kb-green); color: #fff; border-radius: 18px; padding: 14px 22px; display: flex; flex-direction: column-reverse; align-items: center; box-shadow: var(--kb-shadow); }
.kb-about-since strong { font-size: 34px; line-height: 1; font-weight: 800; color: var(--kb-sun); }
.kb-about-since span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.kb-about-copy p { color: var(--kb-muted); font-size: 16.5px; }
.kb-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.kb-checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15px; }
.kb-checks i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--kb-orange-lt); color: var(--kb-orange); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }

/* ---------- stats ---------- */
.kb-stats { background: linear-gradient(120deg, var(--kb-green-dk), var(--kb-green) 55%, color-mix(in srgb, var(--kb-green) 70%, var(--kb-sky))); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.kb-stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.kb-stats-in { position: relative; display: grid; grid-template-columns: repeat(var(--kb-n), 1fr); gap: 20px; }
.kb-stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kb-stat-ico { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 24px; color: var(--kb-sun); margin-bottom: 8px; transform: rotate(-6deg); }
.kb-stat strong { font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; line-height: 1; font-family: var(--kb-font-head); }
.kb-stat > span:last-child { font-size: 14.5px; opacity: .9; }

/* ---------- director ---------- */
.kb-director { background: var(--kb-cream); overflow: hidden; }
.kb-director::before { content: "\201C"; position: absolute; top: -60px; inset-inline-end: 4%; font-size: 420px; line-height: 1; font-family: Georgia, serif; color: var(--kb-orange); opacity: .07; }
.kb-director-grid { display: grid; grid-template-columns: 400px 1fr; gap: 70px; align-items: center; position: relative; }
.kb-director-visual { position: relative; text-align: center; }
.kb-director-frame { position: relative; width: 340px; height: 340px; margin: 0 auto; border-radius: 50%; padding: 14px; background: conic-gradient(var(--kb-green), var(--kb-sky), var(--kb-sun), var(--kb-orange), var(--kb-green)); animation: kb-spin 18s linear infinite; }
.kb-director-frame img, .kb-director-frame i { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; border: 8px solid #fff; display: block; animation: kb-spin 18s linear infinite reverse; }
.kb-director-frame.is-logo img { object-fit: contain; padding: 22px; }
.kb-director-frame i { display: grid; place-items: center; font-size: 110px; color: var(--kb-green); }
.kb-director-card { position: relative; margin: -34px auto 0; background: #fff; display: inline-flex; flex-direction: column; padding: 14px 26px; border-radius: 16px; box-shadow: var(--kb-shadow); border-bottom: 4px solid var(--kb-orange); }
.kb-director-card strong { font-size: 18px; color: var(--kb-green); }
.kb-director-card small { color: var(--kb-muted); }
.kb-bigquote { margin: 0 0 22px; padding: 0; border: 0; font-family: var(--kb-font-head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 700; color: var(--kb-ink); }
.kb-bigquote::before { content: "\201C"; color: var(--kb-orange); font-size: 1.5em; line-height: 0; vertical-align: -.35em; margin-inline-end: 6px; font-family: Georgia, serif; }
.kb-speech { color: var(--kb-muted); font-size: 16px; max-height: 160px; overflow: hidden; position: relative; transition: max-height .6s ease; }
.kb-speech::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--kb-cream)); transition: opacity .3s; }
.kb-speech.is-open { max-height: 1600px; }
.kb-speech.is-open::after { opacity: 0; }
.kb-speech-hello { font-weight: 700; color: var(--kb-ink); }
.kb-director-actions { display: flex; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.kb-more-btn i { transition: transform .3s; }
.kb-more-btn.is-open i { transform: rotate(180deg); }
.kb-signature { margin-top: 26px; font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: 26px; color: var(--kb-green); }
.kb-signature span { font-family: var(--kb-font-body); font-size: 14px; color: var(--kb-muted); }

/* ---------- programs ---------- */
.kb-cycles { display: grid; grid-template-columns: repeat(var(--kb-n), 1fr); gap: 24px; }
.kb-cycle { background: #fff; border-radius: var(--kb-card); overflow: hidden; box-shadow: var(--kb-shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; border-bottom: 5px solid var(--tone); }
.kb-cycle:hover { transform: translateY(-8px); box-shadow: var(--kb-shadow); }
.kb-cycle-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: color-mix(in srgb, var(--tone) 18%, #fff); }
.kb-cycle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kb-cycle:hover .kb-cycle-media img { transform: scale(1.08); }
.kb-cycle-num { position: absolute; top: 12px; inset-inline-end: 14px; font-size: 44px; font-weight: 800; color: #fff; text-shadow: 0 4px 16px rgba(0, 0, 0, .45); line-height: 1; }
.kb-cycle-body { padding: 0 22px 24px; flex: 1; display: flex; flex-direction: column; }
.kb-skew { margin: -22px 0 14px; align-self: flex-start; }
.kb-skew span { display: inline-block; background: var(--tone); color: #fff; padding: 9px 18px; transform: skewX(-10deg); border-radius: 5px; font-style: italic; font-weight: 800; font-size: 21px; box-shadow: 0 8px 18px -8px var(--tone); position: relative; z-index: 2; }
.kb-cycle-range { font-weight: 700; color: var(--tone); font-size: 14px; margin-bottom: 8px; }
.kb-cycle p { color: var(--kb-muted); font-size: 15px; flex: 1; }

/* ---------- advantages ---------- */
.kb-advantages { background: var(--kb-navy); color: #fff; overflow: hidden; }
.kb-adv-bg { position: absolute; inset: 0; background: radial-gradient(circle at 10% 10%, rgba(127, 198, 210, .25), transparent 40%), radial-gradient(circle at 90% 90%, rgba(240, 122, 20, .25), transparent 45%); }
.kb-adv-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 46px 46px; }
.kb-head-light .kb-title { color: #fff; }
.kb-head-light .kb-kicker { color: var(--kb-sun); }
.kb-adv-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kb-adv { position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--kb-card); padding: 30px 26px; overflow: hidden; transition: transform .3s, background .3s; }
.kb-adv:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); }
.kb-adv-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, var(--kb-orange), var(--kb-sun)); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 24px -12px var(--kb-orange); transition: transform .4s; }
.kb-adv:hover .kb-adv-icon { transform: rotate(-8deg) scale(1.08); }
.kb-adv:nth-child(3n+2) .kb-adv-icon { background: linear-gradient(135deg, var(--kb-green), var(--kb-sky)); box-shadow: 0 12px 24px -12px var(--kb-green); }
.kb-adv:nth-child(3n) .kb-adv-icon { background: linear-gradient(135deg, var(--kb-brown), var(--kb-orange)); }
.kb-adv h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.kb-adv p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 15px; }
.kb-adv-n { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 46px; font-weight: 800; color: rgba(255, 255, 255, .06); line-height: 1; }

/* ---------- anniversary ---------- */
.kb-anniv { position: relative; overflow: hidden; background: linear-gradient(120deg, #3b1606, var(--kb-brown) 45%, var(--kb-orange)); color: #fff; padding: 90px 0; }
.kb-anniv-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.kb-anniv-confetti i { position: absolute; top: -20px; left: var(--x); width: 10px; height: 16px; border-radius: 3px; background: var(--kb-sun); opacity: .8; animation: kb-fall var(--t) linear infinite; animation-delay: var(--dl); }
.kb-anniv-confetti i:nth-child(3n) { background: #fff; width: 8px; height: 8px; border-radius: 50%; }
.kb-anniv-confetti i:nth-child(3n+1) { background: var(--kb-sky); }
@keyframes kb-fall { to { transform: translateY(700px) rotate(540deg); } }
.kb-anniv-in { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.kb-anniv-num { position: relative; display: flex; align-items: baseline; gap: 8px; }
.kb-anniv-num span { font-size: clamp(130px, 17vw, 230px); font-weight: 800; line-height: .85; background: linear-gradient(180deg, #fff 10%, var(--kb-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35)); font-family: var(--kb-font-head); }
.kb-anniv-num small { font-size: 30px; font-weight: 800; color: var(--kb-sun); text-transform: uppercase; }
.kb-anniv-copy h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; margin: 16px 0 14px; }
.kb-anniv-copy h2 .ma-hl { color: var(--kb-sun); }
.kb-anniv-copy p { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 640px; margin-bottom: 28px; }
.kb-anniv .kb-btn-orange { background: #fff; color: var(--kb-brown) !important; }

/* ---------- gallery ---------- */
.kb-gallery { background: linear-gradient(180deg, #fff, var(--kb-green-lt)); }
.kb-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.kb-filters button { border: 2px solid var(--kb-line); background: #fff; color: var(--kb-ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; font-family: inherit; }
.kb-filters button small { opacity: .6; margin-inline-start: 4px; }
.kb-filters button:hover { border-color: var(--kb-green); color: var(--kb-green); }
.kb-filters button.is-active { background: var(--kb-green); border-color: var(--kb-green); color: #fff; box-shadow: 0 8px 18px -10px var(--kb-green); }
.kb-masonry { column-count: 4; column-gap: 14px; }
.kb-mason-item { display: block; position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; box-shadow: var(--kb-shadow-sm); background: var(--kb-line); animation: kb-in .5s ease both; }
.kb-mason-item.is-hidden { display: none; }
.kb-mason-item img { width: 100%; display: block; transition: transform .6s, filter .4s; }
.kb-mason-item:hover img { transform: scale(1.07); filter: saturate(1.15); }
.kb-mason-cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .3s; }
.kb-mason-item:hover .kb-mason-cap { opacity: 1; transform: none; }
@keyframes kb-in { from { opacity: 0; transform: scale(.96); } }
.kb-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 10px 0 30px; }
.kb-album { display: block; background: #fff; border-radius: var(--kb-card); overflow: hidden; box-shadow: var(--kb-shadow-sm); transition: transform .3s, box-shadow .3s; color: var(--kb-ink) !important; }
.kb-album:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow); }
.kb-album-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--kb-green-lt); }
.kb-album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kb-album:hover .kb-album-img img { transform: scale(1.08); }
.kb-album-body { display: flex; flex-direction: column; padding: 16px 18px; gap: 4px; border-top: 4px solid var(--kb-orange); }
.kb-album-body strong { font-size: 17px; }
.kb-album-body small { color: var(--kb-muted); }

/* ---------- life ---------- */
.kb-life-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.kb-life-tile { position: relative; border-radius: var(--kb-card); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; color: #fff !important; background: var(--tone); box-shadow: var(--kb-shadow-sm); isolation: isolate; }
.kb-life-tile:nth-child(1) { grid-row: span 2; }
.kb-life-tile:nth-child(6) { grid-column: 1 / -1; }
.kb-life-tile:nth-child(n+7) { grid-column: auto; }
.kb-life-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.kb-life-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--tone) 85%, #000) 100%); transition: opacity .3s; }
.kb-life-tile:hover img { transform: scale(1.1) rotate(.5deg); }
.kb-life-ico { position: absolute; top: 18px; inset-inline-start: 18px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--tone); font-size: 20px; transition: transform .4s; }
.kb-life-tile:hover .kb-life-ico { transform: rotate(-10deg) scale(1.1); }
.kb-life-title { font-size: 21px; font-weight: 800; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }

/* ---------- news & events ---------- */
.kb-news { background: #fff; }
.kb-news-layout { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.kb-news-layout.is-single { grid-template-columns: 1fr; }
.kb-news-grid, .kb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.kb-news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--kb-card); overflow: hidden; box-shadow: var(--kb-shadow-sm); color: var(--kb-ink) !important; transition: transform .3s, box-shadow .3s; border: 1px solid var(--kb-line); }
.kb-news-card:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow); }
.kb-news-img { position: relative; aspect-ratio: 16/10; background: var(--kb-green-lt); display: grid; place-items: center; overflow: hidden; }
.kb-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kb-news-card:hover .kb-news-img img { transform: scale(1.07); }
.kb-news-img > i { font-size: 44px; color: var(--kb-green); opacity: .4; }
.kb-news-date { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--kb-orange); color: #fff; border-radius: 12px; padding: 6px 10px; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.kb-news-date strong { display: block; font-size: 22px; }
.kb-news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kb-news-body h3 { font-size: 18px; line-height: 1.35; }
.kb-news-body p { color: var(--kb-muted); font-size: 14.5px; margin: 0; flex: 1; }
.kb-meta { color: var(--kb-orange); font-size: 13.5px; font-weight: 600; }
.kb-events { background: var(--kb-green); color: #fff; border-radius: var(--kb-card); padding: 26px 22px; box-shadow: var(--kb-shadow); position: sticky; top: 110px; }
.kb-events h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.kb-events h3 i { color: var(--kb-sun); }
.kb-event { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); margin-bottom: 10px; color: #fff !important; transition: background .2s, transform .2s; }
.kb-event:hover { background: rgba(255, 255, 255, .2); transform: translateX(4px); }
.kb-event-date { flex: none; width: 58px; text-align: center; background: #fff; color: var(--kb-green); border-radius: 12px; padding: 6px 4px; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.kb-event-date strong { display: block; font-size: 22px; color: var(--kb-orange); }
.kb-event-body strong { display: block; font-size: 15px; line-height: 1.35; }
.kb-event-body small { opacity: .85; font-size: 12.5px; }
.kb-events .kb-link { color: var(--kb-sun); margin-top: 8px; }

/* ---------- CTA ---------- */
.kb-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--kb-orange), color-mix(in srgb, var(--kb-orange) 60%, #c0341a)); color: #fff; padding: 84px 0; }
.kb-cta-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; mix-blend-mode: multiply; }
.kb-cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .08); top: -240px; inset-inline-end: -160px; }
.kb-cta-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.kb-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; margin: 16px 0 12px; }
.kb-cta h2 .ma-hl { color: #fff; }
.kb-cta p { font-size: 17px; opacity: .92; margin: 0; }
.kb-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.kb-cta-phone { color: #fff !important; font-size: 26px; font-weight: 800; text-align: center; margin-top: 6px; }
.kb-cta-phone i { color: var(--kb-sun); }

/* ---------- portal ---------- */
.kb-portal { padding: 70px 0; background: var(--kb-cream); }
.kb-portal-in { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; }
.kb-portal .kb-title { font-size: clamp(22px, 2.2vw, 28px); margin: 0; }
.kb-portal-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-portal-items a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--kb-ink) !important; font-weight: 600; font-size: 14px; box-shadow: var(--kb-shadow-sm); transition: transform .2s; }
.kb-portal-items a:hover { transform: translateY(-3px); }
.kb-portal-items i { width: 34px; height: 34px; border-radius: 10px; background: var(--kb-green-lt); color: var(--kb-green); display: grid; place-items: center; flex: none; }

/* ---------- footer ---------- */
.kb-footer { position: relative; background: #0b2417; color: rgba(255, 255, 255, .78); padding: 110px 0 0; margin-top: 0; }
.kb-footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; fill: var(--kb-cream); }
.kb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; padding-bottom: 50px; }
.kb-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.kb-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--kb-orange); }
.kb-footer ul { list-style: none; margin: 0; padding: 0; }
.kb-footer li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.kb-footer li i { color: var(--kb-sun); margin-top: 4px; }
.kb-footer a { color: rgba(255, 255, 255, .82); }
.kb-footer a:hover { color: var(--kb-sun); }
.kb-brand-light img { height: 70px; background: #fff; border-radius: 50%; padding: 4px; }
.kb-brand-light .kb-brand-text strong { color: #fff; }
.kb-brand-light .kb-brand-text small { color: var(--kb-sun); }
.kb-footer-brand p { margin: 18px 0; font-size: 14.5px; }
.kb-social-lg a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 17px; }
.kb-social-lg a:hover { background: var(--kb-orange); color: #fff; }
.kb-footer-cta p { font-size: 14.5px; }
.kb-footer-note { opacity: .7; margin-top: 16px; font-size: 13px !important; }
.kb-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13.5px; }
.kb-footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- floating ---------- */
.kb-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; font-size: 30px; z-index: 1001; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .8); animation: kb-pulse-wa 2.4s infinite; }
@keyframes kb-pulse-wa { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.kb-top { position: fixed; bottom: 90px; inset-inline-end: 29px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--kb-green); color: #fff; z-index: 1001; opacity: 0; visibility: hidden; transition: .3s; cursor: pointer; box-shadow: var(--kb-shadow-sm); }
.kb-top.is-visible { opacity: 1; visibility: visible; }
.kb-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: var(--kb-ink); color: #fff; padding: 14px 20px; z-index: 1002; text-align: center; font-size: 14px; }
.kb-cookie a { color: var(--kb-sun); cursor: pointer; margin-inline-start: 10px; font-weight: 700; }

/* ---------- lightbox ---------- */
.kb-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 20, 12, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.kb-lightbox[hidden] { display: none; }
.kb-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.kb-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: kb-in .35s ease; }
.kb-lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 600; }
.kb-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.kb-lightbox button:hover { background: var(--kb-orange); }
.kb-lb-close { top: 18px; inset-inline-end: 18px; }
.kb-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.kb-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.kb-lb-count { position: absolute; top: 28px; inset-inline-start: 24px; color: rgba(255, 255, 255, .75); font-weight: 600; }

/* ---------- reveal on scroll ---------- */
.kb-js .kb-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.kb-js .kb-reveal.is-in { opacity: 1; transform: none; }

/* ---------- inner pages ---------- */
.kb-pagehead { position: relative; padding: 90px 0 110px; color: #fff; background: linear-gradient(120deg, var(--kb-green-dk), var(--kb-green)); overflow: hidden; }
.kb-pagehead-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.kb-pagehead-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 40, 22, .92), rgba(8, 60, 32, .7) 55%, rgba(43, 57, 144, .45)); }
.kb-pagehead-in { position: relative; z-index: 2; }
.kb-pagehead h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; margin-top: 10px; }
.kb-crumbs { font-size: 14px; color: rgba(255, 255, 255, .85); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kb-crumbs a { color: var(--kb-sun); }
.kb-pagehead-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: #fff; z-index: 2; }
.kb-page { padding: 50px 0 100px; }
.kb-page-body { min-height: 200px; display: flow-root; }
.kb-form::after, .kb-form form::after { content: ""; display: table; clear: both; }

.kb-prose { font-size: 16.5px; color: #33443b; }
.kb-prose h2, .kb-prose .kb-h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; margin: 40px 0 16px; }
.kb-prose h3 { font-size: 21px; margin: 28px 0 10px; color: var(--kb-green); }
.kb-prose p { margin: 0 0 16px; }
.kb-prose ul { padding-inline-start: 20px; }
.kb-prose img { border-radius: 14px; height: auto; }
.kb-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.kb-prose table td, .kb-prose table th { border: 1px solid var(--kb-line); padding: 10px 12px; }
.kb-prose table th { background: var(--kb-green-lt); color: var(--kb-green); }
.kb-lead-p { font-size: 19px; color: var(--kb-ink); font-weight: 500; }
.kb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin: 30px 0 50px; }
.kb-split-img img { width: 100%; border-radius: 22px; box-shadow: var(--kb-shadow); display: block; }
.kb-grid-2, .kb-grid-3, .kb-grid-4 { display: grid; gap: 22px; margin: 24px 0 40px; }
.kb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.kb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.kb-card { background: #fff; border: 1px solid var(--kb-line); border-radius: var(--kb-card); padding: 26px 24px; box-shadow: var(--kb-shadow-sm); transition: transform .3s; border-top: 4px solid var(--kb-orange); }
.kb-card:hover { transform: translateY(-5px); }
.kb-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--kb-ink); }
.kb-card p { margin: 0; color: var(--kb-muted); font-size: 15px; }
.kb-card .kb-card-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--kb-green-lt); color: var(--kb-green); font-size: 24px; margin-bottom: 14px; }
.kb-card-green { border-top-color: var(--kb-green); } .kb-card-navy { border-top-color: var(--kb-navy); } .kb-card-brown { border-top-color: var(--kb-brown); }
.kb-card-img { padding: 0; overflow: hidden; }
.kb-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; display: block; }
.kb-card-img .kb-card-in { padding: 20px 22px 24px; }
.kb-callout { background: linear-gradient(120deg, var(--kb-green), color-mix(in srgb, var(--kb-green) 70%, var(--kb-sky))); color: #fff; border-radius: 22px; padding: 34px 36px; margin: 40px 0; position: relative; overflow: hidden; }
.kb-callout::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); top: -100px; inset-inline-end: -60px; }
.kb-callout h2, .kb-callout h3 { color: #fff !important; margin-top: 0 !important; }
.kb-callout p { color: rgba(255, 255, 255, .9); }
.kb-callout a:not(.kb-btn) { color: var(--kb-sun); }
.kb-callout-orange { background: linear-gradient(120deg, var(--kb-orange), var(--kb-brown)); }
.kb-quote-box { border-inline-start: 5px solid var(--kb-orange); background: var(--kb-cream); padding: 24px 28px; border-radius: 0 18px 18px 0; font-size: 19px; font-weight: 600; color: var(--kb-ink); margin: 30px 0; }
[dir=rtl] .kb-quote-box { border-radius: 18px 0 0 18px; }
.kb-timeline { list-style: none; margin: 30px 0; padding: 0; position: relative; }
.kb-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 19px; width: 3px; background: linear-gradient(var(--kb-green), var(--kb-orange)); border-radius: 3px; }
.kb-timeline li { position: relative; padding-inline-start: 60px; margin-bottom: 26px; }
.kb-timeline li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 5px solid var(--kb-orange); }
.kb-timeline strong { display: block; color: var(--kb-green); font-size: 18px; }
.kb-steps { counter-reset: kbstep; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 26px 0 40px; list-style: none; padding: 0 !important; }
.kb-steps li { counter-increment: kbstep; background: #fff; border-radius: var(--kb-card); padding: 54px 20px 22px; position: relative; box-shadow: var(--kb-shadow-sm); border: 1px solid var(--kb-line); }
.kb-steps li::before { content: counter(kbstep); position: absolute; top: -18px; inset-inline-start: 20px; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--kb-orange), var(--kb-sun)); color: #fff; font-weight: 800; font-size: 24px; display: grid; place-items: center; box-shadow: 0 10px 20px -10px var(--kb-orange); }
.kb-steps strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--kb-ink); }
.kb-steps span { color: var(--kb-muted); font-size: 14.5px; }
.kb-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 34px; }
.kb-contact-card { background: #fff; border-radius: var(--kb-card); padding: 26px 20px; text-align: center; box-shadow: var(--kb-shadow-sm); border: 1px solid var(--kb-line); }
.kb-contact-card i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--kb-green); color: #fff; font-size: 22px; }
.kb-contact-card:nth-child(2) i { background: var(--kb-orange); } .kb-contact-card:nth-child(3) i { background: var(--kb-navy); } .kb-contact-card:nth-child(4) i { background: #25d366; }
.kb-contact-card strong { display: block; margin-bottom: 4px; }
.kb-contact-card a, .kb-contact-card span { color: var(--kb-muted); font-size: 15px; word-break: break-word; }
.kb-map { border-radius: 22px; overflow: hidden; box-shadow: var(--kb-shadow); margin: 30px 0; line-height: 0; }
.kb-map iframe { width: 100%; height: 420px; border: 0; }
.kb-form { background: var(--kb-cream); border-radius: 22px; padding: 30px; margin: 20px 0; }
.kb-form .form-control { border-radius: 12px; min-height: 46px; border-color: #dfe6e2; box-shadow: none; }
.kb-form .form-control:focus { border-color: var(--kb-green); }
.kb-form .btn, .kb-page .btn-primary { background: var(--kb-green); border: 0; border-radius: var(--kb-radius); padding: 11px 26px; font-weight: 600; }
.kb-director-block { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; background: var(--kb-cream); border-radius: 26px; padding: 40px; margin: 0 0 40px; }
.kb-director-block .kb-director-frame { width: 280px; height: 280px; }
.kb-director-block .kb-bigquote { margin-bottom: 14px; }
.kb-prose .kb-director-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.kb-prose .kb-director-frame.is-logo img { object-fit: contain; }
@media (max-width: 767px) { .kb-director-block { grid-template-columns: 1fr; text-align: center; padding: 26px 18px; gap: 20px; } .kb-director-block .kb-director-frame { width: 230px; height: 230px; } }
.kb-read-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.kb-read-meta span { background: var(--kb-green-lt); color: var(--kb-green); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.kb-read-body { margin-bottom: 30px; }
.kb-postlist .pagination > li > a { border-radius: 10px !important; margin: 0 3px; color: var(--kb-green); }
.kb-postlist .pagination > .active > a { background: var(--kb-green); border-color: var(--kb-green); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
    .kb-nav-ctas .kb-btn-outline { display: none; }
    .kb-nav > ul > li > a { padding: 10px 9px; font-size: 14.5px; }
    .kb-hero-seal { width: 200px; height: 200px; }
    .kb-seal-core { inset: 28px; }
    .kb-portal-in { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .kb-section { padding: 72px 0; }
    .kb-hide-sm { display: none !important; }
    .kb-burger { display: flex; }
    .kb-header { backdrop-filter: none; background: #fff; }
    .kb-nav:not(.is-open) { visibility: hidden; }
    .kb-nav { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 30px; box-shadow: -20px 0 50px rgba(0, 0, 0, .2); transform: translateX(105%); transition: transform .35s ease, visibility .35s; overflow-y: auto; z-index: 1001; }
    [dir=rtl] .kb-nav { transform: translateX(-105%); }
    .kb-nav.is-open { transform: none !important; }
    .kb-nav > ul { flex-direction: column; align-items: stretch; }
    .kb-nav > ul > li > a { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--kb-line); border-radius: 0; }
    .kb-nav > ul > li > a::after { display: none; }
    .kb-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 8px 14px; }
    .kb-has-sub.is-open > .kb-sub { display: block; }
    .kb-nav-ctas { flex-direction: column; margin-top: 18px; }
    .kb-nav-ctas .kb-btn-outline { display: inline-flex; }
    .kb-burger { position: relative; z-index: 1002; }
    body.kb-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 999; }
    .kb-hero-in { grid-template-columns: 1fr; }
    .kb-hero-seal { display: none; }
    .kb-about-grid, .kb-director-grid, .kb-news-layout, .kb-cta-in, .kb-split { grid-template-columns: 1fr; gap: 44px; }
    .kb-about-media { max-width: 620px; margin: 0 auto; }
    .kb-cycles { grid-template-columns: repeat(2, 1fr); }
    .kb-adv-grid, .kb-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .kb-grid-4, .kb-steps, .kb-contact-cards { grid-template-columns: repeat(2, 1fr); }
    .kb-stats-in { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
    .kb-masonry { column-count: 3; }
    .kb-anniv-in { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .kb-anniv-num { justify-content: center; }
    .kb-anniv-copy p { margin-inline: auto; }
    .kb-footer-grid { grid-template-columns: 1fr 1fr; }
    .kb-events { position: static; }
    .kb-life-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
    .kb-life-tile:nth-child(1) { grid-row: auto; }
}
@media (max-width: 640px) {
    body.kb { font-size: 15.5px; }
    .kb-container { padding: 0 16px; }
    .kb-section { padding: 60px 0; }
    .kb-topbar-contact li:not(:first-child) { display: none; }
    .kb-header-in { min-height: 70px; }
    .kb-brand img { height: 48px; }
    .kb-brand-text strong { font-size: 15px; }
    .kb-brand-text small { font-size: 13px; }
    .kb-hero { min-height: auto; padding: 60px 0 36px; }
    .kb-hero-btns .kb-btn { width: 100%; }
    .kb-hero-badges { gap: 10px; }
    .kb-hero-dots { bottom: auto; top: 16px; }
    .kb-hero-cycles { position: relative; bottom: auto; margin-top: 34px; gap: 8px; }
    .kb-cycle-chip { flex: 1 1 42%; font-size: 15px; padding: 11px 10px; }
    .kb-ticker-track { font-size: 15px; }
    .kb-checks { grid-template-columns: 1fr; }
    .kb-about-media { padding: 0 0 40px; }
    [dir=rtl] .kb-about-media { padding: 0 0 40px; }
    .kb-float-b { display: none; }
    .kb-float-a { width: 52%; }
    .kb-about-since { inset-inline-start: 10px; bottom: 10px; padding: 10px 16px; }
    .kb-director-frame { width: 260px; height: 260px; }
    .kb-cycles, .kb-adv-grid, .kb-grid-2, .kb-grid-3, .kb-grid-4, .kb-steps, .kb-contact-cards { grid-template-columns: 1fr; }
    .kb-stats-in { grid-template-columns: repeat(2, 1fr); }
    .kb-masonry { column-count: 2; column-gap: 10px; }
    .kb-mason-item { margin-bottom: 10px; border-radius: 12px; }
    .kb-life-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
    .kb-life-title { font-size: 16px; }
    .kb-life-ico { width: 38px; height: 38px; font-size: 16px; top: 12px; inset-inline-start: 12px; }
    .kb-portal-items { grid-template-columns: repeat(2, 1fr); }
    .kb-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .kb-lightbox { padding: 60px 10px; }
    .kb-lb-prev, .kb-lb-next { top: auto !important; bottom: 18px; transform: none !important; }
    .kb-pagehead { padding: 60px 0 80px; }
    .kb-callout { padding: 26px 22px; }
    .kb-map iframe { height: 320px; }
    .kb-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .kb-filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
    .kb *, .kb *::before, .kb *::after { animation: none !important; transition: none !important; }
    .kb-js .kb-reveal { opacity: 1; transform: none; }
}
