/* =====================================================
   ICABER'2025 — styled after Ahlia DRSF
   Palette: accent #6D28D9 (deep violet, calming) · primary #557088 · gray #7A7A7A
   Fonts: Roboto (body) · Roboto Slab (headings)
   ===================================================== */

:root {
  --accent: #6D28D9;
  --accent-dark: #4C1D95;
  --primary: #557088;
  --primary-dark: #3f5468;
  --gray: #7A7A7A;
  --ink: #1c1f22;
  --muted: #5b6168;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --bg-dark: #212121;
  --bg-darker: #161616;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(28, 31, 34, .06);
  --shadow-md: 0 14px 40px rgba(28, 31, 34, .12);
  --container: 1180px;
  --ff-body: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-head: "Roboto Slab", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(109,40,217,.3); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; gap: .4rem; }
.topbar__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__contact a, .topbar__hours { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar__contact a:hover { color: #fff; }
.topbar__social { display: flex; gap: .8rem; }
.topbar__social a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); transition: background .2s; }
.topbar__social a:hover { background: var(--accent); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(28,31,34,.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__logo--footer { height: 56px; }
.brand__divider { width: 1px; height: 38px; background: var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--ff-head); font-size: 1.18rem; color: var(--ink); }
.brand__year { color: var(--accent); }
.brand__text small { font-size: .72rem; color: var(--gray); letter-spacing: .03em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.45rem; }
.nav__list a {
  font-weight: 500; font-size: .94rem; color: var(--ink);
  padding: .35rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.nav__list a:hover { color: var(--accent); }
.nav__list a:hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.25rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22,22,22,.9), rgba(63,84,104,.78)),
    radial-gradient(circle at 80% 15%, rgba(109,40,217,.5), transparent 55%),
    url("/images/hero-bg.jpg") center/cover no-repeat,
    #1a2228;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px),
    linear-gradient(180deg, transparent 60%, rgba(22,22,22,.55));
  opacity: .9;
}
.hero__inner { position: relative; padding: 6.5rem 24px 5rem; text-align: center; max-width: 920px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: .45rem 1.1rem; border-radius: 50px; font-size: .85rem;
  letter-spacing: .03em; margin-bottom: 1.6rem;
}
.hero__eyebrow i { color: var(--accent); }
.hero__title {
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.08; margin-bottom: 1.3rem;
}
.hero__title span { color: #fff; position: relative; display: inline-block; }
.hero__title span::after {
  content: ""; position: absolute; left: 0; bottom: .08em; width: 100%; height: .18em;
  background: var(--accent); z-index: -1; opacity: .9;
}
.hero__lead { font-size: clamp(1rem, 2vw, 1.18rem); color: rgba(255,255,255,.88); max-width: 720px; margin: 0 auto 1.8rem; }
.hero__date {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.15rem;
  padding: .6rem 1.4rem; border: 2px solid rgba(255,255,255,.3); border-radius: var(--radius);
  margin-bottom: 2rem;
}
.hero__date i { color: var(--accent); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

/* Countdown */
.countdown { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.countdown__item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 1rem 1.3rem; min-width: 90px;
  backdrop-filter: blur(4px);
}
.countdown__item span { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 2rem; line-height: 1; }
.countdown__item small { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Generic section ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section__title {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--ink); line-height: 1.2;
}
.section__title--light { color: #fff; }
.section__sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(255,255,255,.75); }

.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .7rem;
}
.eyebrow--light { color: #ff8a9c; }

/* ---------- Features ---------- */
.features { margin-top: -3.5rem; position: relative; z-index: 5; }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.feature {
  background: #fff; border-radius: var(--radius); padding: 2.2rem 1.6rem;
  box-shadow: var(--shadow-md); text-align: center; border-top: 4px solid var(--accent);
  transition: transform .25s;
}
.feature:hover { transform: translateY(-6px); }
.feature__icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; display: grid; place-items: center;
  border-radius: 50%; background: rgba(109,40,217,.08); color: var(--accent); font-size: 1.6rem;
}
.feature h3 { font-family: var(--ff-head); font-size: 1.18rem; margin-bottom: .6rem; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 1.1rem; }
.checklist { margin-top: 1.4rem; display: grid; gap: .8rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); font-weight: 500; }
.checklist i { color: var(--accent); margin-top: .25rem; }

