/* ==========================================================================
   IOCPR — International Organization for Crime Prevention and Rehabilitation
   Design system & global styles
   ========================================================================== */

:root {
  /* Brand palette */
  --brand:        #44ACFF;   /* primary blue */
  --brand-600:    #2B9AED;
  --brand-700:    #1A82D8;
  --brand-900:    #0D5FA8;
  --accent:       #89D4FF;   /* light blue accent */
  --accent-600:   #6BC4F5;
  --coral:        #44ACFF;

  /* Neutrals */
  --ink:          #0F1F2E;
  --body:         #2D4055;
  --muted:        #5A7085;
  --line:         #DDE8F2;
  --surface:      #ffffff;
  --surface-2:    #F0F7FD;
  --surface-3:    #E8F4FF;
  --cream:        #F5FAFF;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(13, 95, 168, .06), 0 1px 3px rgba(13, 95, 168, .08);
  --shadow-md:  0 8px 24px -8px rgba(13, 95, 168, .18);
  --shadow-lg:  0 24px 60px -20px rgba(13, 95, 168, .30);
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  26px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--body); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-soft { background: var(--surface-2); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--brand-900); color: #B8DBF5; }
.center { text-align: center; }
.maxw { max-width: 720px; }
.center .maxw { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: var(--brand-900); }
.btn--accent:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 12px; height: 76px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; flex: 1 1 auto; min-width: 0; }
.brand img { height: 46px; width: auto; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__txt b { font-family: var(--font-head); font-size: 1.18rem; color: var(--brand-900); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__txt span { font-size: .62rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink); padding: 9px 10px; border-radius: 9px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brand); background: var(--surface-2); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 6px; flex: none; }

/* ---------- language switch ---------- */
.lang-switch { display:flex; align-items:center; gap:6px; padding:4px; border:1px solid var(--line); border-radius:999px; background: rgba(255,255,255,.65); }
.lang-btn { padding:6px 10px; border-radius:999px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--muted); }
.lang-btn.active { background: var(--surface); color: var(--brand-900); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; flex: none;
  color: var(--brand-900); background: var(--surface-2); border: 1px solid var(--line);
  transition: background .2s, border-color .2s, color .2s;
}
.nav-toggle:hover { background: var(--surface-3); border-color: var(--brand); color: var(--brand); }
.nav-toggle svg { width: 26px; height: 26px; margin-inline: auto; }

/* mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(13,95,168,.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 200;
  pointer-events: none;
}
.nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: min(88vw, 360px);
  background: #fff; z-index: 210; padding: 20px 20px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(105%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.drawer.open { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer__top b { font-family: var(--font-head); color: var(--brand-900); font-size: 1.1rem; }
.drawer__top .nav-toggle { display: grid; place-items: center; }
.drawer a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 14px 12px; border-radius: 10px; border-bottom: 1px solid var(--line);
}
.drawer a:hover, .drawer a.active { color: var(--brand); background: var(--surface-2); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-actions { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.drawer .lang-switch { align-self: flex-start; }
.drawer .btn { width: 100%; margin-top: 0; }

/* ==========================================================================
   Hero — text left, photo rectangle beside it (not full-bleed)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  width: 100%;
  background-color: #F5FAFF;
  background-image:
    radial-gradient(90% 70% at 100% 0%, rgba(137, 212, 255, .45), transparent 55%),
    radial-gradient(70% 60% at 0% 100%, rgba(68, 172, 255, .18), transparent 50%),
    linear-gradient(135deg, #FFFFFF 0%, #F5FAFF 28%, #E8F4FF 62%, #D6EEFF 100%);
}
.hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 0;
  align-items: stretch;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 560px;
  margin-left: clamp(48px, 10vw, 140px);
  margin-right: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(13, 95, 168, .16);
}
.hero-tagline {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 560px;
  margin-left: clamp(48px, 10vw, 140px);
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
  font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--brand-900);
}
.hero-brand {
  display: flex; align-items: center; gap: clamp(12px, 2.2vw, 20px);
  margin: 0 0 22px; max-width: 42rem;
}
.hero-brand__logo {
  flex: none; width: 28%; max-width: 28%; height: auto;
  aspect-ratio: 1; object-fit: contain; border-radius: 50%;
  background: rgba(255,255,255,.96); padding: 7px;
}
.hero-brand__text {
  flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.hero-brand__abbr {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 3.4rem); line-height: .95;
  letter-spacing: -.04em; color: var(--brand-900);
}
.hero-brand__full {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(.88rem, 1.45vw, 1.05rem); line-height: 1.35;
  letter-spacing: .01em; color: var(--brand-700);
  max-width: none;
}
.hero h1 {
  color: var(--ink); margin: 8px 0 18px;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem); font-weight: 700;
  max-width: 16ch; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { color: var(--body); max-width: 540px; }
.hero .btn-row { margin-top: 32px; }

/* Photo rectangle beside text — height matches text through buttons (line above tagline) */
.hero-frame {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: 0;
  aspect-ratio: auto;
  max-height: none;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(
    90deg,
    #F5FAFF 0%,
    rgba(245,250,255,.9) 8%,
    rgba(232,244,255,.4) 22%,
    transparent 42%
  );
}
.hero-frame:active { cursor: grabbing; }
.hero-frame__viewport { width: 100%; height: 100%; overflow: hidden; border-radius: 0; }
.hero-frame__track {
  display: flex; height: 100%; width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.hero-frame__slide {
  flex: 0 0 100%; width: 100%; height: 100%; margin: 0;
  display: grid; place-items: center;
  background: transparent;
  backface-visibility: hidden;
}
.hero-frame__slide img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block; pointer-events: none;
}
.hero-frame__btn {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--brand-900);
  border: 0; box-shadow: 0 4px 14px rgba(13, 95, 168, .22);
  backdrop-filter: blur(8px); cursor: pointer; opacity: .9;
  transition: background .2s, transform .2s, opacity .2s;
}
.hero-frame__btn:hover { background: #fff; opacity: 1; transform: translateY(-50%) scale(1.06); }
.hero-frame__btn svg { width: 15px; height: 15px; pointer-events: none; }
.hero-frame__btn--prev { left: 10px; }
.hero-frame__btn--next { right: 10px; }
.hero-frame--single .hero-frame__btn { display: none; }
.hero-frame__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4;
  display: flex; justify-content: center; gap: 7px; padding: 0 12px;
}
.hero-frame__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85);
}
.hero-frame__dot.is-active { background: var(--accent); transform: scale(1.15); }

/* About story: hero carousel in the split media slot */
.hero-frame--story {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  aspect-ratio: 5 / 4.6;
  min-height: 260px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface-3);
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-frame--story::before { display: none; }
.hero-frame--story .hero-frame__viewport,
.hero-frame--story .hero-frame__slide {
  border-radius: var(--radius-lg);
  background: var(--surface-3);
}
.hero-frame--story .hero-frame__slide img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}
.hero-frame--story .hero-frame__btn { opacity: .95; }
.hero-frame--story .hero-frame__dots { bottom: 14px; }

