/* === Public site design (includes/v2) ===
   Palette, type and motion follow acibademinternational.com.
   Tailwind utilities do the layout; this file holds the pieces that repeat
   (buttons, hero, cards, header, motion). Logical properties keep RTL right. */

:root {
  --navy: #092c74;
  --navy-800: #08235e;
  --navy-900: #061a47;
  --navy-950: #03102b;
  --azure: #1479a8;
  --aqua: #25aae1;
  --aqua-deep: #1a8fc4;
  --coral: #f26b50;
  --ink: #13233c;
  --muted: #566880;
  --line: #e7ecf3;
  --surface: #f4f7fc;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 6px 20px rgba(9, 44, 116, .07);
  --shadow: 0 20px 50px rgba(9, 44, 116, .12);
  --shadow-lg: 0 40px 90px rgba(9, 44, 116, .20);
  --header-h: 68px;
  --gutter: clamp(16px, 4.5vw, 64px);
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.v2 { font-family: "Plus Jakarta Sans", Inter, "Noto Sans Arabic", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface); }
body.v2 :focus-visible { outline: 3px solid rgba(37, 170, 225, .55); outline-offset: 2px; border-radius: 10px; }
.v2 h1, .v2 h2, .v2 h3 { letter-spacing: -.02em; }
.v2 h1:lang(ar), .v2 h2:lang(ar), .v2 h3:lang(ar), .v2 h1:lang(fa), .v2 h2:lang(fa), .v2 h3:lang(fa) { letter-spacing: normal; }
.v2 :lang(ar), .v2 :lang(fa) { line-height: 1.7; }
.v2 .leading-none:lang(ar), .v2 .leading-none:lang(fa) { line-height: 1.2; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1040px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 980; isolation: isolate;
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 24px rgba(6, 26, 71, .28);
  transition: box-shadow .3s, background-color .3s;
}
.site-header::after { /* premium hairline */
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(37,170,225,0) 0%, rgba(156,194,240,.9) 50%, rgba(37,170,225,0) 100%);
  opacity: .55;
}
.site-header.is-scrolled { background: rgba(9, 44, 116, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap;
  color: #cfdcef; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-link[aria-current="page"]::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua);
}
.nav-link i { font-size: 1.1rem; }
/* Offices are blue, events are coral: icons and count badges of the menu follow */
.nav-link--office > i { color: #6fcdf5; }
.nav-link--event > i { color: #ff9b85; }
.nav-badge.nav-badge--office { background: var(--aqua-deep); }
/* Small count next to Offices / Events in the menu */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.45rem; height: 1.3rem; padding-inline: .42rem;
  border-radius: 999px; background: #e8573b; color: #fff; font-size: .72rem; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; direction: ltr;
}
.site-header.fit-1 .nav-link > i { display: none; }
.site-header.fit-1 .nav-link { padding-inline: .8rem; }
.site-header.fit-2 .logo-side { display: none; }
.site-header.fit-3 .site-header__bar > a img { height: 1.5rem; }
.drawer__tile--event i:first-child { background: rgba(242,107,80,.22); color: #ff9b85; }
.drawer__tile .nav-badge { min-width: 1.7rem; height: 1.5rem; font-size: .8rem; }

.burger { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color .2s; }
.burger:hover { background: rgba(255,255,255,.08); }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform .35s var(--ease), background-color .2s;
}
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset-inline: 0; top: var(--hb, var(--header-h)); bottom: 0; z-index: 970;
  background: rgba(3, 16, 43, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer__panel {
  background: var(--navy); padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.07); box-shadow: 0 30px 60px rgba(3,16,43,.4);
  transform: translateY(-12px); transition: transform .42s var(--ease);
  max-height: calc(100vh - var(--hb, var(--header-h))); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__tile {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; border-radius: 18px;
  color: #fff; font-weight: 700; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
  transition: background-color .2s;
}
.drawer__tile:hover, .drawer__tile[aria-current="page"] { background: rgba(255,255,255,.1); }
.drawer__tile i:first-child { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: rgba(37,170,225,.16); color: #8fd6f3; }
.drawer.is-open .drawer__tile { animation: tileIn .46s var(--ease) both; }
.drawer.is-open .drawer__tile:nth-child(2) { animation-delay: .04s; }
.drawer.is-open .drawer__tile:nth-child(3) { animation-delay: .08s; }
.drawer.is-open .drawer__tile:nth-child(4) { animation-delay: .12s; }
.drawer.is-open .drawer__tile:nth-child(5) { animation-delay: .16s; }
@keyframes tileIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.drawer-open, html.drawer-open body { overflow: hidden; }

/* Language menu (the toggle logic lives in assets/js/app.js) */
.lang-btn {
  display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding-inline: .7rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .875rem; font-weight: 600;
  background: rgba(255,255,255,.04); transition: background-color .2s, border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.lang-btn .ph-caret-down { transition: transform .3s var(--ease); }
.lang-btn[aria-expanded="true"] .ph-caret-down { transform: rotate(180deg); }
.lang-panel:not(.hidden) { animation: pop .28s cubic-bezier(.22,.9,.24,1); transform-origin: top; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ?demo note on office pages (admins only) */
.demo-note { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem 1rem; border-radius: 16px; background: #fff1ed; border: 1px dashed var(--coral); color: #8a3a28; font-size: .875rem; line-height: 1.45; }
.demo-tag { display: inline-block; margin-inline-start: .35rem; padding: 0 .4rem; border-radius: 6px; background: #fff1ed; color: #c8452c; font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.demo-note i { color: var(--coral); font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--azure);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: currentColor; flex-shrink: 0; }
.eyebrow--light { color: #9fc6f5; }
.eyebrow:lang(ar), .eyebrow:lang(fa) { letter-spacing: normal; }
.eyebrow:lang(ka) { text-transform: none; letter-spacing: .06em; }
.text-gradient { background: linear-gradient(120deg, #fff 20%, #9fdcf6 60%, #fff 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .94rem; line-height: 1.2; padding: .95em 1.6em; border-radius: 999px;
  border: 1.5px solid transparent; text-align: center; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.15em; }
.btn--lg { font-size: 1rem; padding: 1.05em 1.9em; }
.btn--sm { font-size: .85rem; padding: .65em 1.15em; }
.btn--primary { background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); color: #fff; box-shadow: 0 12px 26px rgba(37,170,225,.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(37,170,225,.45); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn--line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--line:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 12px 26px rgba(9,44,116,.25); }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-3px); box-shadow: 0 20px 38px rgba(9,44,116,.3); }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 12px 26px rgba(3,16,43,.25); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(3,16,43,.35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { cursor: progress; transform: none; }

/* Arrow that nudges forward on hover, mirrored in RTL */
.arrow { display: inline-block; transition: transform .3s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.group:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .group:hover .arrow, [dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 90% 12%, rgba(37,170,225,.30), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(37,170,225,.16), transparent 50%),
    linear-gradient(95deg, rgba(4,15,42,.94), rgba(6,24,64,.86) 45%, rgba(9,44,116,.62) 100%);
}
[dir="rtl"] .hero__shade {
  background:
    radial-gradient(circle at 10% 12%, rgba(37,170,225,.30), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(37,170,225,.16), transparent 50%),
    linear-gradient(-95deg, rgba(4,15,42,.94), rgba(6,24,64,.86) 45%, rgba(9,44,116,.62) 100%);
}
.hero__grid { /* faint world-grid texture */
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(159,198,245,.22) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; background: var(--aqua); animation: float 14s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes float { from { transform: translate3d(0,0,0); } to { transform: translate3d(-60px, 40px, 0); } }
.hero h1 { font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.hero h1:lang(ar), .hero h1:lang(fa) { letter-spacing: normal; line-height: 1.35; }
.hero__lead { color: #cfdcef; }

/* Glass stat tiles */
.stat-tile {
  border-radius: 18px; padding: 1rem 1.1rem;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(61,183,232,.30); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stat-tile__n { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat-tile__l { margin-top: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fc6f5; line-height: 1.35; }
.stat-tile__l:lang(ar), .stat-tile__l:lang(fa) { letter-spacing: normal; }
.stat-tile__l:lang(ka) { text-transform: none; letter-spacing: .02em; }

/* Page header band (inner pages) */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: #fff; }
.page-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 88% 0%, rgba(37,170,225,.32), transparent 45%),
    radial-gradient(circle at 0% 120%, rgba(37,170,225,.14), transparent 50%),
    linear-gradient(95deg, #040f2a, #061840 45%, var(--navy) 100%);
}
[dir="rtl"] .page-head::before {
  background:
    radial-gradient(circle at 12% 0%, rgba(37,170,225,.32), transparent 45%),
    radial-gradient(circle at 100% 120%, rgba(37,170,225,.14), transparent 50%),
    linear-gradient(-95deg, #040f2a, #061840 45%, var(--navy) 100%);
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.card--hover { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card--hover:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #d5e3f3; }
.icon-chip {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem;
  background: linear-gradient(145deg, #eaf6fd, #dcebf9); color: var(--navy);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.group:hover .icon-chip { background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; padding-inline: .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e6f5fc; color: var(--azure); }
.dark-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 60%, var(--navy-950) 100%); box-shadow: var(--shadow-lg); }
.dark-card::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; inset-inline-end: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(37,170,225,.45), transparent 65%); transition: transform .8s var(--ease); }
.dark-card:hover::before { transform: translate3d(-30px, 30px, 0) scale(1.1); }

/* Inputs */
.field {
  width: 100%; height: 54px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding-inline: 3rem 1.25rem; font-size: 16px; font-family: inherit; font-weight: 500;
  box-shadow: var(--shadow-sm); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: var(--muted); opacity: .8; }
.field:focus { border-color: var(--aqua); box-shadow: 0 0 0 5px rgba(37,170,225,.15), var(--shadow-sm); }
select.field { padding-inline: 1.25rem 2.75rem; cursor: pointer; }

/* Floating action bar on office pages (phones) */
.action-dock {
  position: fixed; z-index: 960; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 6px;
  border-radius: 22px; background: rgba(9,44,116,.92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 18px 40px rgba(3,16,43,.35); transform: translateY(140%); transition: transform .45s var(--ease);
}
.action-dock.is-visible { transform: none; }
.action-dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem .25rem; border-radius: 16px; color: #fff; font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.2; }
.action-dock a i { font-size: 1.35rem; }
.action-dock a:active { background: rgba(255,255,255,.12); }
.action-dock .is-wa i { color: #4ee38a; }
@media (min-width: 768px) { .action-dock { display: none; } }

/* FAQ accordion (details/summary, animated where supported) */
.faq summary { list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph-plus { transition: transform .35s var(--ease); }
.faq details[open] summary .ph-plus { transform: rotate(45deg); }
.faq details[open] { background: var(--surface); }
.faq details[open] summary span { color: var(--navy); }
.faq__a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Map page ---------- */
.v2 .leaflet-container { font-family: inherit; background: #e8eef5; }
.v2 .custom-tooltip { font-family: inherit !important; border-radius: 18px !important; box-shadow: var(--shadow) !important; }
.v2 .leaflet-bar { border: 0 !important; box-shadow: var(--shadow-sm) !important; border-radius: 14px !important; overflow: hidden; }
.v2 .leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--navy) !important; }
.map-pin { width: 34px; height: 34px; margin-inline: 3px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--aqua), var(--navy)); border: 3px solid #fff; box-shadow: 0 8px 20px rgba(9,44,116,.35); transition: transform .25s var(--ease); }
.map-pin i { transform: rotate(45deg); color: #fff; font-size: 16px; }
.leaflet-marker-icon:hover .map-pin { transform: rotate(-45deg) scale(1.12); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #a9b8d0; }
.site-footer::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(156,194,240,.6), transparent); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-h { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-h:lang(ar), .footer-h:lang(fa) { letter-spacing: normal; }
.footer-h:lang(ka) { text-transform: none; letter-spacing: .04em; }

/* ---------- Motion ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- Events ---------- */
.date-badge { flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1; font-variant-numeric: tabular-nums; }
.date-badge__m { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.date-badge__d { margin-top: .3rem; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.date-badge__d.is-range { font-size: 1.05rem; letter-spacing: -.02em; }
.date-badge__m:lang(ar), .date-badge__m:lang(fa), .date-badge__m:lang(ka) { letter-spacing: normal; text-transform: none; }
.event-card.is-past { box-shadow: none; }
.event-card.is-past:hover { transform: translateY(-3px); }
.filter-pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding-inline: 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-pill:hover { border-color: var(--aqua); color: var(--navy); }
.filter-pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-pill i { color: var(--aqua); }
.past-events summary { list-style: none; }
.past-events summary::-webkit-details-marker { display: none; }
.past-events[open] summary .ph-caret-down { transform: rotate(180deg); }
.page-head--img::before { opacity: .88; }
[dir="rtl"] .arrow-back { transform: scaleX(-1); }

/* Home: the two main sections side by side */
/* Home intro: the two pillars (offices + events) as jump links with live counts */
.hero__accent { color: #8fd6f3; }
.hero-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; max-width: 34rem; margin-inline: auto; }
.hero-pillar { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .45rem .55rem; padding-inline-end: .8rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: .92rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s, transform .2s; }
.hero-pillar:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.hero-pillar__icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); }
.hero-pillar__icon--coral { background: linear-gradient(135deg, #f58a73, var(--coral)); }
.hero-pillar__l { flex: 1; min-width: 0; text-align: start; line-height: 1.2; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.hero-pillar__n { flex-shrink: 0; min-width: 1.9rem; height: 1.9rem; padding-inline: .5rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; background: #fff; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .hero-pillar { border-radius: 18px; gap: .5rem; padding: .5rem; font-size: .84rem; } .hero-pillar__icon { width: 32px; height: 32px; font-size: 1rem; } .hero-pillar__n { min-width: 1.7rem; height: 1.7rem; font-size: .76rem; } }
@media (max-width: 399px) { .hero-pillar { padding-inline-start: .9rem; } .hero-pillar__icon { display: none; } }
/* Jump buttons only where the two panels stack (phones, tablets); side by side they are redundant */
@media (min-width: 1024px) { .hero-pillars { display: none; } }

.panel-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; color: #fff; }
.panel-head__icon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); box-shadow: 0 10px 22px rgba(37,170,225,.35); }
.panel-head h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.panel-head p { font-size: .85rem; color: #cfdcef; margin-top: .15rem; }
.panel-head__link { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; padding: .5rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.3); transition: background-color .2s, border-color .2s; }
.panel-head__link:hover { background: rgba(255,255,255,.14); border-color: #fff; }
@media (max-width: 479px) { .panel-head__link { display: none; } }
.ev-panel { position: relative; }
.ev-row { display: flex; align-items: stretch; gap: .5rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.ev-row:hover { border-color: #cfe0f3; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ev-row[hidden] { display: none; }
.ev-row__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: .85rem; padding: .7rem .5rem .7rem .7rem; }
.ev-row__wa { align-self: center; flex-shrink: 0; width: 46px; height: 46px; margin-inline-end: .7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: var(--wa, #25d366); box-shadow: 0 8px 18px rgba(31,184,90,.3); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ev-row__wa:hover { transform: scale(1.08); box-shadow: 0 12px 24px rgba(31,184,90,.4); }
.ev-request { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.ev-request:hover { background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.ev-request__icon { width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: rgba(242,107,80,.9); color: #fff; }

/* Events page: view switch, calendar */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: .4rem; height: 38px; padding-inline: .95rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button:not([aria-pressed="true"]):hover { color: var(--navy); }
.cal { user-select: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2, #8696aa); padding-block: .4rem; }
.cal__day { position: relative; aspect-ratio: 1 / 1; min-height: 44px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding-top: 7px; font-size: .9rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cal__day.is-out { color: #b9c4d3; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--aqua); }
.cal__day.has-ev { background: var(--surface); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.cal__day.has-ev:hover { background: #e6f5fc; transform: translateY(-2px); }
.cal__day.is-sel { background: var(--navy) !important; color: #fff; }
.cal__dots { display: flex; gap: 3px; }
.cal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.cal__dots i[data-t="act_tag_presentation"] { background: #7c3aed; }
.cal__dots i[data-t="act_tag_exhibition"] { background: #10b981; }
.cal__dots i[data-t="act_tag_webinar"] { background: var(--coral); }
.cal__day.is-sel .cal__dots i { background: #fff; }
.cal__day.is-past { opacity: .6; }
[dir="rtl"] .arrow-flip { transform: scaleX(-1); }
#events-map { height: min(68vh, 560px); min-height: 360px; }
.ev-pop { font-family: inherit; min-width: 190px; }
.ev-pop a { color: var(--azure); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .rise, .hero__img, .hero__glow, .drawer.is-open .drawer__tile, .lang-panel:not(.hidden), .faq__a { animation: none; }
  .card--hover:hover, .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .action-dock, .demo-note { display: none !important; }
}

/* Institutions ticker (home) */
.ticker { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: .75rem; width: max-content; animation: ticker 70s linear infinite; }
/* Pause on mouse hover only: on touch screens a tap leaves :hover stuck and the names stop for good */
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }
.ticker__item { white-space: nowrap; padding: .55rem 1.1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #cfdcef; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker__item:nth-child(n+25) { display: none; }
}

/* Offices list: rows inside country cards (style.css also lifts .office-card) */
.v2 .office-card:hover { transform: none; box-shadow: none; }
.v2 .country-group { scroll-margin-top: calc(var(--header-h) + var(--bar-h, 0px) + 16px); }
.v2 .country-highlight { box-shadow: 0 0 0 3px rgba(37,170,225,.55), var(--shadow); border-radius: 24px; background: #fff; }

/* Logo yan bloğu: ACIBADEM yazısına eklenen "INTERNATIONAL / OFFICES & EVENTS" (çevrilmez, logonun parçası) */
.logo-side{display:none;min-height:24px;flex-direction:column;justify-content:center;gap:3px;margin-inline-start:14px;padding-inline-start:14px;border-inline-start:2px solid #25aae1;line-height:1;white-space:nowrap;font-family:"Plus Jakarta Sans","Inter",system-ui,sans-serif;text-transform:uppercase}
.logo-side b{font-size:9.5px;font-weight:600;letter-spacing:.34em;color:#fff}
.logo-side i{font-style:normal;font-size:8.5px;font-weight:500;letter-spacing:.2em;color:#7fd0f3}
@media (min-width:480px){.logo-side{display:flex}.logo-side i{display:none}}
@media (min-width:1024px){.logo-side i{display:block}.logo-side b{font-size:11px}.logo-side i{font-size:10px}}

/* Events side of the home page in coral (offices stay blue) */
.panel-head__icon--coral { background: linear-gradient(135deg, #f58a73, var(--coral)); box-shadow: 0 10px 22px rgba(242,107,80,.35); }
.nf-card.ev-panel::before { background: linear-gradient(90deg, #f58a73, var(--coral)); }
.ev-panel .nf-label { color: #d4492f; }
.ev-panel .btn--navy { background: linear-gradient(135deg, #f58a73, var(--coral)); box-shadow: 0 12px 26px rgba(242,107,80,.3); }
.ev-panel .btn--navy:hover { background: #e8573b; box-shadow: 0 20px 38px rgba(242,107,80,.4); }
.ev-panel .btn--line:hover { background: var(--coral); border-color: var(--coral); }
.panel-head__link--coral:hover { border-color: #ff9b85; }

/* Event row on the home page: round arrow to the event page (coral, like everything events) */
.ev-row__go { align-self: center; flex-shrink: 0; width: 46px; height: 46px; margin-inline-end: .7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #f58a73, var(--coral)); box-shadow: 0 8px 18px rgba(242,107,80,.3); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ev-row__go:hover, .ev-row:hover .ev-row__go { transform: scale(1.08); box-shadow: 0 12px 24px rgba(242,107,80,.42); }

/* Events pages (list, calendar, detail) in coral: offices stay blue */
.ev-theme .page-head::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #f58a73, var(--coral)); }
.ev-theme .eyebrow--light { color: #ffb4a3; }
.ev-theme .stat-tile__n { color: #ffb4a3; }
.ev-theme .btn--primary { background: linear-gradient(135deg, #f58a73, var(--coral)); box-shadow: 0 12px 26px rgba(242,107,80,.35); }
.ev-theme .btn--primary:hover { background: #e8573b; }
.ev-theme .filter-pill i, .ev-theme .text-aqua { color: var(--coral); }
.ev-theme .filter-pill:hover, .ev-theme .hover\:border-aqua:hover { border-color: var(--coral); }
.ev-theme .filter-pill[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); }
.ev-theme .filter-pill[aria-pressed="true"] i { color: #fff; }
.ev-theme .seg button[aria-pressed="true"] { background: var(--coral); }
.ev-theme .field:focus { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(242,107,80,.15), var(--shadow-sm); }
.ev-theme .cal__day.is-today { box-shadow: inset 0 0 0 2px var(--coral); }
.ev-theme .cal__day.has-ev:hover { background: #fff1ed; }
.ev-theme .cal__day.is-sel { background: var(--coral) !important; }
.ev-theme .cal__dots i { background: var(--coral); }
.ev-theme .cal__dots i[data-t="act_tag_presentation"] { background: #7c3aed; }
.ev-theme .cal__dots i[data-t="act_tag_exhibition"] { background: #10b981; }
.ev-theme .cal__dots i[data-t="act_tag_doctor"] { background: var(--aqua); }
.ev-theme .cal__day.is-sel .cal__dots i { background: #fff; }
.ev-theme .count-pill { background: #fff1ed; color: var(--coral-ink, #c8452c); }
.ev-theme .group:hover .arrow { color: var(--coral); }
.ev-theme .event-card:hover { border-color: #ffc9bc; }

/* Office pages (list, detail, map) in blue: events stay coral */
.of-theme .page-head::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--aqua), var(--aqua-deep)); }
.of-theme .eyebrow--light { color: #7fd0f3; }
.of-theme .stat-tile__n { color: #7fd0f3; }
.of-theme .count-pill { background: #e6f5fc; color: var(--aqua-deep); }
.of-theme .group:hover .arrow { color: var(--aqua-deep); }
.of-theme .filter-pill[aria-pressed="true"] { background: var(--aqua-deep); border-color: var(--aqua-deep); }
.btn--wa { background: linear-gradient(135deg, #3fe07f, #1fb85a); color: #fff; box-shadow: 0 12px 26px rgba(31,184,90,.35); }
.btn--wa:hover { background: #1fb85a; transform: translateY(-3px); box-shadow: 0 20px 38px rgba(31,184,90,.4); }

/* Home "Explore" cards: a picture strip on top of each card, drawn from live data */
.xcard__visual { position: relative; height: 172px; overflow: hidden; isolation: isolate; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.xcard__visual::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 16px 16px; }
.xcard__visual--offices { background: radial-gradient(circle at 85% 0%, rgba(37,170,225,.45), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); }
.xcard__visual--map { background: radial-gradient(circle at 50% 40%, rgba(37,170,225,.35), transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); }
.xcard__visual--online { background: radial-gradient(circle at 15% 0%, rgba(255,255,255,.28), transparent 50%), linear-gradient(135deg, var(--aqua) 0%, var(--azure) 100%); }
/* Optional photo behind each strip: drop assets/images/explore-<offices|map|online>.webp (800x400) in place */
.xcard__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.group:hover .xcard__photo { transform: scale(1.06); }
.xcard__visual.has-photo { background: none; }
.xcard__visual.has-photo::before { opacity: 1; background: linear-gradient(180deg, rgba(37,170,225,.42), rgba(20,121,168,.72)); } /* one sky-blue veil for all three photos */
/* With a photo: smaller flags in one row, and a small glass badge instead of the drawings */
.has-photo .xflags { max-width: none; flex-wrap: nowrap; }
.has-photo .xflags > * { width: 28px; height: 28px; margin: 0 -3px; border-width: 2px; }
.has-photo .xflags > * { border-color: rgba(255,255,255,.92); }
.has-photo .xstats span { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); color: #fff; }
.xbadge { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #e6eefa; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .45s var(--ease); }
.xbadge b { color: #fff; font-weight: 800; }
.xbadge .ph-map-pin { color: var(--coral); font-size: 1rem; }
.xbadge--live { gap: .7rem; font-size: 1.05rem; color: #fff; }
.group:hover .xbadge { transform: translateY(-3px); }
.xcard__num { position: absolute; top: 12px; inset-inline-end: 18px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,.14); transition: color .5s; }
.group:hover .xcard__num { color: rgba(255,255,255,.3); }
.xcard__chip { margin-top: -24px; background: #fff; box-shadow: 0 10px 24px rgba(9,44,116,.16); }

/* Offices: country flags + live counts */
.xflags { display: flex; flex-wrap: wrap; justify-content: center; max-width: 200px; }
.xflags > * { width: 36px; height: 36px; margin: -3px -4px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--navy-900); background: #fff; transition: transform .45s var(--ease); transition-delay: calc(var(--k) * 30ms); }
.xflags span { display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: var(--navy); }
.group:hover .xflags > * { transform: translateY(-4px); }
.xstats { display: flex; gap: .5rem; font-size: .8rem; font-weight: 600; color: #cfdcef; }
.xstats span { padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.xstats b { color: #fff; font-weight: 800; }

/* Map: arcs from the Istanbul head office to every office */
.xnet { width: 100%; height: 100%; }
.xnet__arc { fill: none; stroke: rgba(143,214,243,.55); stroke-width: .9; stroke-linecap: round; }
.xnet__dot { fill: #fff; }
.xnet__hq { fill: var(--coral); stroke: #fff; stroke-width: 2; }
.xnet__pulse { fill: none; stroke: var(--coral); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: xpulse 2.4s ease-out infinite; }
@keyframes xpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.js-anim .xnet__arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js-anim .reveal.in .xnet__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); transition-delay: calc(.3s + var(--k) * 22ms); }
.group:hover .xnet__arc { stroke: rgba(143,214,243,.9); }

/* Online: a small video consultation window */
.xcall { width: min(236px, 78%); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 18px 40px rgba(3,16,43,.25); overflow: hidden; transition: transform .45s var(--ease); }
.group:hover .xcall { transform: translateY(-4px) rotate(-1.5deg); }
.xcall__bar { display: flex; gap: 5px; padding: 8px 10px; background: #eef4fb; }
.xcall__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9d7e8; }
.xcall__bar i:first-child { background: var(--coral); }
.xcall__body { display: flex; align-items: center; gap: 12px; padding: 12px 14px 8px; }
.xcall__doc { position: relative; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--aqua), var(--navy)); }
.xcall__doc em { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.xcall__lines { flex: 1; display: grid; gap: 6px; }
.xcall__lines i { height: 7px; border-radius: 4px; background: #dfe8f3; }
.xcall__lines i:first-child { width: 70%; background: #b9cbe2; }
.xcall__lines i:last-child { width: 45%; }
.xcall__tools { display: flex; justify-content: center; gap: 8px; padding: 6px 0 12px; }
.xcall__tools span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--azure); background: #e6f5fc; }
.xcall__tools .is-live { color: #fff; background: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  .xnet__pulse { animation: none; opacity: 0; }
  .group:hover .xflags > *, .group:hover .xcall, .group:hover .xbadge { transform: none; }
}

/* ---------- Home: social proof (draft, includes/v2/social-proof.php) ---------- */
.proof { position: relative; isolation: isolate; line-height: 1.5; overflow: hidden; padding-block: clamp(56px, 8vw, 112px); background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,170,225,.11), transparent 70%), linear-gradient(180deg, var(--surface) 0%, #fff 45%, var(--surface) 100%); }
.proof::before { content: ''; position: absolute; z-index: -1; inset-inline-start: 50%; top: -340px; width: 900px; height: 900px; margin-inline-start: -450px; border-radius: 50%; border: 1px solid rgba(9,44,116,.06); box-shadow: 0 0 0 90px rgba(9,44,116,.015), 0 0 0 180px rgba(9,44,116,.012); pointer-events: none; }
.proof__head { max-width: 760px; margin-inline: auto; text-align: center; }
.proof__draft { display: table; margin: 0 auto 1rem; padding: .3rem .8rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); border: 1px dashed rgba(242,107,80,.55); background: rgba(242,107,80,.06); }
.proof__title { margin-top: .9rem; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; line-height: 1.08; color: var(--navy); }
.proof__title span { background: linear-gradient(120deg, var(--aqua) 0%, var(--aqua-deep) 45%, var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__lead { margin-top: 1.1rem; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; color: var(--muted); }
/* Smiling people of all ages: a staggered photo row between the heading and the stories */
.proof__people { display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 1.6vw, 1.25rem); margin-top: clamp(2rem, 4.5vw, 3.25rem); }
.proof__person { --h: 210px; position: relative; flex: 1 1 0; max-width: 210px; height: var(--h); overflow: hidden; border-radius: 26px; border: 4px solid #fff; background: #e6eef8; box-shadow: var(--shadow); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.proof__person:nth-child(2), .proof__person:nth-child(4) { --h: 255px; }
.proof__person:nth-child(3) { --h: 300px; max-width: 350px; flex-grow: 1.7; }
.proof__person::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(9,44,116,.18)); pointer-events: none; }
.proof__person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proof__person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proof__person:hover img { transform: scale(1.06); }
.js-anim .proof__people.reveal .proof__person { opacity: 0; transform: translateY(24px); }
.js-anim .proof__people.reveal.in .proof__person { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--k) * 90ms); }
@media (max-width: 639px) {
  .proof__person:nth-child(2), .proof__person:nth-child(5) { display: none; }
  .proof__person, .proof__person:nth-child(4) { --h: 170px; border-radius: 20px; border-width: 3px; }
  .proof__person:nth-child(3) { --h: 170px; flex-grow: 1.9; }
}
.proof__grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.75rem); }
@media (min-width: 1024px) { .proof__grid { grid-template-columns: 1.6fr 1fr; gap: 1.5rem; } }

.proof__stage { position: relative; isolation: isolate; overflow: hidden; margin: 0; display: flex; flex-direction: column; min-height: 340px; padding: clamp(28px, 4.2vw, 56px); border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 60%, var(--navy-950) 100%); box-shadow: var(--shadow-lg); }
.proof__stage::before { content: ''; position: absolute; z-index: -1; width: 460px; height: 460px; inset-inline-end: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(37,170,225,.42), transparent 65%); }
.proof__stage::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px) 0 0 / 18px 18px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 55%); mask-image: linear-gradient(160deg, #000, transparent 55%); }
.proof__mark { display: block; margin-bottom: 1.1rem; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--aqua); filter: drop-shadow(0 8px 18px rgba(37,170,225,.35)); }
.proof__slides { flex: 1; display: grid; }
.proof__slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }
.proof__slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .3s, transform .6s var(--ease) .3s, visibility 0s .3s; }
.proof__quote { margin: 0; max-width: 40ch; font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: #fff; }
.proof__who { display: flex; align-items: center; gap: 14px; }
.proof__avatar { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--aqua) 0%, var(--navy) 100%); box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 10px 24px rgba(3,16,43,.35); }
.proof__name { display: block; font-size: 1rem; font-weight: 800; }
.proof__name em { margin-inline-start: .35rem; padding: .1rem .45rem; border-radius: 999px; vertical-align: 2px; font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb4a3; border: 1px solid rgba(255,180,163,.4); }
.proof__from { display: flex; align-items: center; gap: .45rem; margin-top: .25rem; font-size: .85rem; color: #cfdcef; }
.proof__from img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.proof__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.proof__bars { display: flex; gap: 8px; }
.proof__bar { display: flex; align-items: center; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.proof__bar i { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.2); }
.proof__bar i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), #8fd6f3); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .proof:not([dir="ltr"]) .proof__bar i::after { transform-origin: right center; }
.proof__bar.is-on i::after { transform: scaleX(1); }
.proof__stage.is-playing .proof__bar.is-on i::after { animation: proofbar 7s linear; }
@keyframes proofbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.proof__arrows { display: flex; gap: 8px; }
.proof__arrow { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); cursor: pointer; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.proof__arrow:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.proof__metrics { display: grid; gap: 1.25rem; margin: 0; }
@media (max-width: 1023px) { .proof__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.proof__metric { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.6rem 1.75rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.proof__metric::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--aqua), var(--navy)); transform: scaleX(.18); transform-origin: left center; transition: transform .6s var(--ease); }
[dir="rtl"] .proof:not([dir="ltr"]) .proof__metric::after { transform-origin: right center; }
.proof__metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof__metric:hover::after { transform: scaleX(1); }
.proof__metric-icon { position: absolute; top: 1.2rem; inset-inline-end: 1.2rem; width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--aqua-deep); background: #e6f5fc; }
.proof__num { margin: 0; font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--navy) 0%, var(--aqua-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__label { margin-top: .6rem; font-size: .92rem; font-weight: 600; color: var(--muted); }

.proof__seals { list-style: none; margin: clamp(1.5rem, 3vw, 2rem) 0 0; padding: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; border-radius: 24px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
@media (min-width: 900px) { .proof__seals { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 1.6rem 2rem; } .proof__seal + .proof__seal { border-inline-start: 1px solid var(--line); padding-inline-start: 1.25rem; } }
.proof__seal { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.proof__seal-ring { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--navy); background: #fff; border: 1.5px solid rgba(9,44,116,.14); box-shadow: 0 6px 16px rgba(9,44,116,.08); transition: color .3s, background-color .3s, transform .4s var(--ease); }
.proof__seal:hover .proof__seal-ring { color: #fff; background: linear-gradient(135deg, var(--aqua), var(--navy)); transform: rotate(-8deg); }
.proof__seal b { display: block; font-size: .95rem; font-weight: 800; color: var(--ink); }
.proof__seal small { display: block; margin-top: .1rem; font-size: .78rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 639px) {
  .proof__metrics { gap: .6rem; }
  .proof__metric { align-items: center; text-align: center; padding: 1.1rem .5rem 1.25rem; border-radius: 20px; }
  .proof__metric-icon { position: static; width: 34px; height: 34px; margin-bottom: .7rem; border-radius: 11px; font-size: 1rem; }
  .proof__num { font-size: 1.75rem; }
  .proof__label { margin-top: .4rem; font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
  .proof__metric::after { transform: scaleX(.3); transform-origin: center; }
}
@media (prefers-reduced-motion: reduce) {
  .proof__slide { transition: none; transform: none; }
  .proof__metric, .proof__metric::after, .proof__seal-ring, .proof__person, .proof__person img { transition: none; }
  .js-anim .proof__people.reveal .proof__person { opacity: 1; transform: none; }
}
.js-anim .proof__people.reveal.in .proof__person:hover { transform: translateY(-6px); transition-delay: 0s; }
