/* FKram Connect — mini-site of the mobile app (fkram.com.tn/fkram-connect)
   Every rule is scoped under .fkc so the pages can later be embedded in the
   fkram.com.tn theme (its own menu and footer) without style clashes. */

.fkc {
  --navy-900: #0d1c2b;
  --navy-800: #122638;
  --navy-700: #1b3a5c;
  --navy-600: #2a527a;
  --gold: #d4a530;
  --gold-light: #e8bc4a;
  --gold-dark: #b08a22;
  --green: #2e9a5b;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #1b3a5c;
  --muted: #6b7e94;
  --border: #e3eaf3;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -18px rgba(18, 38, 56, .35);
  --shadow-sm: 0 6px 20px -10px rgba(18, 38, 56, .3);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.fkc[dir="rtl"], .fkc [dir="rtl"] { font-family: var(--font-ar); }
.fkc *, .fkc *::before, .fkc *::after { box-sizing: border-box; }
.fkc img, .fkc video { max-width: 100%; height: auto; display: block; }
.fkc a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fkc a:hover { color: var(--gold-dark); }
.fkc h1, .fkc h2, .fkc h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; }
.fkc[dir="rtl"] h1, .fkc[dir="rtl"] h2, .fkc[dir="rtl"] h3 { letter-spacing: 0; }
.fkc p { margin: 0 0 1em; }
.fkc .fkc-wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.fkc .fkc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fkc :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ─── Temporary top bar (replaced later by the fkram.com.tn menu) ────────── */
.fkc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 28, 43, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.fkc-topbar .fkc-wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.fkc-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; color: #fff !important; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.fkc-brand img { width: 36px; height: 36px; border-radius: 10px; }
.fkc-brand span em { font-style: normal; color: var(--gold-light); font-weight: 500; }
.fkc-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.fkc-nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; font-weight: 600; }
.fkc-nav a:hover, .fkc-nav a[aria-current="page"] { color: #fff; }
.fkc-langswitch { display: flex; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.fkc-nav .fkc-langswitch a { color: rgba(255, 255, 255, .72); font-size: 12.5px; font-weight: 800; min-width: 34px; padding: 5px 9px; border-radius: 999px; text-align: center; line-height: 1.3; }
.fkc-nav .fkc-langswitch a[lang="ar"] { font-family: var(--font-ar); font-size: 14px; line-height: 1.15; }
.fkc-nav .fkc-langswitch a:hover { color: #fff; }
.fkc-nav .fkc-langswitch a[aria-current="page"] { background: var(--gold); color: var(--navy-900); }
.fkc-nav { align-items: center; }
.fkc-back {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(212, 165, 48, .55);
  background: rgba(212, 165, 48, .12); transition: background .2s, border-color .2s;
}
.fkc-back:hover { background: rgba(212, 165, 48, .24); border-color: var(--gold); }
.fkc-back svg, .fkc-footer-back svg { color: var(--gold-light); flex: none; }
.fkc[dir="rtl"] .fkc-back svg, .fkc[dir="rtl"] .fkc-footer-back svg { transform: scaleX(-1); }
.fkc-back-short { display: none; }
.fkc-footer-back { display: inline-flex; align-items: center; gap: 6px; }
.fkc-footer-back svg { width: 16px; height: 16px; }
.fkc-doc-hero a { color: var(--gold-light); }
.fkc-menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }

/* ─── Buttons & store badges ────────────────────────────────────────────── */
.fkc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.fkc-btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-900) !important; box-shadow: 0 10px 30px -10px rgba(212, 165, 48, .7); }
.fkc-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212, 165, 48, .8); }
.fkc-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid rgba(255, 255, 255, .18); }
.fkc-btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.fkc-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.fkc-store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px;
  padding: 10px 18px; border-radius: 14px; text-decoration: none;
  background: #05080c; color: #fff !important; border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .2s, border-color .2s;
}
.fkc-store:hover { transform: translateY(-2px); border-color: var(--gold); }
.fkc-store svg { width: 26px; height: 26px; flex: none; }
.fkc-store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; letter-spacing: .02em; }
.fkc-store strong { display: block; font-size: 18px; line-height: 1.15; }
.fkc-store[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.fkc-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 75% 40%, rgba(42, 87, 132, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  padding: 72px 0 96px;
}
.fkc-hero::before { /* the venue dome, as on the splash screen */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 640px;
  background: url("../img/hero-dome.webp") center top / cover no-repeat;
  opacity: .32; mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.fkc-hero .fkc-wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.fkc-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(212, 165, 48, .12); border: 1px solid rgba(212, 165, 48, .3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.fkc[dir="rtl"] .fkc-kicker { letter-spacing: 0; }
.fkc-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 165, 48, .25); animation: fkc-pulse 2.4s infinite; }
@keyframes fkc-pulse { 50% { box-shadow: 0 0 0 8px rgba(212, 165, 48, 0); } }
.fkc-hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 850; margin-bottom: 22px; }
.fkc-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, #f3d27e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fkc-hero .fkc-lead { font-size: 19px; color: rgba(255, 255, 255, .78); max-width: 34em; margin-bottom: 32px; }
.fkc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fkc-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 7px 13px; border-radius: 999px; }
.fkc-chip svg { width: 16px; height: 16px; color: var(--gold-light); }