/* page hero (inner pages) */
.page-hero {
  color: #E8F4FF; padding-block: clamp(54px, 8vw, 96px); position: relative; overflow: hidden;
  background:
    radial-gradient(110% 120% at 90% 0%, rgba(137,212,255,.22), transparent 55%),
    linear-gradient(150deg, var(--brand-900), var(--brand-700));
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { color: #fff; margin: 16px 0 14px; max-width: 16ch; }
.page-hero p { color: rgba(232,244,255,.85); max-width: 620px; font-size: 1.12rem; }
.breadcrumb { font-size: .85rem; color: rgba(232,244,255,.7); margin-bottom: 6px; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stats-band {
  position: relative; z-index: 3;
  padding-block: 0;
  margin-top: -46px;
}
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat b { font-family: var(--font-head); display: block; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--brand); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; margin-bottom: 18px;
}
.card .ic svg { width: 28px; height: 28px; }
.card.alt .ic { background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: var(--brand-900); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; color: var(--muted); }
.card .num { font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: var(--accent-600); letter-spacing: .1em; }

/* feature media card */
.feature-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); height:100%; display:flex; flex-direction:column; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card img { width:100%; aspect-ratio: 16/10; object-fit: cover; background: var(--surface-3); }
.feature-card .body { padding: 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.feature-card .tag { align-self:flex-start; font-family:var(--font-head); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brand); background:var(--surface-3); padding:5px 11px; border-radius:999px; }
.feature-card h3 { font-size: 1.18rem; }
.feature-card .meta { font-size:.82rem; color:var(--muted); margin-top:auto; }
.feature-card .more { font-family:var(--font-head); font-weight:700; color:var(--brand); font-size:.92rem; display:inline-flex; gap:6px; align-items:center; }

/* ---------- Project cards + carousel ---------- */
.project-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card .body p { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.project-card .tag { align-self: flex-start; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--surface-3); padding: 5px 11px; border-radius: 999px; }
.project-card h3 { font-size: 1.22rem; line-height: 1.3; color: var(--brand-900); }
.project-card .meta { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.projects-grid { align-items: stretch; }

.carousel {
  position: relative; background: var(--surface-3); aspect-ratio: 16 / 10; overflow: hidden;
  touch-action: pan-y; user-select: none; cursor: grab;
  isolation: isolate;
}
.carousel:active { cursor: grabbing; }
.carousel__viewport { position: relative; width: 100%; height: 100%; overflow: hidden; }
.carousel__track {
  display: flex; height: 100%; width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.carousel__slide {
  position: relative; flex: 0 0 100%; width: 100%; height: 100%; margin: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.carousel__slide img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.carousel__btn {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  display: none; place-items: center;
  background: rgba(255,255,255,.88); color: var(--brand-900);
  border: 0; box-shadow: 0 4px 14px rgba(13, 95, 168, .22);
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer; pointer-events: auto; opacity: .85;
}
.carousel--multi .carousel__btn { display: grid; }
.carousel__btn:hover {
  background: #fff; opacity: 1;
  box-shadow: 0 6px 18px rgba(13, 95, 168, .28);
  transform: translateY(-50%) scale(1.08);
}
.carousel__btn:active { transform: translateY(-50%) scale(.94); }
.carousel__btn svg { width: 14px; height: 14px; pointer-events: none; stroke-width: 2.4; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

@media (min-width: 721px) {
  .carousel--multi .carousel__btn {
    width: 34px; height: 34px; opacity: 0;
  }
  .carousel--multi:hover .carousel__btn,
  .carousel--multi:focus-within .carousel__btn { opacity: .95; }
  .carousel__btn:hover { opacity: 1; background: var(--accent); color: var(--brand-900); }
  .carousel__btn svg { width: 15px; height: 15px; }
}

@media (max-width: 720px) {
  .carousel__btn {
    width: 30px; height: 30px; opacity: .9;
  }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
  .carousel__btn svg { width: 13px; height: 13px; }
}
.carousel__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 7px; padding: 0 12px;
}
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  transition: background .2s, transform .2s;
}
.carousel__dot.is-active { background: var(--accent); transform: scale(1.2); border-color: #fff; }
.carousel__count {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  color: #fff; background: rgba(13,95,168,.55); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.split--media-right { direction: ltr; }
.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4.6; object-fit: cover; }
.media-frame::before { content:""; position:absolute; inset:-16px -16px 16px 16px; border:2px solid var(--accent); border-radius: var(--radius-lg); z-index:-1; }
.check-list li { display:flex; gap:12px; align-items:flex-start; padding:9px 0; }
.check-list li svg { width:22px; height:22px; flex:none; color: var(--brand); margin-top:2px; }
.check-list b { font-family: var(--font-head); color: var(--ink); }

/* pillars row */
.pillars { display:grid; grid-template-columns: repeat(4,1fr); gap:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.pillar { padding: 34px 28px; color:#fff; position:relative; }
.pillar:nth-child(1){ background:var(--brand-900);} .pillar:nth-child(2){ background:var(--brand-700);}
.pillar:nth-child(3){ background:var(--brand-600);} .pillar:nth-child(4){ background:var(--brand);}
.pillar .ic { width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.14);margin-bottom:16px;}
.pillar .ic svg{width:26px;height:26px;}
.pillar h3 { color:#fff; font-size:1.3rem; margin-bottom:8px;}
.pillar p { color:rgba(255,255,255,.8); font-size:.95rem;}

/* ---------- CTA banner ---------- */
.cta {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); text-align: center; color:#fff; position:relative; overflow:hidden;
  background: radial-gradient(120% 140% at 80% -20%, rgba(137,212,255,.35), transparent 50%), linear-gradient(135deg, var(--brand-700), var(--brand-600));
}
.cta h2 { color:#fff; }
.cta p { color: rgba(255,255,255,.88); margin: 14px auto 28px; max-width: 600px; }

/* ---------- YouTube band ---------- */
.yt-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.yt-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
}
.yt-band__content { padding-left: 10px; }
.yt-band__content h2 { margin: 12px 0 14px; max-width: 18ch; }
.yt-band__content .lead { margin-bottom: 24px; max-width: 46ch; }
.yt-band__content .btn { display: inline-flex; align-items: center; gap: 10px; }
.yt-band__visual {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 90% at 80% 10%, rgba(137,212,255,.35), transparent 55%),
    linear-gradient(145deg, var(--brand-900), var(--brand-600));
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.yt-band__visual--embed {
  padding: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: var(--brand-900);
}
.yt-band__visual--embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-band__visual:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.yt-band__visual--embed:hover { transform: none; }
.yt-band__play {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--brand-900);
  box-shadow: 0 12px 30px rgba(13,95,168,.28);
  transition: transform .3s var(--ease);
}
.yt-band__visual:hover .yt-band__play { transform: scale(1.06); }
.yt-band__meta {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(13, 95, 168, .45); backdrop-filter: blur(8px);
  font-size: .9rem;
}
.yt-band__meta b { font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; }
.yt-band__meta span { color: rgba(255,255,255,.78); font-size: .82rem; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display:grid; gap: 22px; }
.step { display:flex; gap:20px; align-items:flex-start; }
.step::before { counter-increment:s; content: counter(s); flex:none; width:48px; height:48px; border-radius:50%;
  display:grid; place-items:center; font-family:var(--font-head); font-weight:800; color:#fff; background:var(--brand); }
.step h3 { font-size:1.2rem; margin-bottom:4px; }
.step p { color: var(--muted); }

/* ---------- gallery ---------- */
.masonry { columns: 3; column-gap: 16px; }
.masonry img { width:100%; margin-bottom:16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); cursor:pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); background:var(--surface-3); }
.masonry img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

.lightbox { position:fixed; inset:0; background:rgba(13,95,168,.92); z-index:300; display:none; place-items:center; padding:24px; }
.lightbox.open { display:grid; }
.lightbox img { max-width:92vw; max-height:88vh; border-radius:var(--radius-sm); box-shadow:var(--shadow-lg); }
.lightbox button { position:absolute; top:24px; right:24px; width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,.15); color:#fff; display:grid; place-items:center; }
.lightbox button svg { width:26px; height:26px; }

/* ---------- forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding: clamp(28px,4vw,44px); box-shadow:var(--shadow-md); }
.field { margin-bottom:18px; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:7px; }
.field input, .field textarea, .field select {
  width:100%; padding:13px 15px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  font: inherit; color:var(--ink); background:var(--surface-2); transition:border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color:var(--brand); background:#fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note { font-size:.85rem; color:var(--muted); margin-top:6px; }
.form-status { padding:13px 16px; border-radius:var(--radius-sm); font-size:.92rem; margin-bottom:18px; display:none; }
.form-status.show { display:block; }
.form-status.ok { background:#E8F4FF; color:#1A82D8; border:1px solid #B8DBF5; }
.form-status.err { background:#fdecea; color:#a33121; border:1px solid #f3c9c1; }

.info-list { display:grid; gap:20px; }
.info-item { display:flex; gap:16px; align-items:flex-start; }
.info-item .ic { width:48px;height:48px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--surface-3);color:var(--brand);}
.info-item .ic svg{width:24px;height:24px;}
.info-item b { font-family:var(--font-head); color:var(--ink); display:block; }
.info-item a, .info-item span { color:var(--muted); }
.info-item a:hover { color:var(--brand); }

/* ---------- Leadership messages (Chairman / Secretary General) ---------- */
.sg-message {
  padding: clamp(24px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--brand);
}
.sg-message__layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(22px, 3.5vw, 40px);
  align-items: start;
}
.sg-message__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-3);
  aspect-ratio: 4 / 5;
}
.sg-message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sg-message .section-head { margin-bottom: 16px; }
.sg-message__body { max-width: none; }
.sg-message__body p { color: var(--ink); margin-bottom: 16px; }
.sg-message__body p:last-child { margin-bottom: 0; }
.sg-message__body.is-collapsed p:not(:first-child) { display: none; }
.sg-message__more { margin-top: 14px; }
.sg-message__sign {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}
.sg-message__sign strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--brand-900);
}
.sg-message__sign span {
  color: var(--muted);
  font-size: .95rem;
}
@media (max-width: 720px) {
  .sg-message__layout { grid-template-columns: 1fr; }
  .sg-message__photo {
    max-width: 240px;
    margin-inline: auto;
  }
}

