@import url('/assets/fonts.css');

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --green: #0a6a2f;
  --green-deep: #064a20;
  --green-ink: #03301a;
  --green-soft: #e6f2ea;
  --purple: #6b3fa0;
  --purple-deep: #4d2a78;
  --purple-soft: #efe8f8;
  --gold: #b8892f;
  --gold-bright: #d4ad5a;
  --gold-soft: #f7efdc;
  --ink: #14212b;
  --ink-2: #2b3a46;
  --muted: #5f6f7b;
  --line: #e3e9e6;
  --paper: #ffffff;
  --cream: #f7f8f7;
  --cream-2: #f1f4f2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px rgba(10, 40, 25, 0.08);
  --shadow-sm: 0 6px 18px rgba(10, 40, 25, 0.06);
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.narrow { max-width: 820px; margin-inline: auto; }
.center { text-align: center; }
.center-text { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-arrow { transition: transform .3s var(--ease); }
a:hover .icon-arrow, .btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] a:hover .icon-arrow, [dir="rtl"] .btn:hover .icon-arrow { transform: translateX(-3px); }

.skip-link { position: absolute; top: -60px; inset-inline-start: 16px; background: var(--gold); color: var(--green-ink); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ─── Typography helpers ────────────────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker-gold { color: var(--gold-bright); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.lead.center { margin-inline: auto; }
.section-head { max-width: 760px; margin: 0 0 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.sub-title { margin-top: 34px; }
.prose p { font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; box-shadow: 0 10px 24px rgba(10, 106, 47, .25); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(10, 106, 47, .35); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--green-ink); box-shadow: 0 10px 24px rgba(184, 137, 47, .3); }
.btn-gold:hover { box-shadow: 0 14px 32px rgba(184, 137, 47, .4); }
.btn-outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--green-soft); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn-whatsapp { background: #25d366; color: #063; }
.btn-whatsapp:hover { background: #1fc15a; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--ink); }
.icon-btn:hover { background: var(--line); }

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(10, 40, 25, .08); }
.topbar { background: var(--green-ink); color: rgba(255, 255, 255, .88); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-contact a, .topbar-contact span, .lang-switch { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: var(--gold-bright); }
.topbar-hours { opacity: .8; }
.lang-switch { font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); }
.lang-switch:hover { background: rgba(255, 255, 255, .1); color: var(--gold-bright); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: auto; height: 62px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li > a, .nav-more summary { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 10px; font-weight: 500; font-size: .97rem; color: var(--ink-2); position: relative; transition: color .2s, background .2s; list-style: none; cursor: pointer; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary .icon { width: .9em; height: .9em; transition: transform .25s; }
.nav-more[open] summary .icon { transform: rotate(45deg); }
.main-nav > ul > li > a:hover, .nav-more summary:hover { color: var(--green); background: var(--green-soft); }
.main-nav > ul > li > a[aria-current="page"] { color: var(--green); font-weight: 600; }
.main-nav > ul > li > a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 13px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-more { position: relative; }
.nav-more > ul { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 50; }
.nav-more > ul a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); }
.nav-more > ul a:hover, .nav-more > ul a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-only { display: none; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); place-items: center; background: #fff; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ─── Hero (home) ───────────────────────────────────────────────────────── */
.hero, .page-hero, .why-section, .cta-band, .side-card-dark { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 90% at 85% 10%, rgba(107, 63, 160, .55) 0%, transparent 55%), radial-gradient(90% 80% at 10% 100%, rgba(10, 106, 47, .55) 0%, transparent 55%), linear-gradient(160deg, #052d1a 0%, #03301a 45%, #1c1033 100%); }
.hero h1, .page-hero h1, .why-section h2, .cta-band h2, .side-card-dark h3 { color: #fff; }
.hero .lead, .page-hero .lead, .why-section .lead, .cta-band p { color: rgba(255, 255, 255, .84); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; pointer-events: none; }
.orb-a { width: 520px; height: 520px; background: var(--purple); top: -200px; inset-inline-end: -120px; }
.orb-b { width: 420px; height: 420px; background: var(--green); bottom: -220px; inset-inline-start: -100px; }
.orb-c { width: 480px; height: 480px; background: var(--purple-deep); top: -180px; inset-inline-start: 30%; }
.hero::before, .page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%); z-index: -1; }
.hero-curve { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 55%; opacity: .5; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.hero-copy h1 { margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-motto { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 28px; padding: 10px 18px; border-radius: 999px; background: rgba(212, 173, 90, .14); border: 1px solid rgba(212, 173, 90, .45); color: var(--gold-bright); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }
.hero-panel { display: flex; justify-content: center; }
.hero-card { width: min(100%, 420px); padding: 34px 30px; border-radius: 26px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .5) inset; transform: rotate(-1.5deg); animation: float 7s ease-in-out infinite; }
[dir="rtl"] .hero-card { transform: rotate(1.5deg); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-card img { width: 220px; margin: 0 auto 18px; }
.hero-card-title { font-weight: 600; font-size: 1.12rem; text-align: center; color: var(--green-deep); margin-bottom: 6px; }
.hero-card-text { text-align: center; color: var(--muted); font-size: .95rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); text-align: center; }
.hero-stats strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--purple); font-weight: 600; }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.chip-static { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; }
.chip-gold { background: rgba(212, 173, 90, .16); border-color: rgba(212, 173, 90, .5); color: var(--gold-bright); }

/* ─── Marquee ───────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; background: var(--gold); color: var(--green-ink); font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 12px 0; animation: marquee 90s linear infinite; }
.marquee-track i { font-style: normal; opacity: .5; font-size: .6rem; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ─── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.page-hero .container { padding: 64px 0 72px; }
.page-hero h1 { max-width: 20ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.crumbs li + li::before { content: '/'; margin-inline-end: 8px; opacity: .5; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs [aria-current] { color: #fff; }

.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.intro-grid p { color: var(--ink-2); font-size: 1.05rem; }
.intro-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro-tile { display: flex; flex-direction: column; gap: 14px; padding: 28px 22px; border-radius: var(--radius); color: #fff; min-height: 170px; justify-content: flex-end; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.intro-tile:hover { transform: translateY(-4px); }
.intro-tile .icon { width: 34px; height: 34px; }
.intro-tile-a { background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.intro-tile-b { background: linear-gradient(145deg, var(--purple), var(--purple-deep)); translate: 0 26px; }
.intro-tile-c { background: linear-gradient(145deg, var(--gold-bright), var(--gold)); color: var(--green-ink); }
.intro-tile-d { background: linear-gradient(145deg, #1a3b4d, #0d2230); translate: 0 26px; }

.model-section { background: var(--cream); }
.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; counter-reset: flow; }
.flow li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); position: relative; }
.flow-index { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--purple)); color: #fff; font-size: .8rem; font-weight: 600; }
.flow-label { font-weight: 500; }
.flow-model li { padding-inline-end: 22px; }
.flow-model li:not(:last-child)::after { content: '→'; color: var(--gold); font-weight: 600; margin-inline-start: 8px; }
[dir="rtl"] .flow-model li:not(:last-child)::after { content: '←'; }
.flow-vertical { flex-direction: column; align-items: stretch; }
.flow-vertical li { border-radius: 14px; }
.model-section .lead { margin-top: 30px; }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.offer-card::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(var(--gold-bright), var(--purple)); }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.offer-num { font-size: 2rem; font-weight: 600; color: var(--line); letter-spacing: -0.03em; }
.offer-icon, .dept-icon, .audience-icon, .role-icon, .resp-icon, .side-icon, .cat-icon, .idea-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.offer-icon .icon, .dept-icon .icon, .audience-icon .icon, .role-icon .icon, .resp-icon .icon, .side-icon .icon, .cat-icon .icon, .idea-icon .icon { width: 26px; height: 26px; }
.offer-card p { color: var(--muted); font-size: .95rem; }

.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--gold); background: var(--gold-soft); border-radius: 50%; padding: 3px; }
.check-list.compact { gap: 6px; font-size: .93rem; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.check-list.light { color: rgba(255, 255, 255, .9); }
.check-list.light .icon { background: rgba(212, 173, 90, .18); color: var(--gold-bright); }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 36px; }
.cat-tile { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-name { font-weight: 600; }
.cat-count { font-size: .82rem; color: var(--muted); }

.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.dept-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(107, 63, 160, .35); }
.dept-card h3 { font-size: 1.06rem; margin: 0; }
.dept-card h3 a::after { content: ''; position: absolute; inset: 0; }
.dept-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dept-cat { font-size: .76rem; font-weight: 600; color: var(--purple); background: var(--purple-soft); padding: 4px 10px; border-radius: 999px; }
.dept-spec { color: var(--muted); font-size: .92rem; margin: 0; }
.dept-services { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-2); padding-inline-start: 14px; list-style: disc; }
.dept-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: .92rem; }
.dept-card.is-hidden, .dept-group.is-hidden { display: none; }
.dept-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 36px; padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); position: sticky; top: 92px; z-index: 20; }
.search-box { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-width: 0; max-width: 100%; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.search-box input { flex: 1; width: 100%; border: 0; outline: 0; background: transparent; min-width: 0; color: var(--ink); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.dept-count { margin: 0; color: var(--muted); font-size: .9rem; margin-inline-start: auto; }
.dept-group { margin-bottom: 20px; }
.dept-group-title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; padding-top: 10px; }
.dept-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.includes-grid li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.includes-grid span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: .85rem; font-weight: 600; }
.includes-section { background: var(--cream); }

/* Department page */
.dept-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.dept-block { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.dept-block h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.dept-block h2::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.service-list { display: grid; gap: 12px; }
.service-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--cream); border-radius: 12px; }
.service-list span { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--green), var(--purple)); color: #fff; font-size: .8rem; font-weight: 600; }
.service-list p { margin: 4px 0 0; font-weight: 500; }
.dept-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.side-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card h3 { margin-bottom: 8px; }
.side-card-dark { border: 0; }
.side-card-dark p { color: rgba(255, 255, 255, .82); }
.side-card-dark .side-icon { background: rgba(255, 255, 255, .12); color: var(--gold-bright); margin-bottom: 14px; }
.contact-list { display: grid; gap: 10px; margin: 14px 0 18px; }
.contact-list a, .contact-list > li > span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.contact-list a:hover { color: var(--green); }
.contact-list .icon { color: var(--green); }
.related-section { background: var(--cream); }