.fkc-stage { position: relative; aspect-ratio: 1; }
.fkc-stage video, .fkc-stage img.fkc-poster {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  /* the render's navy edges melt into the hero */
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.fkc-stage::after { /* gold halo under the phones */
  content: ""; position: absolute; inset-inline: 18%; bottom: 6%; height: 14%;
  background: radial-gradient(closest-side, rgba(212, 165, 48, .35), transparent);
  filter: blur(18px); z-index: -1;
}
.fkc-hero-wave { position: absolute; inset: auto 0 -1px 0; height: 70px; color: var(--bg); }
.fkc-hero-wave svg { width: 100%; height: 100%; }

/* ─── Sections ──────────────────────────────────────────────────────────── */
.fkc-section { padding: 96px 0; }
.fkc-section--tight { padding: 64px 0; }
.fkc-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.fkc-eyebrow { color: var(--gold-dark); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.fkc[dir="rtl"] .fkc-eyebrow { letter-spacing: 0; }
.fkc-head h2, .fkc-row h2, .fkc-pro h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.fkc-head p { color: var(--muted); font-size: 18px; }

.fkc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fkc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.fkc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fkc-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: var(--gold-light);
  box-shadow: 0 10px 20px -10px rgba(27, 58, 92, .8);
}
.fkc-icon svg { width: 26px; height: 26px; }
.fkc-card h3 { font-size: 20px; margin-bottom: 8px; }
.fkc-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Showcase rows: phone + text, alternating */
.fkc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.fkc-row:nth-child(even) .fkc-row-media { order: 2; }
.fkc-row p { color: var(--muted); font-size: 18px; }
.fkc-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.fkc-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.fkc-ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.fkc-row-media { position: relative; display: flex; justify-content: center; }
.fkc-row-media::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 82, 122, .22), transparent 70%);
}