/* ---------- prose (WP content) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size:1.7rem; margin: 32px 0 12px; }
.prose h3 { margin: 26px 0 10px; }
.prose p, .prose li { margin-bottom: 14px; line-height:1.75; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom:16px; }
.prose img { border-radius: var(--radius); margin: 18px 0; }
.prose a { color: var(--brand); text-decoration: underline; }

/* ---------- skeleton / loading ---------- */
.skeleton { position:relative; overflow:hidden; background:var(--surface-3); border-radius:var(--radius); min-height:120px; }
.skeleton::after { content:""; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation:shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform:translateX(100%); } }
.empty-note { color:var(--muted); text-align:center; padding:30px; grid-column:1/-1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-900); color: #A8C8E8; padding-block: 60px 28px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color:#fff; font-size:1rem; margin-bottom:16px; letter-spacing:.02em; }
.site-footer a { color:#A8C8E8; transition:color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-brand img { height:48px; margin-bottom:16px; filter: brightness(0) invert(1); }
.footer-brand p { color:#8AB5D8; font-size:.95rem; max-width:300px; }
.foot-links li { margin-bottom:10px; font-size:.95rem; }
.social { display:flex; gap:10px; margin-top:8px; }
.social a { width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);}
.social a:hover { background:var(--accent); color:var(--brand-900); }
.social svg { width:20px;height:20px; }
.foot-news input { width:100%; padding:12px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:#fff; margin-bottom:10px; }
.foot-news input::placeholder { color:#6A9BBF; }
.foot-bottom { margin-top:46px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color:#7AACC8; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s; } .reveal[data-d="2"]{ transition-delay:.16s; }
.reveal[data-d="3"]{ transition-delay:.24s; } .reveal[data-d="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { gap: 10px; }
  .hero-brand { max-width: 100%; align-items: flex-start; gap: 12px; }
  .hero-brand__logo {
    width: 28%; max-width: 28%; min-width: 56px;
    border-radius: 50%; padding: 5px;
  }
  .hero-brand__abbr { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-brand__full { font-size: .88rem; max-width: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 24px;
    row-gap: 24px;
    padding: clamp(32px, 6vw, 48px) var(--gutter);
    align-items: stretch;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 2;
    background: transparent;
  }
  .hero-frame {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    max-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-frame::before { display: none; }
  .hero-frame--story {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 5 / 4.6;
    max-height: none;
    min-height: 220px;
    border-radius: var(--radius-lg);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-frame--story::before { display: none; }
  .hero-tagline {
    grid-column: 1;
    grid-row: 3;
    margin-left: 0;
    margin-top: 10px;
    max-width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero-frame__btn--prev { left: 12px; right: auto; }
  .hero-frame__btn--next { left: auto; right: 12px; }
  .hero-frame__dots { justify-content: center; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { height: 64px; gap: 8px; }
  .brand img { height: 38px; }
  .brand__txt b { font-size: 1rem; }
  .nav-cta { gap: 8px; margin-left: 0; }
  .nav-cta .lang-switch { display: none; }
  .nav-toggle { width: 44px; height: 44px; }
  .grid-2, .grid-3, .grid-4, .split, .stats, .form-row, .yt-band { grid-template-columns: 1fr; }
  .stats { display:grid; }
  .pillars { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction:column; }
}