.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm);
}
.section--alt .stat, .about .stat { background: #fff; }
.stat__num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 2.6rem; color: var(--primary); line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { display: block; margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* ---------- Objectives ---------- */
.objectives__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.objcard {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary); position: relative;
  transition: border-color .2s, transform .2s;
}
.objcard:hover { border-left-color: var(--accent); transform: translateY(-4px); }
.objcard__no { font-family: var(--ff-head); font-weight: 800; font-size: 2.2rem; color: rgba(85,112,136,.25); display: block; margin-bottom: .5rem; }
.objcard p { color: var(--muted); }

/* ---------- Tracks ---------- */
.tracks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.track {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 1.6rem;
  text-align: center; transition: all .25s; background: #fff;
}
.track:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.track__icon {
  width: 70px; height: 70px; margin: 0 auto 1.2rem; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--primary); color: #fff; font-size: 1.7rem;
  transition: background .25s;
}
.track:hover .track__icon { background: var(--accent); }
.track h3 { font-family: var(--ff-head); font-size: 1.18rem; margin-bottom: .55rem; }
.track p { color: var(--muted); font-size: .92rem; }

/* ---------- Speakers ---------- */
.speakers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.speaker {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 0 0 1.5rem; text-align: center;
  overflow: hidden; transition: all .25s;
}
.speaker:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.speaker__photo {
  aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.2rem; position: relative;
  background: linear-gradient(135deg, var(--primary-dark), #1a2228);
}
.speaker__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,22,22,.5));
}
.speaker__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .4s ease;
}
.speaker:hover .speaker__photo img { transform: scale(1.05); }
.speaker h3 { font-family: var(--ff-head); font-size: 1.08rem; margin-bottom: .35rem; padding: 0 1rem; }
.speaker__role { color: rgba(255,255,255,.7); font-size: .85rem; padding: 0 1rem; }

