/* =========================================================
   YFbMedia — Professional Redesign
   Editorial dark studio · navy + crimson · glassmorphism + bento
   Display: Space Grotesk · Body: Manrope · Arabic: Cairo
   Pure CSS — no JavaScript.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #11161d;
  --bg-2:      #151b23;
  --surface:   #1a212b;
  --surface-2: #212a35;
  --navy:      #272f39;
  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.13);

  --accent:      #c0213a;
  --accent-2:    #e63a52;
  --accent-soft: rgba(192, 33, 58, 0.14);
  --glow:        rgba(192, 33, 58, 0.40);

  --white: #ffffff;
  --text:  #e9edf3;
  --muted: #9aa4b3;
  --muted-2: #69727f;

  --display: 'Space Grotesk', 'Manrope', sans-serif;
  --body:    'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;

  --max: 1240px;
  --nav-h: 76px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* subtle film grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[lang="ar"] body { font-family: 'Cairo', 'Manrope', sans-serif; }
html[lang="ar"] { --display: 'Cairo', sans-serif; }

img, svg { display: block; max-width: 100%; }
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--white); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.2; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 26px; position: relative; z-index: 2; }
.section { padding: 120px 0; position: relative; z-index: 2; }
.section.tight { padding: 90px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
html[lang="ar"] .eyebrow { letter-spacing: .08em; }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head .num {
  font-family: var(--display);
  font-size: .8rem;
  color: var(--muted-2);
  letter-spacing: .2em;
  display: block;
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; max-width: 560px; }

.lead { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  padding: var(--pad);
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--glow); }

.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-whatsapp { background: #25d366; color: #06231a; box-shadow: 0 10px 30px -8px rgba(37,211,102,.4); }
.btn-whatsapp:hover { background: #2ee574; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(37,211,102,.45); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.form .btn-whatsapp { width: 100%; justify-content: center; margin-top: 12px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex; align-items: center;
  background: rgba(17, 22, 29, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 46px; width: auto; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .95rem; font-weight: 600; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  border: 1px solid var(--line-2); border-radius: 50px; padding: 7px 15px;
  color: var(--white); transition: all .25s var(--ease);
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent-2); }
.nav-cta { background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 50px;
  font-family: var(--display); font-weight: 600; font-size: .9rem; transition: all .3s var(--ease); }
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.page { padding-top: var(--nav-h); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {  /* grid lines */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 78%);
}
.hero::after {  /* red glow */
  content: ""; position: absolute; z-index: 0;
  width: 760px; height: 760px; border-radius: 50%;
  top: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(192,33,58,.30), transparent 62%);
  filter: blur(20px);
}
.hero .container { z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; color: var(--muted);
  margin-bottom: 34px; font-weight: 600;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero-role { font-family: var(--display); color: var(--accent-2); font-weight: 600;
  letter-spacing: .04em; font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 12px; }
.hero h1 {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: .92;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--line-2);
  display: block;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 30%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 560px; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 38px; margin-top: 64px;
  padding-top: 34px; border-top: 1px solid var(--line);
}
.hero-meta .item .k { font-family: var(--display); font-size: 1.9rem; color: var(--white); font-weight: 700; }
.hero-meta .item .v { color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* page hero (inner) */
.page-hero { padding: 110px 0 70px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  top: -320px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(192,33,58,.22), transparent 62%);
}
.page-hero .container { z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-top: 18px; }
.page-hero p { color: var(--muted); margin-top: 18px; font-size: 1.1rem; max-width: 560px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0; overflow: hidden; background: var(--bg-2); position: relative; z-index: 2;
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--muted-2);
  padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* =========================================================
   SERVICES (bento)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.s-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.s-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px 240px at var(--mx, 50%) -20%, rgba(192,33,58,.16), transparent 70%);
}
.s-card:hover { transform: translateY(-6px); border-color: rgba(192,33,58,.45);
  box-shadow: 0 24px 60px -24px var(--glow); }
.s-card:hover::before { opacity: 1; }

