/* ===== Ahmed Fathi — ahmedfathi.fit ===== */
:root {
  --accent: #ff5a1f; --accent-2: #ffb020; --accent-ink: #fff;
  --grad: linear-gradient(110deg, #ff3d1f 0%, #ff7a1a 45%, #ffb020 100%);
  --wa: #25d366; --wa-dark: #128c4a;
  --radius: 22px; --radius-sm: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font: 'Inter', 'Cairo', system-ui, sans-serif;
  --display: 'Anton', 'Cairo', Impact, sans-serif;
  --nav-h: 76px;
}
[lang="ar"] { --font: 'Cairo', 'Inter', system-ui, sans-serif; --display: 'Cairo', 'Anton', sans-serif; }
[data-theme="dark"] {
  --bg: #0b0b0d; --bg-2: #121216; --card: #17171c; --card-2: #1e1e25; --line: rgba(255,255,255,.08);
  --text: #f4f2ee; --muted: #a3a1a8; --soft: rgba(255,255,255,.04); --shadow: 0 20px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f5f1; --bg-2: #efebe4; --card: #ffffff; --card-2: #faf8f4; --line: rgba(20,16,10,.09);
  --text: #16140f; --muted: #67625a; --soft: rgba(0,0,0,.035); --shadow: 0 20px 50px -24px rgba(60,40,10,.28);
  --accent: #f04a10;
  color-scheme: light;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; transition: background .35s, color .35s; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 44px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-weight: 800; border-radius: 999px; padding: .85em 1.5em; transition: transform .25s var(--ease), box-shadow .25s, background .25s; white-space: nowrap; position: relative; isolation: isolate; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,90,31,.7); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(255,90,31,.85); }