/* ---------- Important dates / timeline ---------- */
.dates__timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 8px; }
.dates__timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line);
}
.milestone { display: flex; gap: 1.4rem; padding: .9rem 0; position: relative; }
.milestone__dot {
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 3px solid var(--primary); flex-shrink: 0; margin-top: .35rem; z-index: 1;
}
.milestone--final .milestone__dot { border-color: var(--accent); background: var(--accent); }
.milestone__body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.4rem; flex: 1; box-shadow: var(--shadow-sm);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.milestone--final .milestone__body { background: var(--accent); color: #fff; border-color: var(--accent); }
.milestone__body h4 { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600; }
.milestone__date { font-weight: 600; color: var(--primary); font-size: .95rem; }
.milestone--final .milestone__date { color: #fff; }

/* ---------- Fees / pricing ---------- */
.fees__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem;
  text-align: center; background: #fff; position: relative; display: flex; flex-direction: column;
  transition: all .25s;
}
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 50px;
}
.plan__head h3 { font-family: var(--ff-head); font-size: 1.3rem; }
.plan__head p { color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.plan__price { font-family: var(--ff-head); font-weight: 800; font-size: 3rem; color: var(--accent); margin: 1.2rem 0; line-height: 1; }
.plan__price span { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.plan__list { text-align: left; display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.plan__list i { color: var(--primary); margin-top: .25rem; }
.plan__cta { width: 100%; margin-top: auto; }

/* ---------- Publication ---------- */
.publication__inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.publication__icon {
  width: 110px; height: 110px; flex-shrink: 0; border-radius: var(--radius);
  display: grid; place-items: center; font-size: 3rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.publication__text { flex: 1; min-width: 280px; }
.publication__text p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; }

/* ---------- Venue ---------- */
.venue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.venue__text p { color: var(--muted); }
.venue__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 360px; }
.venue__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.quote {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 1.8rem 1.9rem; position: relative;
}
.quote i { color: var(--accent); font-size: 1.4rem; opacity: .8; margin-bottom: .6rem; }
.quote p { font-size: 1.05rem; color: rgba(255,255,255,.92); font-style: italic; }
.quote footer { margin-top: 1rem; font-weight: 600; color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
.contact__list { margin-top: 2rem; display: grid; gap: 1.3rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius);
  display: grid; place-items: center; background: rgba(85,112,136,.12); color: var(--primary); font-size: 1.05rem;
}
.contact__list strong { font-family: var(--ff-head); }
.contact__list a:hover { color: var(--accent); }

.contact__form {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem; display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  font-family: var(--ff-body); font-size: .95rem; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(85,112,136,.15);
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-darker); color: rgba(255,255,255,.72); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem;
  padding: 4rem 24px 3rem;
}
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.55); }
.footer__brand p { margin: 1.2rem 0 1.4rem; font-size: .92rem; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s; }
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__col h4 { font-family: var(--ff-head); color: #fff; margin-bottom: 1.1rem; font-size: 1.1rem; }
.footer__col ul { display: grid; gap: .65rem; }
.footer__col ul a { font-size: .92rem; transition: color .2s; }
.footer__col ul a:hover { color: #fff; padding-left: 4px; }
.footer__newsletter p { font-size: .92rem; margin-bottom: 1rem; }
.newsletter { display: flex; gap: .5rem; }
.newsletter input {
  flex: 1; padding: .7rem .9rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: #fff; font-family: var(--ff-body);
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter .btn { padding: .7rem 1rem; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; }
.footer__legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features__grid, .tracks__grid, .speakers__grid, .fees__grid { grid-template-columns: repeat(2, 1fr); }
  .objectives__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.5rem; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .3s ease; z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 1.1rem; width: 100%; }
  .nav__cta { width: 100%; }
  .nav__toggle { display: flex; z-index: 95; }
  .about__grid, .venue__grid, .contact__grid, .publication__inner { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .features { margin-top: 2rem; }
  .features__grid, .tracks__grid, .speakers__grid, .fees__grid,
  .objectives__grid, .about__stats, .footer__grid { grid-template-columns: 1fr; }
  .topbar__hours { display: none; }
  .countdown__item { min-width: 72px; padding: .8rem .9rem; }
  .countdown__item span { font-size: 1.5rem; }
  .hero__inner { padding: 4.5rem 24px 3.5rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* =====================================================
   Hero video (London)
   ===================================================== */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::before { z-index: 1; }
.hero__inner { z-index: 2; }
.lang-switch { display: inline-flex; gap: .5rem; align-items: center; }
.lang-switch a { color: rgba(255,255,255,.85); font-weight: 600; font-size: .82rem; padding: 0 .3rem; }
.lang-switch a.is-active { color: #fff; text-decoration: underline; }
.lang-switch a:hover { color: #fff; }

/* Inner page header band */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), #1a2228);
  color: #fff; padding: 3.5rem 0; text-align: center;
}
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero .crumbs { margin-top: .6rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2, .prose h3 { font-family: var(--ff-head); margin: 1.4rem 0 .7rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; color: var(--muted); margin-bottom: 1rem; }

/* =====================================================
   Arabic / RTL
   ===================================================== */
html[dir="rtl"] body { font-family: "Cairo", "Tajawal", "Roboto", system-ui, sans-serif; }
html[dir="rtl"] .objcard { border-left: 0; border-right: 4px solid var(--primary); }
html[dir="rtl"] .objcard:hover { border-right-color: var(--accent); }
html[dir="rtl"] .quote { border-left: 0; border-right: 4px solid var(--accent); }
html[dir="rtl"] .plan__price span { margin-right: 0; margin-left: 2px; }
html[dir="rtl"] .plan__list, html[dir="rtl"] .field { text-align: right; }
html[dir="rtl"] .footer__col ul a:hover { padding-left: 0; padding-right: 4px; }
html[dir="rtl"] .dates__timeline { padding-left: 0; padding-right: 8px; }
html[dir="rtl"] .dates__timeline::before { left: auto; right: 7px; }
html[dir="rtl"] .nav__list a::after { left: auto; right: 0; }
html[dir="rtl"] .prose ul { padding-left: 0; padding-right: 1.4rem; }
@media (max-width: 860px) {
  html[dir="rtl"] .nav { inset: 0 auto 0 0; transform: translateX(-100%); box-shadow: 10px 0 40px rgba(0,0,0,.15); }
  html[dir="rtl"] .nav.is-open { transform: translateX(0); }
}

/* =====================================================
   Customizations: bigger logo + video legibility overlay
   ===================================================== */
.brand__logo { height: 60px; }
.brand__logo--footer { height: 84px; }
.header__inner { min-height: 92px; }
.brand__text strong { font-size: 1.34rem; }

/* Lighter overlay above the hero video — keeps text legible while letting
   the London aerial footage show through clearly. */
.hero::before {
  background:
    linear-gradient(135deg, rgba(22,22,22,.40), rgba(33,45,55,.25)),
    radial-gradient(circle at 80% 15%, rgba(109,40,217,.22), transparent 55%),
    linear-gradient(180deg, transparent 62%, rgba(22,22,22,.55));
  opacity: 1;
  z-index: 1;
}
@media (max-width: 560px) { .brand__logo { height: 48px; } }

/* =====================================================
   Dropdown navigation
   ===================================================== */
.nav__list li.has-dropdown { position: relative; }
.nav__list li.has-dropdown > a .caret { font-size: .7rem; margin-inline-start: .35rem; transition: transform .2s; }
.nav__dropdown {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 120; list-style: none;
}
.nav__list li.has-dropdown:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list li.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.nav__dropdown li { width: 100%; }
.nav__dropdown a {
  display: block; padding: .6rem 1.3rem; font-size: .9rem; font-weight: 500;
  white-space: nowrap; color: var(--ink);
}
.nav__dropdown a::after { display: none; }
.nav__dropdown a:hover { background: var(--bg-alt); color: var(--accent); }

@media (max-width: 860px) {
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-inline-start: 2px solid var(--line);
    border-radius: 0; padding: .3rem 0 .3rem .8rem; margin-top: .4rem; min-width: 0;
  }
  .nav__list li.has-dropdown > a .caret { display: none; }
  .nav__dropdown a { padding: .45rem .4rem; }
}

/* =====================================================
   FAQ accordion
   ===================================================== */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: #fff; }
.faq-item summary {
  padding: 1.1rem 1.4rem; font-family: var(--ff-head); font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* =====================================================
   Scope & Tracks — track panels with topics
   ===================================================== */
.track-panels { display: grid; gap: 1.6rem; }
.track-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.8rem; border-top: 4px solid var(--accent);
  transition: box-shadow .25s, transform .25s;
}
.track-panel:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.track-panel__head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.2rem; }
.track-panel__head .track__icon { margin: 0; flex-shrink: 0; width: 58px; height: 58px; font-size: 1.4rem; }
.track-panel__head h3 { font-family: var(--ff-head); font-size: 1.25rem; line-height: 1.25; margin: .1rem 0 .4rem; }
.track-panel__head p { color: var(--muted); font-size: .92rem; }
.track-topics {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.6rem;
  border-top: 1px dashed var(--line); padding-top: 1.2rem;
}
.track-topics li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink); }
.track-topics li i { color: var(--accent); margin-top: .35rem; font-size: .7rem; flex-shrink: 0; }
@media (max-width: 700px) { .track-topics { grid-template-columns: 1fr; } .track-panel__head { flex-direction: column; gap: .8rem; } }

/* =====================================================
   Committee member cards
   ===================================================== */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.member-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; border-inline-start: 4px solid var(--primary);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.member-card:hover { border-inline-start-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.member-card h4 { font-family: var(--ff-head); font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.member-card__role {
  display: inline-block; background: rgba(109,40,217,.08); color: var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .15rem .6rem; border-radius: 50px; margin-bottom: .5rem;
}
.member-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 900px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .member-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Prose (content pages) — richer typography
   ===================================================== */
.prose { font-size: 1.02rem; }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink); }
.prose h2, .prose h3 { font-family: var(--ff-head); color: var(--ink); margin: 2rem 0 .8rem; padding-top: .4rem; border-top: 2px solid var(--bg-alt); }
.prose h3 { font-size: 1.3rem; }
.prose ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-inline-start: 1.6rem; color: var(--muted); }
.prose ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); position: absolute; inset-inline-start: 0; top: .15rem; font-size: .78rem; }
.prose strong { color: var(--ink); }