.s-card .s-num { font-family: var(--display); font-size: .8rem; color: var(--muted-2); letter-spacing: .2em; }
.s-card .s-icon {
  width: 58px; height: 58px; border-radius: 15px; margin: 22px 0 24px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192,33,58,.3); color: var(--accent-2);
}
.s-card .s-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.s-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.s-card p { color: var(--muted); font-size: .98rem; }
.s-card .s-arrow {
  margin-top: 26px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted);
  transition: all .35s var(--ease);
}
.s-card .s-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.s-card:hover .s-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
html[dir="rtl"] .s-card .s-arrow svg { transform: scaleX(-1); }

/* =========================================================
   WORK / SPOTLIGHT (Tilou)
   ========================================================= */
.spotlight {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 56px; overflow: hidden; position: relative;
}
.spotlight::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  right: -160px; top: -160px; background: radial-gradient(circle, rgba(192,33,58,.18), transparent 60%);
}
html[dir="rtl"] .spotlight::before { right: auto; left: -160px; }
.spotlight .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); border: 1px solid rgba(192,33,58,.4); color: var(--accent-2);
  padding: 6px 15px; border-radius: 50px; font-size: .82rem; font-weight: 700; margin-bottom: 20px;
}
.spotlight h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.spotlight p { color: var(--muted); margin-bottom: 26px; font-size: 1.05rem; }
.spotlight .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.spotlight .chips span { font-size: .82rem; color: var(--muted); border: 1px solid var(--line-2);
  padding: 6px 14px; border-radius: 50px; }

/* app screenshot */
.device { justify-self: center; position: relative; z-index: 2; }
.app-shot {
  width: min(270px, 70vw);
  border-radius: 34px;
  box-shadow: 0 40px 80px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06), 0 0 60px -10px var(--glow);
  transition: transform .5s var(--ease);
}
.app-shot:hover { transform: translateY(-8px) rotate(-1deg); }

/* legacy CSS phone mockup (kept for fallback) */
.phone {
  width: 230px; height: 470px; border-radius: 38px;
  background: #0c1014; border: 9px solid #05080b;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05);
  padding: 16px; position: relative; overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; border-radius: 6px; background: #05080b; z-index: 3; }
.phone .screen {
  height: 100%; border-radius: 26px; padding: 34px 18px 18px;
  background: radial-gradient(120% 80% at 50% 0%, #2a323d, #11161d);
  display: flex; flex-direction: column;
}
.phone .app-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.15rem;
  text-align: center; margin-bottom: 4px; }
.phone .app-sub { text-align: center; color: var(--accent-2); font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; margin-bottom: 20px; }
.phone .puzzle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: auto; margin-bottom: auto; }
.phone .puzzle i {
  aspect-ratio: 1; border-radius: 11px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.phone .puzzle i.on { background: linear-gradient(150deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px -6px var(--glow); border-color: transparent; }
.phone .bar { height: 8px; border-radius: 50px; background: rgba(255,255,255,.08); margin-top: 22px; overflow: hidden; }
.phone .bar i { display:block; height: 100%; width: 62%; background: var(--accent); border-radius: 50px; }

/* =========================================================
   APPROACH (process)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 38px 30px; border-right: 1px solid var(--line); transition: background .35s var(--ease); }
html[dir="rtl"] .step { border-right: none; border-left: 1px solid var(--line); }
.step:last-child { border-right: none; }
html[dir="rtl"] .step:last-child { border-left: none; }
.step:hover { background: var(--surface); }
.step .n { font-family: var(--display); font-size: 2.4rem; color: rgba(192,33,58,.55); font-weight: 700; line-height: 1; }
.step h4 { font-size: 1.15rem; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* =========================================================
   ABOUT bits
   ========================================================= */
.bio-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.bio-grid .big { font-family: var(--display); font-size: clamp(1.6rem,3vw,2.3rem); line-height: 1.25;
  color: var(--white); letter-spacing: -.02em; }
html[lang="ar"] .bio-grid .big { letter-spacing: 0; line-height: 1.5; }
.bio-grid .big b { color: var(--accent-2); }
.bio-grid p { color: var(--muted); margin-bottom: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { font-family: var(--display); font-weight: 500; font-size: .92rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); padding: 10px 18px; border-radius: 50px;
  transition: all .3s var(--ease); }
.tag:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-3px);
  box-shadow: 0 12px 26px -12px var(--glow); }