.btn--ghost { border: 1.5px solid var(--line); background: var(--soft); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--wa { background: var(--wa); color: #06210f; box-shadow: 0 12px 34px -12px rgba(37,211,102,.75); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--xl { padding: 1.05em 2.2em; font-size: 1.2rem; }
.btn--xl svg { width: 1.7em; height: 1.7em; }
.btn--xl small { display: block; font-size: .72em; opacity: .75; font-weight: 700; }
.btn--xl > span { text-align: start; line-height: 1.25; }

/* ---------- Banner ---------- */
.banner { position: relative; z-index: 60; background: var(--grad); color: #fff; font-weight: 700; font-size: .95rem; padding: 10px 48px; text-align: center; }
.banner--gold { background: linear-gradient(90deg, #c8932c, #f3d27a, #c8932c); color: #241800; }
.banner--dark { background: #000; color: #fff; border-bottom: 1px solid #ff5a1f55; }
.banner--danger { background: linear-gradient(90deg, #b3121b, #ff2d3a); }
.banner__inner { display: inline-flex; gap: .5em; align-items: center; }
.banner__spark { animation: pulse 1.6s infinite; }
.banner__text[href] { text-decoration: underline; text-underline-offset: 3px; }
.banner__close { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.18); }
.banner__close svg { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: 'Anton', sans-serif; font-size: 1.25rem; letter-spacing: 1px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(255,90,31,.8); transform: rotate(-6deg); }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; direction: ltr; text-align: left; }
.brand__name b { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 1.2rem; letter-spacing: 1.5px; }
.brand__name small { font-size: .62rem; letter-spacing: 2.6px; color: var(--muted); font-weight: 700; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); background: var(--soft); }
.nav__links .nav__drawer-cta { display: none; }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--soft); transition: border-color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--accent); transform: rotate(-8deg); }
.lang-btn { font-weight: 800; font-size: .85rem; font-family: 'Cairo', 'Inter', sans-serif; }
[data-theme="dark"] .ic-moon, [data-theme="light"] .ic-sun { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__glow { position: absolute; width: 900px; height: 900px; inset-inline-end: -200px; top: -250px; background: radial-gradient(circle, rgba(255,90,31,.28), transparent 60%); filter: blur(20px); animation: float 12s ease-in-out infinite; }
.hero__grid { position: absolute; inset: 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(ellipse at 60% 30%, #000 10%, transparent 70%); opacity: .6; }
.hero__word { position: absolute; bottom: 4%; inset-inline: 0; text-align: center; font-family: 'Anton', sans-serif; font-size: clamp(90px, 17vw, 260px); line-height: .8; letter-spacing: 4px; color: transparent; -webkit-text-stroke: 1.5px var(--line); white-space: nowrap; direction: ltr; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; min-height: calc(100svh - var(--nav-h) - 220px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.pill svg { color: var(--accent); }
.hero__title { font-family: var(--display); font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 900; text-transform: uppercase; margin: 22px 0 20px; letter-spacing: .5px; }
[lang="ar"] .hero__title { line-height: 1.25; font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 58ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); transition: all .25s var(--ease); }
.hero__social a:hover { background: var(--accent); color: #fff; border-color: transparent; transform: translateY(-3px); }
.hero__phone { font-weight: 800; color: var(--muted); margin-inline-start: 6px; letter-spacing: .5px; }

.hero__visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(430px, 100%); aspect-ratio: 4/5; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow); z-index: 1; background: var(--card); }
.portrait__ring { position: absolute; inset: -14px; border-radius: 214px 214px 40px 40px; background: var(--grad); opacity: .9; filter: blur(.2px); animation: breathe 5s ease-in-out infinite; }
.portrait__ring::after { content: ''; position: absolute; inset: 3px; border-radius: inherit; background: var(--bg); }
.chip { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 16px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); font-weight: 800; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.chip--1 { top: 12%; inset-inline-start: -14%; }
.chip--2 { top: 48%; inset-inline-end: -12%; animation-delay: -1.6s; }
.chip--3 { bottom: 8%; inset-inline-start: -8%; animation-delay: -3.2s; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 30px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.stat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.stat b { display: block; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.stat span:not(.count) { color: var(--muted); font-weight: 700; font-size: .92rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--grad); color: #fff; padding: 16px 0; transform: rotate(-1.5deg) scale(1.03); margin: 10px 0 0; box-shadow: 0 20px 40px -20px rgba(255,90,31,.6); direction: ltr; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 30s linear infinite; font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: 2px; align-items: center; }
.marquee__track i { font-style: normal; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; margin-bottom: 14px; }
[lang="ar"] .kicker { letter-spacing: 0; font-size: 1rem; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4.4vw, 3.3rem); text-transform: uppercase; letter-spacing: .5px; }
[lang="ar"] .h2 { line-height: 1.35; }
.lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--card); box-shadow: var(--shadow); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover img { transform: scale(1.05); }
.about__badge { position: absolute; bottom: -24px; inset-inline-end: -24px; background: var(--grad); color: #fff; padding: 22px 26px; border-radius: 20px; box-shadow: 0 20px 40px -14px rgba(255,90,31,.7); text-align: center; }
.about__badge b { display: block; font-family: 'Anton', sans-serif; font-size: 2.6rem; font-weight: 400; line-height: 1; }
.about__badge > span { font-weight: 700; font-size: .85rem; }
.about__text .h2 { margin-bottom: 24px; }
.about__text p { color: var(--muted); font-size: 1.07rem; }
.checks { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checks svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.gyms { display: flex; flex-wrap: wrap; gap: 10px; }
.gyms span { padding: 8px 16px; border-radius: 999px; border: 1px dashed var(--line); font-weight: 700; font-size: .9rem; color: var(--muted); direction: ltr; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; isolation: isolate; }
.service::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,31,.16), transparent 45%); opacity: 0; transition: opacity .35s; z-index: -1; }
.service:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow); }
.service:hover::before { opacity: 1; }
.service__emoji { font-size: 2.3rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 18px; transition: transform .4s var(--ease); }
.service:hover .service__emoji { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; }
.service ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; font-size: .92rem; font-weight: 600; }
.service li { display: flex; gap: 8px; align-items: center; }
.service li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
.service__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; }
.service__cta svg { transition: transform .3s; }
.service:hover .service__cta svg { transform: translateX(4px); }
[dir="rtl"] .service:hover .service__cta svg { transform: scaleX(-1) translateX(4px); }
.service--hot { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.service__tag { position: absolute; top: 18px; inset-inline-end: 18px; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step__n { position: absolute; top: 14px; inset-inline-end: 20px; font-family: 'Anton', sans-serif; font-size: 3.2rem; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 50%, transparent); line-height: 1; }
.step__e { font-size: 2rem; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Results ---------- */
.results { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.results .result { flex: 1 1 320px; max-width: 390px; }
.result { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s; }
.result:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.result__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #000 center/cover no-repeat; }
.result__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.result:hover .result__media img { transform: scale(1.04); }
.result__pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; gap: 2px; }
.result__label { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(6px); }
.result__label--b { left: 12px; background: rgba(0,0,0,.65); color: #fff; }
.result__label--a { right: 12px; background: var(--grad); color: #fff; }
.result__body { padding: 18px 20px 20px; }
.result__body h3 { font-size: 1.08rem; font-weight: 800; }
.result__body p { color: var(--muted); margin: 6px 0 0; font-size: .94rem; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.cert { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s; position: relative; }
.cert:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.cert__img { background: #fff; padding: 14px; aspect-ratio: 4/3; display: grid; place-items: center; }
.cert__img img { max-height: 100%; object-fit: contain; border-radius: 6px; }
.cert__body { padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.cert__seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #d9a43a, #f7dc8a); color: #4a3100; flex: none; font-size: 1.3rem; }
.cert__body h3 { font-size: 1.05rem; font-weight: 800; }
.cert__body p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }

/* ---------- Videos & social ---------- */
.videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }
.videos .video { flex: 1 1 240px; max-width: 300px; }
.videos:empty { display: none; }
.video { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); position: relative; }
.video video { width: 100%; aspect-ratio: 9/14; object-fit: cover; background: #000; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); transition: opacity .3s; }
.video__play span { width: 70px; height: 70px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 0 rgba(255,90,31,.6); animation: ring 2s infinite; }
.video__play svg { width: 28px; height: 28px; margin-inline-start: 4px; }
[dir="rtl"] .video__play svg { margin-inline-start: 0; margin-inline-end: -4px; }
.video.playing .video__play { opacity: 0; pointer-events: none; }
.video__title { position: absolute; bottom: 0; inset-inline: 0; padding: 14px 16px; color: #fff; font-weight: 800; pointer-events: none; transition: opacity .3s; }
.video.playing .video__title { opacity: 0; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.social { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; position: relative; }
.social:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.social__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; flex: none; }
.social__icon svg { width: 32px; height: 32px; }
.social--ig .social__icon { background: radial-gradient(circle at 30% 110%, #ffdb8b 0%, #ee653d 25%, #d42e81 50%, #a237b6 75%, #3e57bc 100%); }
.social--tt .social__icon { background: #000; box-shadow: -3px -3px 0 #25f4ee inset, 3px 3px 0 #fe2c55 inset; }
.social--ig:hover { border-color: #d42e81; }
.social--tt:hover { border-color: #25f4ee; }
.social__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.social__body b { font-size: 1.2rem; }
.social__body span { font-weight: 700; color: var(--accent); }
.social__body small { color: var(--muted); font-size: .9rem; }
.social__go { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; padding: 10px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery { columns: var(--cols, 3) 280px; max-width: calc(var(--cols, 3) * 400px); margin-inline: auto; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; background: var(--card); }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent); font-size: 1.3rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 90px) 24px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); isolation: isolate; }
.cta__glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255,90,31,.25), transparent 30%, rgba(255,176,32,.2), transparent 60%); animation: spin 14s linear infinite; }
.cta::after { content: ''; position: absolute; inset: 1px; border-radius: 31px; background: var(--card); z-index: -1; opacity: .9; }
.cta .lead { margin-bottom: 30px; }
.cta__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; transition: all .25s; }
.cta__links a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: calc(22px + env(safe-area-inset-bottom)); inset-inline-end: 22px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.8); animation: ring-wa 2.4s infinite; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,7,.94); display: grid; place-items: center; padding: 20px; animation: fade .25s; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #eee; margin-top: 14px; font-weight: 700; }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translate(-40px, 40px); } }
@keyframes breathe { 50% { transform: scale(1.015); opacity: .75; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { transform: scale(1.25); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.6); } 100% { box-shadow: 0 0 0 22px rgba(255,90,31,0); } }
@keyframes ring-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 12px 30px -8px rgba(37,211,102,.8); } 70%,100% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 12px 30px -8px rgba(37,211,102,.8); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav__links a { padding: 8px 10px; font-size: .9rem; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .burger { display: flex; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; top: var(--drawer-top, var(--nav-h)); inset-inline: 0; bottom: 0; height: calc(100dvh - var(--drawer-top, var(--nav-h))); flex-direction: column; gap: 4px; padding: 24px 20px; background: var(--bg); border-top: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); overflow-y: auto; }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { font-size: 1.25rem; padding: 14px 16px; color: var(--text); border-radius: 14px; }
  .nav__links .nav__drawer-cta { display: inline-flex; margin-top: 14px; color: #06210f; }
  .nav.menu-open { background: var(--bg); }
  .hero { padding-top: 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; text-align: center; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__ctas, .hero__social { justify-content: center; }
  .hero__visual { order: -1; }
  .portrait { width: min(320px, 78vw); }
  .chip { font-size: .78rem; padding: 8px 12px; }
  .chip--1 { inset-inline-start: -8%; } .chip--2 { inset-inline-end: -8%; } .chip--3 { inset-inline-start: -4%; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__badge { inset-inline-end: -8px; bottom: -18px; padding: 16px 20px; }
  .socials { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .brand__name small { display: none; }
  .brand__name b { font-size: 1.05rem; }
  .brand__mark { width: 40px; height: 40px; font-size: 1.1rem; }
  .icon-btn { width: 40px; height: 40px; }
  .nav__tools { gap: 6px; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 16px 10px; }
  .stat b { font-size: 1.9rem; }
  .services, .steps { grid-template-columns: 1fr; }
  .results .result { max-width: none; }
  .checks { grid-template-columns: 1fr; }
  .marquee__track { font-size: 1.15rem; }
  .social { padding: 18px; gap: 14px; flex-wrap: wrap; }
  .social__go { width: 100%; justify-content: center; }
  .btn--xl { width: 100%; font-size: 1.05rem; padding: 1em 1.2em; }
  .cta__links { flex-direction: column; align-items: stretch; }
  .cta__links a { justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .banner { padding: 10px 44px 10px 16px; font-size: .85rem; text-align: start; }
  [dir="rtl"] .banner { padding: 10px 16px 10px 44px; }
  .wa-float { width: 56px; height: 56px; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