/* =====================================================
   Photo galleries — index cards + detail grid + lightbox
   ===================================================== */
.gallery-index {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.gallery-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; color: inherit;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-card__cover {
  position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--primary-dark), #1a2228);
  overflow: hidden;
}
.gallery-card__cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-card:hover .gallery-card__cover img { transform: scale(1.05); }
.gallery-card__count {
  position: absolute; bottom: .8rem; inset-inline-end: .8rem;
  background: rgba(0,0,0,.7); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 50px; display: inline-flex; align-items: center; gap: .35rem;
}
.gallery-card__body { padding: 1.2rem 1.4rem 1.5rem; border-top: 3px solid var(--accent); }
.gallery-card__body h3 { font-family: var(--ff-head); font-size: 1.15rem; margin-bottom: .3rem; color: var(--ink); }
.gallery-card__body p { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .gallery-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-index { grid-template-columns: 1fr; } }

/* Photo grid (detail page) */
.photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem;
}
.photo-grid__item {
  display: block; padding: 0; border: 0; cursor: zoom-in;
  background: var(--bg-alt); border-radius: 4px; overflow: hidden;
  aspect-ratio: 1; position: relative;
}
.photo-grid__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease, filter .25s;
}
.photo-grid__item:hover img { transform: scale(1.05); filter: brightness(1.08); }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: .35rem; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,8,8,.96);
  display: none; align-items: center; justify-content: center;
  z-index: 10000;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }
.lightbox__close { top: 1rem; inset-inline-end: 1rem; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { inset-inline-start: 1rem; }
.lightbox__nav--next { inset-inline-end: 1rem; }
.lightbox__counter {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600;
  background: rgba(0,0,0,.5); padding: .35rem 1rem; border-radius: 50px;
}
@media (max-width: 600px) {
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
}

/* =====================================================
   Nav fit-tighten — keep label+caret on a single line and
   make hamburger kick in earlier (added "Past Editions"
   pushed the total past what fits at mid-widths).
   ===================================================== */
.nav__list a { white-space: nowrap; }
.nav__list li.has-dropdown > a { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.nav__list li.has-dropdown > a .caret { margin-inline-start: 0; }

@media (min-width: 1081px) {
  .nav__list { gap: 1.15rem; }
  .nav__list a { font-size: .9rem; }
  .nav__cta { padding: .55rem 1.1rem; font-size: .88rem; }
}

@media (max-width: 1080px) {
  /* fall into the mobile-drawer style earlier so the cramped middle
     state doesn't happen. (Original breakpoint was 860px.) */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.5rem; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .3s ease; z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 1.1rem; width: 100%; }
  .nav__cta { width: 100%; }
  .nav__toggle { display: flex; z-index: 95; }
  html[dir="rtl"] .nav { inset: 0 auto 0 0; transform: translateX(-100%); box-shadow: 10px 0 40px rgba(0,0,0,.15); }
  html[dir="rtl"] .nav.is-open { transform: translateX(0); }
}