.stat-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 32px;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.stat:hover { border-color: rgba(192,33,58,.4); box-shadow: 0 22px 50px -26px var(--glow); transform: translateY(-5px); }
.stat .s-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192,33,58,.3); color: var(--accent-2); margin-bottom: 22px; }
.stat .s-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.stat h3 { font-size: 1.3rem; margin-bottom: 8px; }
.stat p { color: var(--muted); font-size: .95rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: all .3s var(--ease);
}
.contact-item:hover { border-color: rgba(192,33,58,.45); transform: translateX(4px); }
html[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
.contact-item .ci-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192,33,58,.3); color: var(--accent-2); }
.contact-item .ci-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.contact-item .k { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.contact-item .v { color: var(--white); font-weight: 600; font-family: var(--display); }
.contact-item:hover .v { color: var(--accent-2); }

.form {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 8px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; color: var(--white); font-family: inherit; font-size: 1rem; transition: all .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 150px; }
.form .btn-primary { width: 100%; justify-content: center; }
.form-note { text-align: center; color: var(--muted); margin-top: 18px; font-size: .92rem; }
.form-note a { color: var(--accent-2); }

/* =========================================================
   PRIVACY / ARTICLE
   ========================================================= */
.article { max-width: 800px; }
.article .meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.article .meta-row span { font-size: .85rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line-2); padding: 8px 16px; border-radius: 50px; }
.article .meta-row b { color: var(--white); }
.article h2 { font-size: 1.5rem; margin: 44px 0 16px; display: flex; align-items: center; gap: 14px; }
.article h2::before { content: ""; width: 22px; height: 3px; background: var(--accent); border-radius: 3px; }
.article p { margin-bottom: 16px; color: var(--muted); }
.article ul.bul { padding-inline-start: 6px; margin-bottom: 18px; }
.article ul.bul li { position: relative; padding-inline-start: 24px; margin-bottom: 10px; color: var(--muted); }
.article ul.bul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article a { color: var(--accent-2); }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--text); }

/* =========================================================
   CTA band
   ========================================================= */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 80px 40px;
}
.cta::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta p { color: var(--muted); margin-bottom: 34px; font-size: 1.1rem; }

.success-icon {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 26px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192,33,58,.4); color: var(--accent-2);
  box-shadow: 0 0 0 8px rgba(192,33,58,.06);
}
.success-icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 80px 0 36px; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 53px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 300px; font-size: .95rem; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 18px; font-family: var(--display); }
.footer-col a { display: block; color: var(--muted); margin-bottom: 12px; font-size: .95rem; transition: color .25s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 30px; }
.footer-bottom .copy { color: var(--muted-2); font-size: .88rem; }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2);
  border-radius: 12px; color: var(--muted); transition: all .3s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .bento, .stat-bento { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 44px 30px; }
  .spotlight .chips { justify-content: center; }
  .spotlight .tag { margin-inline: auto; }
  .bio-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .form .row { grid-template-columns: 1fr; }

  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 30px; height: 28px; cursor: pointer; z-index: 110; }
  .nav-burger span { height: 2.5px; width: 100%; background: var(--white); border-radius: 3px; transition: all .3s var(--ease); }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(14,18,24,.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 14px 22px 24px;
    transform: translateY(-130%); transition: transform .4s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-links a { padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; }
  .lang-switch, .nav-cta { text-align: center; }
  .nav-toggle:checked ~ .nav-menu { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .bento, .stat-bento, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-meta { gap: 26px; }
  .cta { padding: 56px 24px; }
  .form { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