/* Audience / values / roles / topics */
.audience-grid, .values-grid, .topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card, .value-card, .topic-card, .role-card { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.audience-card:hover, .value-card:hover, .topic-card:hover, .role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.audience-card p, .value-card p, .role-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.audience-icon { margin-bottom: 16px; background: var(--purple-soft); color: var(--purple); }
.value-card > .icon, .topic-card > .icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.values-grid { grid-template-columns: repeat(4, 1fr); }
.values-section { background: var(--cream); }
.topics-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 30px; }
.topic-card h3 { margin: 0; font-size: 1.05rem; }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { border-top: 4px solid var(--gold); }
.role-card h2 { font-size: 1.3rem; }
.role-icon { margin-bottom: 16px; }
.resp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.resp-card { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.resp-card h2 { font-size: 1.45rem; }
.resp-card-accent { background: linear-gradient(160deg, var(--green-soft), #fff); border-color: rgba(10, 106, 47, .2); }
.resp-icon { margin-bottom: 16px; background: var(--purple-soft); color: var(--purple); }
.num-list { display: grid; gap: 10px; counter-reset: num; }
.num-list li { counter-increment: num; display: flex; gap: 12px; align-items: flex-start; }
.num-list li::before { content: counter(num, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); font-weight: 600; font-size: .8rem; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--purple-soft); color: var(--purple-deep); font-size: .93rem; }
.notice.center { justify-content: center; text-align: center; }
.notice .icon { margin-top: 3px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: tl; position: relative; }
.timeline-item { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.timeline-num { position: absolute; top: -16px; inset-inline-start: 22px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--purple)); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .05em; }
.timeline-body h3 { margin-top: 8px; }
.timeline-body p { color: var(--muted); margin: 0; }
.journey-section .center { margin-top: 36px; }

/* Why section */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-grid .btn { margin-top: 14px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.idea-card { position: sticky; top: 110px; padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, var(--gold-soft), #fff); border: 1px solid rgba(184, 137, 47, .3); }
.idea-icon { background: var(--gold-soft); color: var(--gold); margin-bottom: 16px; }
.idea-card h2 { font-size: 1.35rem; }
.vm-section { background: var(--cream); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { padding: 40px 34px; border-radius: var(--radius); color: #fff; }
.vm-card h2 { color: #fff; font-size: 1.5rem; }
.vm-card p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.05rem; }
.vm-card > .icon { width: 38px; height: 38px; color: var(--gold-bright); margin-bottom: 16px; }
.vm-vision { background: linear-gradient(150deg, var(--green), var(--green-ink)); }
.vm-mission { background: linear-gradient(150deg, var(--purple), var(--purple-deep)); }
.goals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.goals-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.goals-grid span { flex: none; font-weight: 600; color: var(--gold); font-size: 1.1rem; }
.goals-grid p { margin: 0; font-weight: 500; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--gold); transition: transform .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--ink-2); }
.faq-body p { margin: 0; }
.faq-section .center { margin-top: 30px; }

/* CTA band */
.cta-band { padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Forms */
.form-section { background: var(--cream); }
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.form-intro h2 { font-size: 1.7rem; }
.form-card { padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form { display: grid; gap: 18px; margin-top: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.field label small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 106, 47, .12); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); font-weight: 400; }
.consent input { margin-top: 5px; accent-color: var(--green); }
.consent a { color: var(--green); text-decoration: underline; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-submit-status { margin: 0; font-size: .92rem; color: var(--muted); }
.form-submit-status.is-success { color: var(--green); font-weight: 500; }
.form-submit-status.is-error { color: #c0392b; font-weight: 500; }
.form-note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.contact-cards { display: grid; gap: 12px; margin: 18px 0 28px; }
.contact-cards li, .contact-cards a { display: flex; align-items: center; gap: 14px; }
.contact-cards li { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-cards .icon { width: 26px; height: 26px; color: var(--purple); }
.contact-cards strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-cards span { font-weight: 500; }
.contact-cards a:hover span { color: var(--green); }

/* Dialog */
.dialog { width: min(92vw, 560px); border: 0; border-radius: 22px; padding: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink); }
.dialog::backdrop { background: rgba(3, 48, 26, .6); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dialog-head h2 { margin: 0; font-size: 1.4rem; }
.preview-fields { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0; padding: 16px; border-radius: 12px; background: var(--cream); font-size: .93rem; max-height: 40vh; overflow: auto; }
.preview-fields dt { color: var(--muted); }
.preview-fields dd { margin: 0; font-weight: 500; word-break: break-word; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Status pages */
.status-section { min-height: 60vh; display: grid; place-items: center; }
.status-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 20px; }
.status-icon .icon { width: 40px; height: 40px; }
.reference { padding: 12px 18px; border-radius: 12px; background: var(--gold-soft); display: inline-block; }
.reference code { font-family: ui-monospace, Menlo, Consolas, monospace; }

/* Footer */
.site-footer { background: var(--green-ink); color: rgba(255, 255, 255, .82); padding-top: 70px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 200px; height: auto; margin-bottom: 18px; background: #fff; padding: 12px 16px; border-radius: 14px; }
.footer-brand p { font-size: .95rem; }
.footer-contact { display: grid; gap: 8px; margin-top: 16px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase; }
.footer-col h3::after { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 8px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 90px; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0; }
.footer-tag { color: var(--gold-bright); }

/* Floating */
.floating-contact { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; display: grid; justify-items: end; gap: 12px; }
[dir="rtl"] .floating-contact { justify-items: start; }
.wa-toggle { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .3s var(--ease); }
.wa-toggle:hover { transform: scale(1.06); }
.wa-toggle .icon { width: 30px; height: 30px; }
.wa-panel { width: min(88vw, 320px); padding: 20px; border-radius: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wa-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wa-panel p { font-size: .92rem; color: var(--muted); }
.back-top { position: fixed; bottom: 92px; inset-inline-end: 29px; z-index: 89; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-ink); color: #fff; box-shadow: var(--shadow); }
.back-top .icon { width: 20px; height: 20px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .offer-grid, .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid, .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; }
  .hero-card { transform: none; }
}
@media (max-width: 960px) {
  .topbar-contact .topbar-hours { display: none; }
  .navbar-inner { min-height: 72px; }
  .brand img { height: 52px; }
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 16px 20px; max-height: calc(100vh - 120px); overflow: auto; display: none; }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { display: flex; padding: 12px 14px; font-size: 1rem; }
  .main-nav > ul > li > a[aria-current="page"]::after { display: none; }
  .nav-more-item { display: none; }
  .mobile-only { display: flex; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-actions .btn { width: 100%; }
  .nav-actions .lang-switch { justify-content: center; color: var(--ink); border-color: var(--line); padding: 10px; }
  .intro-grid, .why-grid, .about-grid, .dept-layout, .form-layout, .resp-grid, .vm-grid { grid-template-columns: 1fr; }
  .intro-tile-b, .intro-tile-d { translate: 0 0; }
  .idea-card, .dept-side { position: static; }
  .timeline, .roles-grid, .audience-grid, .goals-grid, .includes-grid { grid-template-columns: 1fr 1fr; }
  .dept-toolbar { position: static; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 90px; }
  .topbar-contact { gap: 12px; }
  .topbar-contact a span { display: none; }
  .topbar-contact a .icon { width: 18px; height: 18px; }
  .brand img { height: 46px; }
  .hero-inner { padding: 48px 0 64px; gap: 36px; }
  .hero-card { padding: 26px 20px; }
  .hero-stats strong { font-size: 1.5rem; }
  .page-hero .container { padding: 44px 0 52px; }
  .section { padding: 54px 0; }
  .offer-grid, .dept-grid, .cat-grid, .values-grid, .topics-grid, .timeline, .roles-grid, .audience-grid, .goals-grid, .includes-grid, .grid-2, .intro-visual, .footer-grid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .form-card, .resp-card, .dialog { padding: 22px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .hero-actions .btn, .cta-actions .btn, .dialog-actions .btn { width: 100%; }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
  .flow li { width: 100%; }
  .flow-model li::after { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 100px; }
  .floating-contact { bottom: 16px; inset-inline-end: 16px; }
  .back-top { bottom: 84px; inset-inline-end: 23px; }
  .dept-count { margin-inline-start: 0; }
}

@media print {
  .site-header, .site-footer, .floating-contact, .back-top, .marquee, .cta-band { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero h1, .page-hero h1 { color: #000; }
}