/* CSS phone frame around a real app screenshot */
.fkc-phone {
  position: relative; width: min(290px, 72vw); aspect-ratio: 1320 / 2868; padding: 10px;
  border-radius: 46px; background: linear-gradient(145deg, #4a5869, #1f2a37 40%, #3a4656);
  box-shadow: 0 40px 80px -30px rgba(13, 28, 43, .65), inset 0 0 0 1.5px rgba(255, 255, 255, .18);
}
.fkc-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.fkc-phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #05080c; border-radius: 999px; }
.fkc-phone--back { position: absolute; width: min(240px, 58vw); transform: translate(46%, 8%) rotate(7deg); opacity: .95; z-index: -1; }
.fkc[dir="rtl"] .fkc-phone--back { transform: translate(-46%, 8%) rotate(-7deg); }
.fkc-float { animation: fkc-float 7s ease-in-out infinite; }
@keyframes fkc-float { 50% { transform: translateY(-14px); } }

/* Dark band: exhibitor space */
.fkc-dark { color: #fff; background: radial-gradient(900px 500px at 15% 20%, rgba(42, 87, 132, .55), transparent 60%), var(--navy-800); position: relative; overflow: hidden; }
.fkc-dark .fkc-head p, .fkc-dark p { color: rgba(255, 255, 255, .74); }
.fkc-dark .fkc-eyebrow { color: var(--gold-light); }
.fkc-pro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fkc-pro-list { display: grid; gap: 18px; }
.fkc-pro-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.fkc-pro-item .fkc-icon { margin: 0; flex: none; background: rgba(212, 165, 48, .14); box-shadow: none; }
.fkc-pro-item h3 { font-size: 18px; margin-bottom: 4px; }
.fkc-pro-item p { margin: 0; font-size: 15px; }

/* Mock "Mes participations" card, drawn in HTML */
.fkc-mock { background: var(--bg); color: var(--text); border-radius: 26px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); max-width: 440px; margin-inline: auto; }
.fkc-mock-title { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.fkc-mock-group { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; margin: 14px 0 8px; }
.fkc-mock-group i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fkc-mock-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.fkc-mock-card img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.fkc-mock-card strong { display: block; font-size: 14.5px; line-height: 1.3; }
.fkc-mock-card small { color: var(--muted); font-size: 12px; }
.fkc-mock-chip { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 800; color: #9a6b00; background: rgba(212, 165, 48, .18); padding: 2px 8px; border-radius: 7px; }
.fkc-mock-card.is-past { opacity: .6; filter: grayscale(.9); }

/* Events marquee (Blender covers) */
.fkc-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fkc-marquee-track { display: flex; gap: 18px; width: max-content; animation: fkc-scroll 48s linear infinite; }
.fkc-marquee:hover .fkc-marquee-track { animation-play-state: paused; }
@keyframes fkc-scroll { to { transform: translateX(-50%); } }
.fkc[dir="rtl"] .fkc-marquee-track { animation-name: fkc-scroll-rtl; }
@keyframes fkc-scroll-rtl { to { transform: translateX(50%); } }
.fkc-event { position: relative; width: 320px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); flex: none; }
.fkc-event img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fkc-event:hover img { transform: scale(1.06); }
.fkc-event span { position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; color: #fff; font-weight: 800; background: linear-gradient(transparent, rgba(13, 28, 43, .85)); }

/* Trust */
.fkc-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fkc-trust .fkc-card { padding: 24px; }
.fkc-trust .fkc-card h3 { font-size: 17px; }
.fkc-langs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.fkc-langs span { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }

/* CTA */
.fkc-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px; color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  background: radial-gradient(600px 300px at 90% 10%, rgba(212, 165, 48, .25), transparent 60%), linear-gradient(135deg, var(--navy-700), var(--navy-900)); box-shadow: var(--shadow); }
.fkc-cta h2 { font-size: clamp(28px, 3.2vw, 40px); }
.fkc-cta p { color: rgba(255, 255, 255, .75); }
.fkc-cta-emblem { justify-self: center; width: min(240px, 60%); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: fkc-float 6s ease-in-out infinite; }

/* ─── Document pages (privacy, terms, deletion, support) ─────────────────── */
.fkc-doc-hero { color: #fff; background: radial-gradient(800px 400px at 80% 0%, rgba(42, 87, 132, .6), transparent 60%), var(--navy-800); padding: 64px 0 72px; position: relative; overflow: hidden; }
.fkc-doc-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-dome.webp") center 30% / cover no-repeat; opacity: .14; }
.fkc-doc-hero .fkc-wrap { position: relative; }
.fkc-doc-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 850; margin-bottom: 10px; }
.fkc-doc-hero p { color: rgba(255, 255, 255, .72); margin: 0; }
.fkc-crumbs { font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.fkc-crumbs a { color: var(--gold-light); text-decoration: none; }
.fkc-doc { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 56px 0 96px; }
.fkc-toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.fkc-toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.fkc-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-inline-start: 2px solid var(--border); }
.fkc-toc a { display: block; padding: 5px 14px; color: var(--muted); text-decoration: none; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.fkc-toc a:hover, .fkc-toc a.is-active { color: var(--text); border-color: var(--gold); }
.fkc-prose { overflow-wrap: break-word; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 56px; box-shadow: var(--shadow-sm); min-width: 0; }
.fkc-prose h2 { font-size: 24px; margin: 40px 0 14px; padding-top: 8px; scroll-margin-top: 96px; }
.fkc-prose h2:first-child { margin-top: 0; }
.fkc-prose h3 { font-size: 18px; margin: 24px 0 8px; }
.fkc-prose ul { padding-inline-start: 22px; margin: 0 0 1em; }
.fkc-prose li { margin-bottom: 6px; }
.fkc-prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.fkc-prose th, .fkc-prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.fkc-prose th { background: var(--surface-2); font-size: 13.5px; }
.fkc-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff8e6; border: 1px solid #f2d58a; color: #6b4e00; margin: 18px 0; font-size: 15.5px; }
.fkc-note--info { background: #eef5fc; border-color: #c9ddf2; color: var(--navy-700); }
.fkc-steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.fkc-steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; background: var(--surface-2); border-radius: 14px; padding: 14px 16px; margin: 0; }
.fkc-steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--navy-700); color: var(--gold-light); }
.fkc-updated { color: var(--muted); font-size: 14px; }

/* Exhibitor guide: app screenshots in a phone frame, button reference, tips */
.fkc-shots { display: flex; flex-wrap: wrap; gap: 20px; margin: 22px 0 28px; }
.fkc-shots figure { margin: 0; width: 230px; max-width: 100%; }
.fkc-shots img { width: 100%; height: auto; border-radius: 30px; border: 7px solid var(--navy-900); background: var(--navy-900); box-shadow: var(--shadow-sm); }
.fkc-shots figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.fkc-keys { list-style: none; padding: 0 !important; margin: 12px 0 20px; display: grid; gap: 10px; }
.fkc-keys li { margin: 0; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; }
.fkc-keys li strong:first-child { color: var(--navy-700); }
.fkc-note--tip { background: #eef8f1; border-color: #bfe3cb; color: #1d5e37; }
.fkc-prose .fkc-faq { margin-top: 8px; }
.fkc-prose .fkc-faq details { padding: 2px 18px; }
.fkc-guide-cta { margin-top: 28px; }

/* FAQ */
.fkc-faq { display: grid; gap: 12px; }
.fkc-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; transition: box-shadow .2s; }
.fkc-faq details[open] { box-shadow: var(--shadow-sm); }
.fkc-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.fkc-faq summary::-webkit-details-marker { display: none; }
.fkc-faq summary::after { content: "+"; color: var(--gold-dark); font-size: 22px; line-height: 1; transition: transform .2s; }
.fkc-faq details[open] summary::after { transform: rotate(45deg); }
.fkc-faq details p { color: var(--muted); }
.fkc-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }

/* ─── Footer (replaced later by the fkram.com.tn footer) ────────────────── */
.fkc-footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 48px 0; font-size: 14.5px; }
.fkc-footer .fkc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.fkc-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.fkc-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.fkc-footer a:hover { color: var(--gold-light); }

/* ─── Language blocks & reveal animation ────────────────────────────────── */
.fkc [data-lang-block]:not(.is-active) { display: none; }
.fkc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.fkc-reveal.is-in { opacity: 1; transform: none; }
.fkc-static .fkc-reveal, .fkc.fkc-static .fkc-reveal { transition: none; }
.fkc-reveal[data-delay="1"] { transition-delay: .08s; }
.fkc-reveal[data-delay="2"] { transition-delay: .16s; }
.fkc-reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .fkc *, .fkc *::before, .fkc *::after { animation: none !important; transition: none !important; }
  .fkc-reveal { opacity: 1; transform: none; }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
/* Header collapses into the menu button below 1060px (FR/EN/AR labels + back button) */
@media (max-width: 1060px) {
  .fkc-nav { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); padding: 8px 20px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .fkc-nav.is-open { display: flex; }
  .fkc-nav a { padding: 12px 0; font-size: 16px; }
  .fkc-menu-btn { display: block; }
  .fkc-back { margin-inline-start: auto; padding: 7px 12px; }
  .fkc-nav .fkc-langswitch { align-self: flex-start; margin-top: 10px; }
  .fkc-nav .fkc-langswitch a { padding: 8px 14px; font-size: 14px; }
  .fkc-topbar .fkc-wrap { gap: 12px; }
}
@media (max-width: 980px) {
  .fkc-hero .fkc-wrap, .fkc-row, .fkc-pro, .fkc-cta, .fkc-doc { grid-template-columns: 1fr; }
  .fkc-hero { padding-top: 48px; text-align: center; }
  .fkc-hero .fkc-lead { margin-inline: auto; }
  .fkc-stores, .fkc-chips { justify-content: center; }
  .fkc-stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .fkc-row { gap: 32px; text-align: center; }
  .fkc-row:nth-child(even) .fkc-row-media { order: 0; }
  .fkc-ticks { justify-items: center; }
  .fkc-grid { grid-template-columns: repeat(2, 1fr); }
  .fkc-trust { grid-template-columns: repeat(2, 1fr); }
  .fkc-toc { position: static; }
  .fkc-cta { padding: 40px 28px; text-align: center; }
  .fkc-cta .fkc-stores { justify-content: center; }
  .fkc-contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fkc-back-long { display: none; }
  .fkc-back-short { display: inline; }
  .fkc { font-size: 16px; }
  .fkc-section { padding: 64px 0; }
  .fkc-grid, .fkc-trust { grid-template-columns: 1fr; }
  .fkc-prose { padding: 28px 18px; }
  .fkc-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
  .fkc-prose th, .fkc-prose td { min-width: 130px; padding: 9px 10px; }
  .fkc-doc { gap: 28px; padding: 32px 0 64px; }
  .fkc-shots { gap: 14px; justify-content: center; }
  .fkc-shots figure { width: calc(50% - 7px); }
  .fkc-shots img { border-width: 5px; border-radius: 22px; }
  /* Guide tables: one card per row instead of a sideways scroll */
  .fkc-prose table.fkc-fields { display: block; overflow: visible; }
  .fkc-prose table.fkc-fields thead { display: none; }
  .fkc-prose table.fkc-fields tbody, .fkc-prose table.fkc-fields tr { display: block; }
  .fkc-prose table.fkc-fields tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
  .fkc-prose table.fkc-fields td { display: block; min-width: 0; border: 0; padding: 2px 0; }
  .fkc-prose table.fkc-fields td:first-child { font-weight: 700; color: var(--navy-700); }
  .fkc-prose table.fkc-fields td[data-label]::before { content: attr(data-label) " : "; color: var(--muted); }
  .fkc-phone--back { display: none; }
  .fkc-event { width: 250px; }
}
