/* ==========================================================================
   Imam Malick — private front theme of Daara Moderne Imam Malick (Tambacounda)
   Emerald of the logo and uniforms, gold accents, the arches of the school's
   façade and an eight-point star pattern. --im-green / --im-gold are set by
   the customizer (Website > Customize theme).
   ========================================================================== */
:root {
    --im-green: #0c8a43;
    --im-gold: #e4a11b;
    --im-deep: color-mix(in srgb, var(--im-green) 38%, #01180c);
    --im-dark: color-mix(in srgb, var(--im-green) 62%, #021f10);
    --im-mint: color-mix(in srgb, var(--im-green) 9%, #fff);
    --im-gold-lt: color-mix(in srgb, var(--im-gold) 16%, #fff);
    --im-gold-dk: color-mix(in srgb, var(--im-gold) 75%, #6b3d00);
    --im-cream: #fbf7ee;
    --im-ink: #0f2419;
    --im-muted: #56675e;
    --im-line: #e5ece7;
    --im-radius: 999px;
    --im-card: 22px;
    --im-shadow: 0 24px 50px -24px rgba(5, 40, 22, .38);
    --im-shadow-sm: 0 8px 22px -10px rgba(5, 40, 22, .28);
    --im-font-head: 'Playfair Display', Georgia, serif;
    --im-font-body: 'Lato', 'Segoe UI', Arial, sans-serif;
    --im-star: polygon(50% 0, 61% 27%, 85% 15%, 73% 39%, 100% 50%, 73% 61%, 85% 85%, 61% 73%, 50% 100%, 39% 73%, 15% 85%, 27% 61%, 0 50%, 27% 39%, 15% 15%, 39% 27%);
    --im-pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='white' stroke-width='1.1'%3E%3Cpath d='M48 14l10 24 24 10-24 10-10 24-10-24-24-10 24-10z'/%3E%3Cpath d='M28 28h40v40H28z'/%3E%3Cpath d='M48 20l28 28-28 28-28-28z'/%3E%3Cpath d='M0 0l14 14M96 0L82 14M0 96l14-14M96 96L82 82M0 48h6M90 48h6M48 0v6M48 90v6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
body.im { margin: 0; font-family: var(--im-font-body); color: var(--im-ink); background: #fff; font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.im *, .im *::before, .im *::after { box-sizing: border-box; }
.im h1, .im h2, .im h3, .im h4 { font-family: var(--im-font-head); color: var(--im-ink); margin: 0; line-height: 1.18; }
.im a { color: var(--im-green); text-decoration: none; transition: color .2s; }
.im a:hover, .im a:focus { color: var(--im-gold-dk); text-decoration: none; }
.im img { max-width: 100%; }
#im-main, .im-footer, .im-topbar { overflow-x: clip; }
.im-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
.im-section { padding: 104px 0; position: relative; }
.im-center { text-align: center; margin-top: 40px; }
.im :focus-visible { outline: 3px solid var(--im-gold); outline-offset: 2px; }
[lang=ar], .im-bismillah, .im-hero-ar, .im-brand-text small { font-family: 'Amiri', 'Cairo', serif; }
html[lang=ar] body.im { font-family: 'Cairo', sans-serif; }

.im-pattern { position: absolute; inset: 0; background-image: var(--im-pattern-svg); background-size: 96px 96px; opacity: .07; pointer-events: none; }

.im-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--im-font-body); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--im-gold-dk); margin-bottom: 14px; }
.im-kicker::before { content: ""; width: 14px; height: 14px; background: var(--im-gold); clip-path: var(--im-star); flex: none; animation: im-spin 8s linear infinite; }
.im-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.im-lead { font-size: 18px; color: var(--im-muted); max-width: 720px; }
.im-head { text-align: center; margin: 0 auto 54px; max-width: 840px; }
.im-head .im-lead { margin: 0 auto; }
.im-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.ma-hl { color: var(--im-green); position: relative; white-space: nowrap; font-style: italic; }
.ma-hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .3em; background: var(--im-gold); opacity: .35; border-radius: 40% 60% 50% 50%; z-index: -1; transform: rotate(-1.5deg); }

/* ---------- buttons & pills ---------- */
.im-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: var(--im-radius); font-weight: 700; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; white-space: nowrap; position: relative; overflow: hidden; font-family: var(--im-font-body); }
.im-btn:hover { transform: translateY(-3px); }
.im-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s; }
.im-btn:hover::after { left: 120%; }
.im-btn-sm { padding: 9px 18px; font-size: 14px; }
.im-btn-lg { padding: 16px 32px; font-size: 16px; }
.im-btn-gold { background: linear-gradient(135deg, color-mix(in srgb, var(--im-gold) 80%, #fff3c4), var(--im-gold) 45%, var(--im-gold-dk)); color: #2a1a00 !important; box-shadow: 0 12px 26px -12px var(--im-gold); }
.im-btn-gold:hover { box-shadow: 0 18px 32px -12px var(--im-gold); }
.im-btn-green { background: var(--im-green); color: #fff !important; box-shadow: 0 12px 26px -14px var(--im-green); }
.im-btn-green:hover { background: var(--im-dark); }
.im-btn-white { background: #fff; color: var(--im-green) !important; }
.im-btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff !important; backdrop-filter: blur(6px); }
.im-btn-glass:hover { background: rgba(255, 255, 255, .22); }
.im-btn-outline { border-color: var(--im-green); color: var(--im-green) !important; background: transparent; }
.im-btn-outline:hover { background: var(--im-green); color: #fff !important; }
.im-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--im-green); }
.im-link i { transition: transform .2s; }
a:hover .im-link i, .im-link:hover i { transform: translateX(5px); }
[dir=rtl] a:hover .im-link i, [dir=rtl] .im-link:hover i { transform: translateX(-5px); }
.im-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.im-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--im-gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--im-gold) 70%, transparent); animation: im-pulse 2s infinite; }
@keyframes im-pulse { 70% { box-shadow: 0 0 0 11px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes im-spin { to { transform: rotate(360deg); } }
@keyframes im-bob { 50% { transform: translateY(-10px); } }

/* ---------- top bar & header ---------- */
.im-topbar { background: var(--im-deep); color: rgba(255, 255, 255, .88); font-size: 13.5px; position: relative; }
.im-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--im-gold), transparent); opacity: .7; }
.im-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.im-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.im-topbar a { color: #fff; }
.im-topbar a:hover { color: var(--im-gold); }
.im-topbar i { color: var(--im-gold); margin-inline-end: 5px; }
.im-topbar-right { display: flex; align-items: center; gap: 18px; }
.im-langs { gap: 4px !important; }
.im-langs a { display: block; padding: 3px 11px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.im-langs a.active { background: var(--im-gold); color: #2a1a00; }
.im-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.im-topbar .im-social i { color: #fff; margin: 0; }

.im-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--im-line); transition: box-shadow .3s; }
.im-header.is-scrolled { box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .45); }
.im-header-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; }
.im-brand { display: flex; align-items: center; gap: 13px; color: var(--im-ink) !important; min-width: 0; }
.im-brand img { height: 66px; width: auto; transition: height .3s, transform .6s; flex: none; }
.im-brand:hover img { transform: rotate(-8deg); }
.im-header.is-scrolled .im-brand img { height: 52px; }
.im-brand-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--im-green); color: #fff; display: grid; place-items: center; font-size: 22px; }
.im-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.im-brand-text strong { font-family: var(--im-font-head); font-weight: 800; font-size: 19px; color: var(--im-green); letter-spacing: -.005em; }
.im-brand-text small { font-size: 14.5px; font-weight: 700; color: var(--im-gold-dk); text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 330px; }
.im-nav { display: flex; align-items: center; gap: 16px; }
.im-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.im-nav > ul > li { position: relative; }
.im-nav > ul > li > a { display: block; padding: 10px 11px; font-weight: 700; font-size: 15px; color: var(--im-ink); border-radius: 10px; position: relative; white-space: nowrap; }
.im-nav > ul > li > a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--im-gold); clip-path: var(--im-star); transform: scale(0) rotate(-90deg); transition: transform .3s; }
.im-nav > ul > li > a:hover::after, .im-nav > ul > li.active > a::after { transform: scale(1) rotate(0); }
.im-nav > ul > li > a:hover, .im-nav > ul > li.active > a { color: var(--im-green); }
.im-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 240px; background: #fff; border-radius: 16px; box-shadow: var(--im-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; border-top: 3px solid var(--im-gold); }
.im-has-sub:hover > .im-sub, .im-has-sub.is-open > .im-sub { opacity: 1; visibility: visible; transform: none; }
.im-sub a { display: block; padding: 9px 13px; border-radius: 9px; color: var(--im-ink); font-weight: 600; font-size: 14.5px; }
.im-sub a:hover { background: var(--im-mint); color: var(--im-green); padding-inline-start: 18px; }
.im-nav-ctas { display: flex; gap: 8px; }
.im-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--im-mint); padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.im-burger span { display: block; height: 3px; border-radius: 3px; background: var(--im-green); transition: .3s; }
.im-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.im-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.im-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.im-hero { position: relative; overflow: hidden; color: #fff; padding: 70px 0 130px; background: radial-gradient(120% 90% at 85% 10%, var(--im-green) 0%, var(--im-dark) 45%, var(--im-deep) 100%); }
.im-hero .im-pattern { opacity: .08; -webkit-mask: linear-gradient(100deg, #000 30%, transparent 75%); mask: linear-gradient(100deg, #000 30%, transparent 75%); }
[dir=rtl] .im-hero .im-pattern { -webkit-mask: linear-gradient(-100deg, #000 30%, transparent 75%); mask: linear-gradient(-100deg, #000 30%, transparent 75%); }
.im-hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.im-glow-a { width: 520px; height: 520px; background: color-mix(in srgb, var(--im-gold) 45%, transparent); top: -220px; inset-inline-start: 20%; opacity: .35; animation: im-drift 14s ease-in-out infinite alternate; }
.im-glow-b { width: 420px; height: 420px; background: #2fd47a; bottom: -200px; inset-inline-end: 10%; opacity: .25; animation: im-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes im-drift { to { transform: translate(60px, 40px) scale(1.15); } }
.im-hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; z-index: 2; }
.im-bismillah { font-size: clamp(22px, 2.4vw, 30px); color: var(--im-gold); margin-bottom: 16px; text-shadow: 0 2px 20px rgba(228, 161, 27, .35); }
.im-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 14px; }
.im-hero h1 .ma-hl { color: var(--im-gold); display: inline-block; }
.im-hero h1 .ma-hl::after { background: #fff; opacity: .16; }
.im-hero-ar { font-size: clamp(20px, 2.2vw, 28px); color: rgba(255, 255, 255, .92); margin-bottom: 18px; line-height: 1.6; display: inline-block; padding: 4px 0; border-top: 1px solid rgba(228, 161, 27, .45); border-bottom: 1px solid rgba(228, 161, 27, .45); }
.im-hero-sub { font-size: clamp(16px, 1.45vw, 19px); color: rgba(255, 255, 255, .86); max-width: 600px; margin: 0 0 32px; }
.im-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.im-hero-values { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.im-hero-values li { display: flex; align-items: center; gap: 10px; }
.im-star-ico { width: 34px; height: 34px; display: grid; place-items: center; background: var(--im-gold); clip-path: var(--im-star); color: var(--im-deep); font-size: 12px; animation: im-spin 12s linear infinite; }
.im-hero-values li:nth-child(2) .im-star-ico { animation-duration: 16s; animation-direction: reverse; }

.im-hero-visual { position: relative; padding: 24px 24px 40px 40px; }
[dir=rtl] .im-hero-visual { padding: 24px 40px 40px 24px; }
.im-arch, .im-arch-outline { border-radius: 50% 50% 26px 26px / 34% 34% 26px 26px; }
.im-arch { position: relative; aspect-ratio: 4 / 4.9; overflow: hidden; background: var(--im-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 10px rgba(255, 255, 255, .06); isolation: isolate; }
.im-arch-outline { position: absolute; inset: 0 0 16px 16px; border: 2px solid var(--im-gold); opacity: .8; transform: translate(-14px, -12px); }
[dir=rtl] .im-arch-outline { inset: 0 16px 16px 0; transform: translate(14px, -12px); }
.im-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.im-slide.is-active { opacity: 1; animation: im-ken 9s ease-out both; }
@keyframes im-ken { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1.02); } }
.im-slide-plain { background: radial-gradient(circle at 50% 30%, var(--im-green), var(--im-deep)); }
.im-arch-shine { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(1, 24, 12, .55)), linear-gradient(120deg, rgba(255, 255, 255, .18), transparent 35%); z-index: 2; }
.im-seal { position: absolute; width: 150px; height: 150px; bottom: 0; inset-inline-start: 0; z-index: 3; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.im-seal-star { position: absolute; inset: 0; width: 100%; height: 100%; animation: im-spin 30s linear infinite; }
.im-seal-star path { fill: var(--im-gold); }
.im-seal-core { position: absolute; inset: 22px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 4px var(--im-gold-lt); }
.im-seal-core img { width: 66%; height: auto; }
.im-seal-core span { font-family: var(--im-font-head); font-weight: 800; color: var(--im-green); font-size: 15px; line-height: 1; margin-top: 2px; }
.im-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); color: var(--im-ink); border-radius: 16px; padding: 11px 16px; font-weight: 800; font-size: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); max-width: 260px; line-height: 1.3; }
.im-chip i { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--im-gold-lt); color: var(--im-gold-dk); font-size: 17px; }
.im-chip-a { top: 18%; inset-inline-end: -10px; animation: im-bob 5s ease-in-out infinite; }
.im-chip-b { bottom: 18%; inset-inline-end: 8%; animation: im-bob 6s ease-in-out infinite reverse; }
.im-chip-b i { background: var(--im-mint); color: var(--im-green); }
.im-dots { position: absolute; z-index: 4; bottom: 64px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.im-dots button { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 5px; background: rgba(255, 255, 255, .4); cursor: pointer; overflow: hidden; }
.im-dots button span { display: block; height: 100%; width: 0; background: var(--im-gold); }
.im-dots button.is-active span { animation: im-progress 6s linear forwards; }
@keyframes im-progress { to { width: 100%; } }
.im-scroll { position: absolute; z-index: 3; bottom: 58px; left: 50%; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 20px; }
.im-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--im-gold); animation: im-scroll 1.8s ease-in-out infinite; }
@keyframes im-scroll { 60% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* dome / arch row dividers (the arches of the school's façade) */
.im-arches { position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: #fff; z-index: 3; -webkit-mask: radial-gradient(ellipse 25px 32px at 50% 100%, #000 96%, transparent 100%) 0 100% / 58px 40px repeat-x, linear-gradient(#000 0 0) 0 100% / 100% 9px no-repeat; mask: radial-gradient(ellipse 25px 32px at 50% 100%, #000 96%, transparent 100%) 0 100% / 58px 40px repeat-x, linear-gradient(#000 0 0) 0 100% / 100% 9px no-repeat; }

/* ---------- ticker ---------- */
.im-ticker { background: linear-gradient(90deg, var(--im-gold-dk), var(--im-gold), var(--im-gold-dk)); color: #2a1a00; overflow: hidden; padding: 15px 0; position: relative; z-index: 4; }
.im-ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: im-marquee 42s linear infinite; font-weight: 800; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; font-family: var(--im-font-body); }
.im-tick-star { width: 16px; height: 16px; background: var(--im-deep); clip-path: var(--im-star); flex: none; }
@keyframes im-marquee { to { transform: translateX(-50%); } }
[dir=rtl] .im-ticker-track { animation-name: im-marquee-rtl; }
@keyframes im-marquee-rtl { to { transform: translateX(50%); } }

/* ---------- about ---------- */
.im-about { background: #fff; }
.im-about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.im-about-media { position: relative; padding: 0 60px 50px 0; }
[dir=rtl] .im-about-media { padding: 0 0 50px 60px; }
.im-about-arch { border-radius: 50% 50% 24px 24px / 32% 32% 24px 24px; overflow: hidden; aspect-ratio: 4 / 4.7; box-shadow: var(--im-shadow); background: var(--im-mint); position: relative; }
.im-about-arch::after { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .7); border-radius: inherit; pointer-events: none; }
.im-about-arch img, .im-about-round img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im-about-round { position: absolute; width: 46%; aspect-ratio: 1; bottom: 0; inset-inline-end: 0; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: var(--im-shadow); animation: im-bob 7s ease-in-out infinite; }
.im-since { position: absolute; top: 12%; inset-inline-start: -28px; width: 128px; height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; z-index: 2; }
.im-since-star { position: absolute; inset: 0; background: linear-gradient(135deg, var(--im-green), var(--im-deep)); clip-path: var(--im-star); animation: im-spin 24s linear infinite; box-shadow: var(--im-shadow); }
.im-since strong, .im-since small { position: relative; }
.im-since strong { font-family: var(--im-font-head); font-size: 30px; line-height: 1; color: var(--im-gold); }
.im-since small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; max-width: 84px; line-height: 1.25; margin-top: 3px; }
.im-deco-dots { position: absolute; bottom: 20px; inset-inline-start: -30px; width: 120px; height: 120px; background-image: radial-gradient(var(--im-gold) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; z-index: -1; }
.im-about-copy p { color: var(--im-muted); font-size: 17px; }
.im-mission { margin: 24px 0; padding: 22px 26px; border: 0; border-inline-start: 4px solid var(--im-gold); background: linear-gradient(90deg, var(--im-gold-lt), transparent); border-radius: 0 18px 18px 0; font-family: var(--im-font-head); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--im-ink); }
[dir=rtl] .im-mission { border-radius: 18px 0 0 18px; background: linear-gradient(-90deg, var(--im-gold-lt), transparent); }
.im-mission i { color: var(--im-gold); margin-inline-end: 6px; }
.im-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 32px; }
.im-value { background: #fff; border: 1px solid var(--im-line); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.im-value:hover { transform: translateY(-6px); box-shadow: var(--im-shadow-sm); border-color: var(--im-gold); }
.im-value span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--im-mint); color: var(--im-green); font-size: 19px; margin-bottom: 8px; transition: transform .4s, background .3s, color .3s; }
.im-value:hover span { background: var(--im-green); color: var(--im-gold); transform: rotate(-10deg); }
.im-value strong { font-family: var(--im-font-head); font-size: 18px; }
.im-value small { color: var(--im-muted); font-size: 13.5px; line-height: 1.45; }

/* ---------- stats ---------- */
.im-stats { position: relative; overflow: hidden; color: #fff; padding: 64px 0; background: linear-gradient(110deg, var(--im-deep), var(--im-green) 60%, var(--im-dark)); }
.im-stats .im-pattern { opacity: .1; }
.im-stats-in { display: grid; grid-template-columns: repeat(var(--im-n), 1fr); gap: 20px; }
.im-stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.im-stat + .im-stat::before { content: ""; position: absolute; inset-inline-start: -10px; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, .35), transparent); }
.im-stat-ico { width: 66px; height: 66px; display: grid; place-items: center; font-size: 23px; color: var(--im-deep); background: var(--im-gold); clip-path: var(--im-star); margin-bottom: 10px; transition: transform .6s; }
.im-stat:hover .im-stat-ico { transform: rotate(45deg) scale(1.1); }
.im-stat strong { font-size: clamp(38px, 4vw, 54px); font-weight: 800; line-height: 1; font-family: var(--im-font-head); }
.im-stat > span:last-child { font-size: 15px; opacity: .9; font-weight: 600; }

/* ---------- director ---------- */
.im-director { background: var(--im-cream); overflow: hidden; }
.im-director-ar { position: absolute; top: 50%; inset-inline-end: -2%; transform: translateY(-50%); font-family: 'Amiri', serif; font-size: clamp(140px, 18vw, 280px); line-height: 1; color: var(--im-green); opacity: .045; white-space: nowrap; pointer-events: none; }
.im-director-grid { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.im-director-visual { position: relative; text-align: center; }
.im-director-frame { position: relative; width: 360px; max-width: 100%; aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 50% 50% 24px 24px / 36% 36% 24px 24px; padding: 10px; background: linear-gradient(160deg, var(--im-gold), color-mix(in srgb, var(--im-gold) 40%, #fff5d6) 40%, var(--im-gold-dk)); box-shadow: var(--im-shadow); }
.im-director-frame::before { content: ""; position: absolute; inset: -18px; border-radius: inherit; border: 2px dashed color-mix(in srgb, var(--im-green) 40%, transparent); animation: im-breathe 6s ease-in-out infinite; }
@keyframes im-breathe { 50% { inset: -26px; opacity: .5; } }
.im-director-frame img, .im-director-frame i { width: 100%; height: 100%; border-radius: 50% 50% 18px 18px / 36% 36% 18px 18px; object-fit: cover; background: #fff; display: block; }
.im-director-frame.is-logo img { object-fit: contain; padding: 30px; }
.im-director-frame i { display: grid; place-items: center; font-size: 110px; color: var(--im-green); }
.im-director-card { position: relative; margin: -36px auto 0; background: #fff; display: inline-flex; flex-direction: column; padding: 14px 28px; border-radius: 18px; box-shadow: var(--im-shadow); border-bottom: 4px solid var(--im-green); z-index: 2; }
.im-director-card strong { font-family: var(--im-font-head); font-size: 20px; color: var(--im-green); }
.im-director-card small { color: var(--im-muted); font-weight: 600; }
.im-bigquote { margin: 0 0 24px; padding: 0; border: 0; font-family: var(--im-font-head); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.38; font-weight: 700; font-style: italic; color: var(--im-ink); position: relative; }
.im-bigquote::before { content: "\201C"; display: block; font-size: 110px; line-height: .6; color: var(--im-gold); height: 44px; font-style: normal; }
.im-speech { color: var(--im-muted); font-size: 16.5px; max-height: 170px; overflow: hidden; position: relative; transition: max-height .7s ease; }
.im-speech::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: linear-gradient(transparent, var(--im-cream)); transition: opacity .3s; }
.im-speech.is-open { max-height: 2400px; }
.im-speech.is-open::after { opacity: 0; }
.im-speech-hello { font-weight: 800; color: var(--im-ink); }
.im-director-actions { display: flex; align-items: center; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
.im-more-btn i { transition: transform .3s; }
.im-more-btn.is-open i { transform: rotate(180deg); }
.im-signature { margin-top: 28px; font-family: var(--im-font-head); font-style: italic; font-size: 26px; color: var(--im-green); }
.im-signature span { font-family: var(--im-font-body); font-style: normal; font-size: 14px; color: var(--im-muted); }

/* ---------- programs ---------- */
.im-programs { background: #fff; }
.im-progs { display: grid; grid-template-columns: repeat(var(--im-n), 1fr); gap: 28px; }
.im-prog { position: relative; background: #fff; border-radius: 200px 200px var(--im-card) var(--im-card); box-shadow: var(--im-shadow-sm); transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column; border: 1px solid var(--im-line); padding: 12px; }
.im-prog:hover { transform: translateY(-10px); box-shadow: var(--im-shadow); border-color: color-mix(in srgb, var(--im-gold) 60%, #fff); }
.im-prog-media { position: relative; aspect-ratio: 1 / 1; border-radius: 200px 200px 16px 16px; overflow: hidden; background: var(--im-mint); }
.im-prog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.im-prog:hover .im-prog-media img { transform: scale(1.1); }
.im-prog-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(1, 24, 12, .55)); }
.im-prog-ico { position: absolute; z-index: 2; bottom: -1px; left: 50%; transform: translate(-50%, 50%); width: 70px; height: 70px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--im-green); clip-path: var(--im-star); transition: transform .6s, background .3s; }
.im-prog:hover .im-prog-ico { transform: translate(-50%, 50%) rotate(45deg); background: var(--im-gold); color: var(--im-deep); }
.im-prog-body { padding: 48px 16px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.im-prog-num { position: absolute; top: 8px; inset-inline-end: 12px; font-family: var(--im-font-head); font-size: 40px; font-weight: 800; color: var(--im-mint); line-height: 1; }
.im-prog h3 { font-size: 26px; margin-bottom: 8px; color: var(--im-green); }
.im-prog-range { display: inline-block; background: var(--im-gold-lt); color: var(--im-gold-dk); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; letter-spacing: .02em; }
.im-prog p { color: var(--im-muted); font-size: 15.5px; flex: 1; }

/* ---------- formulas ---------- */
.im-formulas { background: linear-gradient(180deg, var(--im-mint), #fff); }
.im-formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.im-formula { position: relative; background: #fff; border-radius: var(--im-card); padding: 38px 30px 32px; box-shadow: var(--im-shadow-sm); border: 1px solid var(--im-line); display: flex; flex-direction: column; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.im-formula:hover { transform: translateY(-8px); box-shadow: var(--im-shadow); }
.im-formula::before { content: ""; position: absolute; width: 170px; height: 170px; top: -70px; inset-inline-end: -60px; background: var(--im-mint); clip-path: var(--im-star); transition: transform .8s; }
.im-formula:hover::before { transform: rotate(90deg) scale(1.1); }
.im-formula > * { position: relative; }
.im-formula-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 27px; background: var(--im-green); color: #fff; margin-bottom: 20px; box-shadow: 0 14px 26px -14px var(--im-green); }
.im-formula h3 { font-size: 26px; margin-bottom: 10px; }
.im-formula p { color: var(--im-muted); flex: 1; }
.im-formula-price { font-weight: 800; color: var(--im-green); font-size: 16px; border-top: 1px dashed var(--im-line); padding-top: 16px; margin: 6px 0 14px; }
.im-formula.is-featured { background: linear-gradient(160deg, var(--im-green), var(--im-deep)); color: #fff; border-color: transparent; transform: translateY(-14px); box-shadow: var(--im-shadow); }
.im-formula.is-featured:hover { transform: translateY(-20px); }
.im-formula.is-featured::before { background: rgba(255, 255, 255, .07); }
.im-formula.is-featured h3 { color: #fff; }
.im-formula.is-featured p { color: rgba(255, 255, 255, .82); }
.im-formula.is-featured .im-formula-ico { background: var(--im-gold); color: var(--im-deep); }
.im-formula.is-featured .im-formula-price { color: var(--im-gold); border-color: rgba(255, 255, 255, .2); }
.im-formula.is-featured .im-link { color: #fff; }

/* ---------- advantages ---------- */
.im-advantages { background: var(--im-deep); color: #fff; overflow: hidden; }
.im-advantages .im-pattern { opacity: .06; }
.im-advantages::after { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--im-green) 65%, transparent), transparent 70%); top: -300px; inset-inline-start: -200px; pointer-events: none; }
.im-advantages .im-container { z-index: 2; }
.im-head-light .im-title { color: #fff; }
.im-head-light .im-kicker { color: var(--im-gold); }
.im-head-light .ma-hl { color: var(--im-gold); }
.im-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.im-adv { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--im-card); padding: 32px 28px; overflow: hidden; transition: transform .35s, background .35s, border-color .35s; }
.im-adv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(228, 161, 27, .18), transparent 45%); opacity: 0; transition: opacity .3s; }
.im-adv:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--im-gold) 60%, transparent); }
.im-adv:hover::before { opacity: 1; }
.im-adv > * { position: relative; }
.im-adv-icon { width: 62px; height: 62px; display: grid; place-items: center; font-size: 25px; background: var(--im-gold); color: var(--im-deep); clip-path: var(--im-star); margin-bottom: 20px; transition: transform .6s; }
.im-adv:hover .im-adv-icon { transform: rotate(45deg); }
.im-adv h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.im-adv p { color: rgba(255, 255, 255, .74); margin: 0; font-size: 15.5px; }

/* ---------- gallery (bento) ---------- */
.im-gallery { background: #fff; }
.im-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.im-filters button { border: 2px solid var(--im-line); background: #fff; color: var(--im-ink); padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .25s; font-family: inherit; }
.im-filters button small { opacity: .6; margin-inline-start: 4px; }
.im-filters button:hover { border-color: var(--im-green); color: var(--im-green); }
.im-filters button.is-active { background: var(--im-green); border-color: var(--im-green); color: #fff; box-shadow: 0 10px 20px -12px var(--im-green); }
.im-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.im-tile { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--im-mint); box-shadow: var(--im-shadow-sm); animation: im-in .5s ease both; }
.im-tile:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; border-radius: 160px 160px 18px 18px; }
.im-tile:nth-child(7n+4) { grid-row: span 2; }
.im-tile:nth-child(7n+6) { grid-column: span 2; }
.im-tile.is-hidden { display: none; }
.im-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s, filter .5s; }
.im-tile:hover img { transform: scale(1.08); filter: saturate(1.2); }
.im-tile::after { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255, 255, 255, .8); border-radius: inherit; opacity: 0; transform: scale(1.05); transition: .4s; }
.im-tile:hover::after { opacity: 1; transform: none; }
.im-tile-cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(1, 24, 12, .8)); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(10px); transition: .35s; }
.im-tile:hover .im-tile-cap { opacity: 1; transform: none; }
.im-tile-cap i { color: var(--im-gold); margin-inline-end: 4px; }
@keyframes im-in { from { opacity: 0; transform: scale(.95); } }
.im-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 10px 0 34px; }
.im-album { display: block; background: #fff; border-radius: var(--im-card); overflow: hidden; box-shadow: var(--im-shadow-sm); transition: transform .3s, box-shadow .3s; color: var(--im-ink) !important; border: 1px solid var(--im-line); }
.im-album:hover { transform: translateY(-6px); box-shadow: var(--im-shadow); }
.im-album-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--im-mint); border-radius: 0 0 50% 50% / 0 0 14% 14%; }
.im-album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.im-album:hover .im-album-img img { transform: scale(1.08); }
.im-album-body { display: flex; flex-direction: column; padding: 16px 20px 20px; gap: 4px; }
.im-album-body strong { font-family: var(--im-font-head); font-size: 19px; }
.im-album-body small { color: var(--im-muted); }
.im-album-body small i { color: var(--im-gold-dk); }
/* page gallery = masonry */
.im-masonry { column-count: 4; column-gap: 14px; }
.im-mason-item { display: block; position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; box-shadow: var(--im-shadow-sm); background: var(--im-line); animation: im-in .5s ease both; }
.im-mason-item.is-hidden { display: none; }
.im-mason-item img { width: 100%; display: block; transition: transform .6s, filter .4s; }
.im-mason-item:hover img { transform: scale(1.07); filter: saturate(1.15); }
.im-mason-cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(1, 24, 12, .75)); color: #fff; font-size: 13.5px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .3s; }
.im-mason-item:hover .im-mason-cap { opacity: 1; transform: none; }

/* ---------- life (scroll strip) ---------- */
.im-life { background: var(--im-cream); overflow: hidden; }
.im-strip-nav { display: flex; gap: 10px; }
.im-strip-nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--im-green); background: transparent; color: var(--im-green); font-size: 24px; cursor: pointer; transition: .25s; display: grid; place-items: center; }
.im-strip-nav button:hover { background: var(--im-green); color: #fff; }
.im-strip { --im-gutter: max(20px, calc((100vw - 1240px) / 2 + 20px)); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px var(--im-gutter) 30px; scroll-padding-inline: var(--im-gutter); scrollbar-width: none; }
.im-strip::-webkit-scrollbar { display: none; }
.im-life-card { position: relative; flex: 0 0 300px; height: 420px; border-radius: 160px 160px 22px 22px; overflow: hidden; scroll-snap-align: start; display: flex; align-items: flex-end; padding: 26px 24px; color: #fff !important; background: var(--im-green); box-shadow: var(--im-shadow-sm); isolation: isolate; transition: transform .4s; }
.im-life-card:hover { transform: translateY(-8px); }
.im-life-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.im-life-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(1, 30, 15, .88)); }
.im-life-card:hover img { transform: scale(1.1); }
.im-life-ico { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; display: grid; place-items: center; background: var(--im-gold); color: var(--im-deep); font-size: 21px; clip-path: var(--im-star); transition: transform .6s; }
.im-life-card:hover .im-life-ico { transform: translateX(-50%) rotate(45deg); }
.im-life-title { font-family: var(--im-font-head); font-size: 24px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.im-life-title small { display: block; font-family: var(--im-font-body); font-size: 13px; letter-spacing: .14em; color: var(--im-gold); margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.im-faq { background: #fff; }
.im-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.im-faq-side { position: sticky; top: 120px; }
.im-faq-img { border-radius: 50% 50% 22px 22px / 30% 30% 22px 22px; overflow: hidden; aspect-ratio: 4 / 3.6; margin: 10px 0 26px; box-shadow: var(--im-shadow); }
.im-faq-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im-faq-help { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.im-faq-list { display: flex; flex-direction: column; gap: 14px; }
.im-faq-item { background: #fff; border: 1px solid var(--im-line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, background .3s; }
.im-faq-item[open] { border-color: color-mix(in srgb, var(--im-green) 40%, #fff); box-shadow: var(--im-shadow-sm); background: linear-gradient(180deg, var(--im-mint), #fff 70%); }
.im-faq-item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 800; font-size: 17px; }
.im-faq-item summary::-webkit-details-marker { display: none; }
.im-faq-n { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--im-gold-lt); color: var(--im-gold-dk); font-size: 14px; clip-path: var(--im-star); }
.im-faq-item[open] .im-faq-n { background: var(--im-green); color: #fff; }
.im-faq-q { flex: 1; }
.im-faq-item summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--im-mint); color: var(--im-green); transition: transform .35s, background .3s; }
.im-faq-item[open] summary i { transform: rotate(135deg); background: var(--im-green); color: #fff; }
.im-faq-a { padding: 0 22px 22px 80px; color: var(--im-muted); animation: im-in .4s ease; }
[dir=rtl] .im-faq-a { padding: 0 80px 22px 22px; }

/* ---------- news & events ---------- */
.im-news { background: var(--im-cream); }
.im-news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.im-news-layout.is-single { grid-template-columns: 1fr; }
.im-news-grid, .im-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.im-news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--im-card); overflow: hidden; box-shadow: var(--im-shadow-sm); color: var(--im-ink) !important; transition: transform .3s, box-shadow .3s; border: 1px solid var(--im-line); }
.im-news-card:hover { transform: translateY(-6px); box-shadow: var(--im-shadow); }
.im-news-img { position: relative; aspect-ratio: 16 / 10; background: var(--im-mint); display: grid; place-items: center; overflow: hidden; }
.im-news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.im-news-card:hover .im-news-img img { transform: scale(1.07); }
.im-news-img > i { font-size: 44px; color: var(--im-green); opacity: .4; }
.im-news-date { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--im-green); color: #fff; border-radius: 14px; padding: 7px 11px; text-align: center; font-size: 11.5px; font-weight: 700; line-height: 1.2; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.im-news-date strong { display: block; font-size: 22px; color: var(--im-gold); font-family: var(--im-font-head); }
.im-news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.im-news-body h3 { font-size: 19px; line-height: 1.35; }
.im-news-body p { color: var(--im-muted); font-size: 14.5px; margin: 0; flex: 1; }
.im-meta { color: var(--im-gold-dk); font-size: 13.5px; font-weight: 700; }
.im-events { position: sticky; top: 112px; overflow: hidden; background: linear-gradient(160deg, var(--im-green), var(--im-deep)); color: #fff; border-radius: var(--im-card); padding: 28px 22px; box-shadow: var(--im-shadow); }
.im-events > *:not(.im-pattern) { position: relative; }
.im-events h3 { color: #fff; font-size: 22px; margin-bottom: 16px; }
.im-events h3 i { color: var(--im-gold); }
.im-event { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .09); margin-bottom: 10px; color: #fff !important; transition: background .2s, transform .2s; }
.im-event:hover { background: rgba(255, 255, 255, .18); transform: translateX(4px); }
[dir=rtl] .im-event:hover { transform: translateX(-4px); }
.im-event-date { flex: none; width: 58px; text-align: center; background: #fff; color: var(--im-green); border-radius: 14px; padding: 6px 4px; font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.im-event-date strong { display: block; font-size: 22px; color: var(--im-gold-dk); font-family: var(--im-font-head); }
.im-event-body strong { display: block; font-size: 15px; line-height: 1.35; }
.im-event-body small { opacity: .85; font-size: 12.5px; }
.im-events .im-link { color: var(--im-gold); margin-top: 8px; }

/* ---------- CTA ---------- */
.im-cta { position: relative; overflow: hidden; color: #fff; padding: 100px 0; background: linear-gradient(120deg, var(--im-deep), var(--im-green)); }
.im-cta-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; mix-blend-mode: luminosity; transform: scale(1.05); }
.im-cta .im-pattern { opacity: .08; }
.im-cta::after { content: ""; position: absolute; width: 560px; height: 560px; top: -260px; inset-inline-end: -180px; background: rgba(228, 161, 27, .14); clip-path: var(--im-star); animation: im-spin 60s linear infinite; }
.im-cta-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.im-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; margin: 18px 0 14px; }
.im-cta h2 .ma-hl { color: var(--im-gold); }
.im-cta p { font-size: 18px; opacity: .92; margin: 0; }
.im-docs { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.im-docs li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.im-docs i { color: var(--im-gold); margin-inline-end: 4px; }
.im-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; padding: 26px; backdrop-filter: blur(8px); }
.im-cta-phone { color: #fff !important; font-size: 26px; font-weight: 800; text-align: center; margin-top: 6px; font-family: var(--im-font-head); }
.im-cta-phone i { color: var(--im-gold); }

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

/* ---------- footer ---------- */
.im-footer { position: relative; background: var(--im-deep); color: rgba(255, 255, 255, .78); padding: 90px 0 0; }
.im-footer .im-pattern { opacity: .05; }
.im-arches-top { top: -39px; bottom: auto; background: var(--im-deep); }
.im-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.15fr 1fr; gap: 42px; padding-bottom: 40px; position: relative; }
.im-footer h4 { color: #fff; font-size: 19px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.im-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 12px; height: 12px; background: var(--im-gold); clip-path: var(--im-star); box-shadow: 0 0 0 0; }
.im-footer h4::before { content: ""; position: absolute; bottom: 5px; inset-inline-start: 18px; width: 40px; height: 2px; background: linear-gradient(90deg, var(--im-gold), transparent); }
[dir=rtl] .im-footer h4::before { background: linear-gradient(-90deg, var(--im-gold), transparent); }
.im-footer ul { list-style: none; margin: 0; padding: 0; }
.im-footer li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.im-footer li i { color: var(--im-gold); margin-top: 4px; }
.im-footer a { color: rgba(255, 255, 255, .82); }
.im-footer a:hover { color: var(--im-gold); }
.im-brand-light img { height: 76px; }
.im-brand-light .im-brand-text strong { color: #fff; }
.im-brand-light .im-brand-text small { color: var(--im-gold); white-space: normal; }
.im-footer-brand p { margin: 18px 0; font-size: 14.5px; }
.im-social-lg a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 17px; }
.im-social-lg a:hover { background: var(--im-gold); color: var(--im-deep); }
.im-footer-cta p { font-size: 14.5px; }
.im-footer-note { opacity: .7; margin-top: 16px; font-size: 13px !important; }
.im-legal { position: relative; font-size: 12.5px; opacity: .65; border-top: 1px dashed rgba(255, 255, 255, .15); padding: 16px 0; margin: 0; }
.im-legal i { color: var(--im-gold); margin-inline-end: 4px; }
.im-footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13.5px; background: rgba(0, 0, 0, .15); }
.im-footer-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- floating ---------- */
.im-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: im-pulse-wa 2.4s infinite; }
@keyframes im-pulse-wa { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.im-top { position: fixed; bottom: 92px; inset-inline-end: 29px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--im-green); color: #fff; z-index: 1001; opacity: 0; visibility: hidden; transition: .3s; cursor: pointer; box-shadow: var(--im-shadow-sm); padding: 0; }
.im-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.im-top circle { fill: none; stroke: var(--im-gold); stroke-width: 3; stroke-dasharray: 125.7; stroke-dashoffset: calc(125.7 * (1 - var(--p, 0))); }
.im-top.is-visible { opacity: 1; visibility: visible; }
.im-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: var(--im-ink); color: #fff; padding: 14px 20px; z-index: 1002; text-align: center; font-size: 14px; }
.im-cookie a { color: var(--im-gold); cursor: pointer; margin-inline-start: 10px; font-weight: 700; }

/* ---------- lightbox ---------- */
.im-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(2, 20, 10, .95); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.im-lightbox[hidden] { display: none; }
.im-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.im-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: im-in .35s ease; }
.im-lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 700; }
.im-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; }
.im-lightbox button:hover { background: var(--im-gold); color: var(--im-deep); }
.im-lb-close { top: 18px; inset-inline-end: 18px; }
.im-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.im-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.im-lb-count { position: absolute; top: 28px; inset-inline-start: 24px; color: rgba(255, 255, 255, .75); font-weight: 700; }

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

/* ---------- inner pages ---------- */
.im-pagehead { position: relative; padding: 96px 0 120px; color: #fff; background: linear-gradient(120deg, var(--im-deep), var(--im-green)); overflow: hidden; }
.im-pagehead-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: im-ken 12s ease-out both; }
.im-pagehead-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(1, 24, 12, .92), color-mix(in srgb, var(--im-green) 70%, transparent) 60%, rgba(1, 24, 12, .5)); }
.im-pagehead .im-pattern { opacity: .08; }
.im-pagehead-in { z-index: 2; }
.im-pagehead h1 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; margin-top: 12px; max-width: 900px; }
.im-pagehead-star { position: absolute; width: 150px; height: 150px; inset-inline-end: 20px; top: 50%; margin-top: -75px; border: 0; background: rgba(228, 161, 27, .2); clip-path: var(--im-star); animation: im-spin 30s linear infinite; }
.im-crumbs { font-size: 14px; color: rgba(255, 255, 255, .85); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.im-crumbs a { color: var(--im-gold); }
.im-arches-white { background: #fff; }
.im-page { padding: 56px 0 120px; }
.im-page-body { min-height: 200px; display: flow-root; }
.im-form::after, .im-form form::after { content: ""; display: table; clear: both; }

.im-prose { font-size: 17px; color: #33463b; }
.im-prose h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin: 46px 0 18px; }
.im-prose h3 { font-size: 22px; margin: 28px 0 10px; color: var(--im-green); }
.im-prose p { margin: 0 0 16px; }
.im-prose ul { padding-inline-start: 22px; }
.im-prose img { border-radius: 16px; height: auto; }
.im-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.im-prose table td, .im-prose table th { border: 1px solid var(--im-line); padding: 10px 12px; }
.im-prose table th { background: var(--im-mint); color: var(--im-green); }
.im-lead-p { font-size: 20px; color: var(--im-ink); font-weight: 500; }
.im-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin: 30px 0 56px; }
.im-split-img img { width: 100%; border-radius: 50% 50% 22px 22px / 26% 26% 22px 22px; box-shadow: var(--im-shadow); display: block; aspect-ratio: 4 / 3.6; object-fit: cover; }
.im-grid-2, .im-grid-3, .im-grid-4 { display: grid; gap: 22px; margin: 24px 0 40px; }
.im-grid-2 { grid-template-columns: repeat(2, 1fr); }
.im-grid-3 { grid-template-columns: repeat(3, 1fr); }
.im-grid-4 { grid-template-columns: repeat(4, 1fr); }
.im-card { background: #fff; border: 1px solid var(--im-line); border-radius: var(--im-card); padding: 28px 24px; box-shadow: var(--im-shadow-sm); transition: transform .3s, border-color .3s; position: relative; overflow: hidden; }
.im-card:hover { transform: translateY(-6px); border-color: var(--im-gold); }
.im-card h3 { font-size: 21px; margin: 0 0 8px; color: var(--im-ink); }
.im-card p { margin: 0; color: var(--im-muted); font-size: 15.5px; }
.im-card ul { margin: 8px 0 0; color: var(--im-muted); font-size: 15.5px; }
.im-card .im-card-ico { width: 58px; height: 58px; display: grid; place-items: center; background: var(--im-green); color: #fff; font-size: 23px; margin-bottom: 16px; clip-path: var(--im-star); }
.im-card-gold .im-card-ico { background: var(--im-gold); color: var(--im-deep); }
.im-card-deep { background: linear-gradient(160deg, var(--im-green), var(--im-deep)); color: #fff; border-color: transparent; }
.im-card-deep h3 { color: #fff; } .im-card-deep p, .im-card-deep ul { color: rgba(255, 255, 255, .85); }
.im-card-deep .im-card-ico { background: var(--im-gold); color: var(--im-deep); }
.im-card-img { padding: 0; }
.im-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; display: block; }
.im-card-img .im-card-in { padding: 20px 22px 24px; }
.im-callout { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--im-deep), var(--im-green)); color: #fff; border-radius: 26px; padding: 40px 42px; margin: 46px 0; }
.im-callout::after { content: ""; position: absolute; width: 260px; height: 260px; top: -100px; inset-inline-end: -70px; background: rgba(228, 161, 27, .18); clip-path: var(--im-star); }
.im-callout > * { position: relative; z-index: 1; }
.im-callout h2, .im-callout h3 { color: #fff !important; margin-top: 0 !important; }
.im-callout p { color: rgba(255, 255, 255, .9); }
.im-callout a:not(.im-btn) { color: var(--im-gold); }
.im-callout-gold { background: linear-gradient(120deg, var(--im-gold-dk), var(--im-gold)); color: #2a1a00; }
.im-callout-gold h2, .im-callout-gold h3 { color: #2a1a00 !important; }
.im-callout-gold p { color: #3d2900; }
.im-callout-gold a:not(.im-btn) { color: var(--im-deep); font-weight: 800; text-decoration: underline; }
.im-quote-box { border-inline-start: 5px solid var(--im-gold); background: var(--im-cream); padding: 26px 30px; border-radius: 0 20px 20px 0; font-family: var(--im-font-head); font-style: italic; font-size: 21px; color: var(--im-ink); margin: 30px 0; }
[dir=rtl] .im-quote-box { border-radius: 20px 0 0 20px; }
.im-timeline { list-style: none; margin: 30px 0; padding: 0 !important; position: relative; }
.im-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 21px; width: 3px; background: linear-gradient(var(--im-green), var(--im-gold)); border-radius: 3px; }
.im-timeline li { position: relative; padding-inline-start: 66px; margin-bottom: 28px; }
.im-timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 0; width: 38px; height: 38px; background: var(--im-gold); clip-path: var(--im-star); }
.im-timeline strong { display: block; color: var(--im-green); font-size: 19px; font-family: var(--im-font-head); }
.im-steps { counter-reset: imstep; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 34px 0 40px; list-style: none; padding: 0 !important; }
.im-steps li { counter-increment: imstep; background: #fff; border-radius: var(--im-card); padding: 58px 20px 22px; position: relative; box-shadow: var(--im-shadow-sm); border: 1px solid var(--im-line); }
.im-steps li::before { content: counter(imstep); position: absolute; top: -22px; inset-inline-start: 18px; width: 58px; height: 58px; background: var(--im-green); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; clip-path: var(--im-star); font-family: var(--im-font-head); }
.im-steps strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--im-ink); }
.im-steps span { color: var(--im-muted); font-size: 14.5px; }
.im-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 10px 0 34px; }
.im-contact-card { background: #fff; border-radius: var(--im-card); padding: 28px 20px; text-align: center; box-shadow: var(--im-shadow-sm); border: 1px solid var(--im-line); transition: transform .3s; }
.im-contact-card:hover { transform: translateY(-6px); }
.im-contact-card i { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--im-green); color: #fff; font-size: 22px; clip-path: var(--im-star); }
.im-contact-card:nth-child(2) i { background: var(--im-gold); color: var(--im-deep); } .im-contact-card:nth-child(4) i { background: #25d366; }
.im-contact-card strong { display: block; margin-bottom: 4px; font-family: var(--im-font-head); font-size: 18px; }
.im-contact-card a, .im-contact-card span { color: var(--im-muted); font-size: 15px; word-break: break-word; }
.im-map { border-radius: 24px; overflow: hidden; box-shadow: var(--im-shadow); margin: 30px 0; line-height: 0; }
.im-map iframe { width: 100%; height: 420px; border: 0; }
.im-form { background: var(--im-cream); border-radius: 24px; padding: 32px; margin: 20px 0; }
.im-form .form-control { border-radius: 12px; min-height: 46px; border-color: #dfe6e2; box-shadow: none; }
.im-form .form-control:focus { border-color: var(--im-green); }
.im-form .btn, .im-page .btn-primary { background: var(--im-green); border: 0; border-radius: var(--im-radius); padding: 11px 26px; font-weight: 700; }
.im-director-block { display: grid; grid-template-columns: 300px 1fr; gap: 54px; align-items: center; background: var(--im-cream); border-radius: 28px; padding: 44px; margin: 0 0 40px; }
.im-director-block .im-director-frame { width: 280px; }
.im-director-block .im-bigquote { margin-bottom: 14px; }
.im-prose .im-director-frame img { width: 100%; height: 100%; object-fit: cover; }
.im-prose .im-director-frame.is-logo img { object-fit: contain; }
.im-read-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.im-read-meta span { background: var(--im-mint); color: var(--im-green); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.im-read-body { margin-bottom: 30px; }
.im-postlist .pagination > li > a { border-radius: 10px !important; margin: 0 3px; color: var(--im-green); }
.im-postlist .pagination > .active > a { background: var(--im-green); border-color: var(--im-green); }

/* fee tables (page "Modalités et tarifs") */
.im-fees-level { margin: 40px 0 16px; display: flex; align-items: center; gap: 14px; }
.im-fees-level::before { content: ""; width: 22px; height: 22px; background: var(--im-gold); clip-path: var(--im-star); flex: none; }
.im-fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 20px; }
.im-fee { background: #fff; border: 1px solid var(--im-line); border-radius: var(--im-card); overflow: hidden; box-shadow: var(--im-shadow-sm); transition: transform .3s; }
.im-fee:hover { transform: translateY(-5px); }
.im-fee h4 { margin: 0; padding: 16px 20px; background: var(--im-mint); color: var(--im-green); font-size: 18px; display: flex; align-items: center; gap: 10px; }
.im-fee:nth-child(2) h4 { background: var(--im-green); color: #fff; }
.im-fee:nth-child(3) h4 { background: var(--im-deep); color: var(--im-gold); }
.im-fee table { margin: 0; }
.im-prose .im-fee table td { border: 0; border-bottom: 1px solid var(--im-line); padding: 10px 20px; font-size: 15px; }
.im-fee td:last-child { text-align: end; font-weight: 700; color: var(--im-ink); white-space: nowrap; }
.im-fee tr.im-total td { background: var(--im-gold-lt); color: var(--im-gold-dk); font-weight: 800; font-size: 16px; border-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
    .im-nav-ctas .im-btn-outline { display: none; }
    .im-brand-text small { max-width: 240px; }
}
@media (max-width: 1180px) {
    .im-nav-ctas .im-btn-outline { display: none; }
    .im-nav > ul > li > a { padding: 10px 7px; font-size: 14px; }
    .im-brand img { height: 56px; }
    .im-brand-text strong { font-size: 17px; }
    .im-brand-text small { max-width: 190px; font-size: 13px; }
    .im-portal-in { grid-template-columns: 1fr; }
    .im-director-grid { grid-template-columns: 360px 1fr; gap: 56px; }
}
@media (max-width: 991px) {
    .im-section { padding: 78px 0; }
    .im-hide-sm { display: none !important; }
    .im-burger { display: flex; position: relative; z-index: 1002; }
    .im-header { backdrop-filter: none; background: #fff; }
    .im-nav:not(.is-open) { visibility: hidden; }
    .im-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] .im-nav { transform: translateX(-105%); }
    .im-nav.is-open { transform: none !important; }
    .im-nav > ul { flex-direction: column; align-items: stretch; }
    .im-nav > ul > li > a { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--im-line); border-radius: 0; }
    .im-nav > ul > li > a::after { display: none; }
    .im-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 8px 14px; }
    .im-has-sub.is-open > .im-sub { display: block; }
    .im-nav-ctas { flex-direction: column; margin-top: 18px; }
    .im-nav-ctas .im-btn-outline { display: inline-flex; }
    body.im-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 999; }
    .im-hero { padding: 54px 0 110px; }
    .im-hero-in { grid-template-columns: 1fr; gap: 40px; }
    .im-hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
    .im-scroll { display: none; }
    .im-about-grid, .im-director-grid, .im-news-layout, .im-cta-in, .im-split, .im-faq-grid { grid-template-columns: 1fr; gap: 46px; }
    .im-about-media { max-width: 560px; margin: 0 auto; width: 100%; }
    .im-faq-side { position: static; }
    .im-progs { grid-template-columns: repeat(2, 1fr); }
    .im-formula-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .im-formula.is-featured { transform: none; }
    .im-formula.is-featured:hover { transform: translateY(-8px); }
    .im-adv-grid, .im-grid-3, .im-fees { grid-template-columns: repeat(2, 1fr); }
    .im-grid-4, .im-steps, .im-contact-cards { grid-template-columns: repeat(2, 1fr); }
    .im-stats-in { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .im-stat:nth-child(odd)::before { display: none; }
    .im-bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .im-masonry { column-count: 3; }
    .im-footer-grid { grid-template-columns: 1fr 1fr; }
    .im-events { position: static; }
    .im-director-ar { display: none; }
}
@media (max-width: 640px) {
    body.im { font-size: 16px; }
    .im-container { padding: 0 16px; }
    .im-section { padding: 64px 0; }
    .im-topbar-contact li:not(:first-child) { display: none; }
    .im-header-in { min-height: 72px; }
    .im-brand img { height: 50px; }
    .im-brand-text strong { font-size: 15.5px; }
    .im-brand-text small { font-size: 13px; max-width: 190px; }
    .im-hero-btns .im-btn { width: 100%; }
    .im-hero-values { gap: 10px 18px; font-size: 13.5px; }
    .im-hero-visual, [dir=rtl] .im-hero-visual { padding: 18px 10px 30px 22px; }
    .im-seal { width: 110px; height: 110px; }
    .im-seal-core { inset: 16px; }
    .im-chip { font-size: 12.5px; padding: 8px 12px; max-width: 200px; }
    .im-chip i { width: 30px; height: 30px; font-size: 14px; }
    .im-chip-a { inset-inline-end: -4px; }
    .im-dots { bottom: 44px; }
    .im-ticker-track { font-size: 14.5px; }
    .im-about-media, [dir=rtl] .im-about-media { padding: 0 30px 40px 0; }
    .im-since { width: 104px; height: 104px; inset-inline-start: -8px; }
    .im-since strong { font-size: 24px; }
    .im-values { grid-template-columns: 1fr; }
    .im-mission { font-size: 18px; padding: 18px 20px; }
    .im-director-frame { width: 280px; }
    .im-progs, .im-adv-grid, .im-grid-2, .im-grid-3, .im-grid-4, .im-steps, .im-contact-cards, .im-fees { grid-template-columns: 1fr; }
    .im-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .im-tile:nth-child(7n+6) { grid-column: span 2; }
    .im-masonry { column-count: 2; column-gap: 10px; }
    .im-mason-item { margin-bottom: 10px; border-radius: 12px; }
    .im-life-card { flex-basis: 240px; height: 340px; }
    .im-strip-nav { display: none; }
    .im-faq-item summary { padding: 16px; gap: 12px; font-size: 15.5px; }
    .im-faq-n { width: 36px; height: 36px; }
    .im-faq-a, [dir=rtl] .im-faq-a { padding: 0 16px 18px 16px; }
    .im-cta { padding: 74px 0; }
    .im-cta-btns { padding: 18px; }
    .im-portal-items { grid-template-columns: repeat(2, 1fr); }
    .im-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .im-lightbox { padding: 60px 10px; }
    .im-lb-prev, .im-lb-next { top: auto !important; bottom: 18px; transform: none !important; }
    .im-pagehead { padding: 62px 0 92px; }
    .im-pagehead-star { width: 90px; height: 90px; margin-top: -45px; opacity: .6; }
    .im-callout { padding: 28px 22px; }
    .im-map iframe { height: 320px; }
    .im-director-block { grid-template-columns: 1fr; text-align: center; padding: 26px 18px; gap: 20px; }
    .im-director-block .im-director-frame { width: 230px; }
    .im-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .im-filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
    .im *, .im *::before, .im *::after { animation: none !important; transition: none !important; }
    .im-js .im-reveal { opacity: 1; transform: none; }
}
