/* ==========================================================================
   SA Future Agency — main stylesheet
   ========================================================================== */

:root {
	--ac: #c6f24e;
	--ac-rgb: 198, 242, 78;
	--acg: rgba(198, 242, 78, .22);
	--bg: #07070a;
	--surface: #0e0e12;
	--surface-2: #131318;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .15);
	--text: #f2f2f0;
	--muted: #9b9ba5;
	--soft: #b4b4bd;
	--dim: #6b6b75;
	--ink: #07070a;
	--radius: 26px;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--display: 'Anek Bangla', sans-serif;
	--body: 'Anek Bangla', sans-serif;
	--latin: 'Syne', sans-serif;
	--hero-overlay: .7;
	--gutter: 24px;
	--gutter-m: 18px;
	--space: 1;
	--text-d: 1;
	--head-d: 1;
	--text-m: 1;
	--head-m: 1;
	--logo-h: 40px;
	--logo-h-m: 32px;
	--g: var(--gutter);
	--ts: var(--text-d);
	--hs: var(--head-d);
}

body.lang-en {
	--display: 'Syne', sans-serif;
	--body: 'Manrope', sans-serif;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: calc(18px * var(--ts));
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.lang-en { font-size: calc(17px * var(--ts)); }

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--ac); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; }
::selection { background: var(--ac); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; }
body.lang-en h1, body.lang-en h2, body.lang-en h3 { letter-spacing: -.03em; }
body.lang-bn h1, body.lang-bn h2 { letter-spacing: -.01em; }

.accent { color: var(--ac); }
.latin { font-family: var(--latin); }
.wrap { max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding-left: var(--g); padding-right: var(--g); }
.layout-full .wrap { max-width: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 12px; left: 12px;
	background: var(--ac); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 16px 30px; border-radius: 999px;
	font-weight: 600; font-size: 17px; line-height: 1.2; cursor: pointer; border: 0;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--ac); color: var(--ink); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 14px 34px -12px var(--acg); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--ac); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { color: var(--text); }
.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px var(--g) 0; transition: padding .3s ease; }
.site-header.is-scrolled { padding-top: 10px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.nav-bar {
	max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0;
	padding: 10px 12px 10px 20px; border: 1px solid var(--line); border-radius: 999px;
	background: rgba(13, 13, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-family: var(--latin); font-weight: 700; font-size: 19px; letter-spacing: -.01em; line-height: 1.2; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: var(--ac); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-logo { height: var(--logo-h); width: auto; max-width: 220px; object-fit: contain; flex: none; }
.brand-mark.has-img { background: transparent; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name, .brand-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand-short { display: none; }
.brand-footer { font-size: 22px; }
.brand-footer .brand-logo { height: calc(var(--logo-h) * 1.1); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.primary-nav a { color: var(--soft); font-size: 16px; transition: color .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--text); }
.primary-nav .sub-menu { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-switch a { min-height: 34px; min-width: 40px; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; color: var(--soft); font-size: 14px; font-weight: 600; }
.lang-switch a.is-active { background: var(--text); color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

.mobile-menu {
	position: fixed; inset: 0; z-index: 60; background: rgba(7, 7, 10, .97); display: flex; flex-direction: column;
	padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .close { align-self: flex-end; }
.mobile-menu ul { list-style: none; padding: 0; margin: 40px 0 auto; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--text); }
.mobile-menu .sub-menu { margin: 0 0 0 16px; }
.mobile-menu .sub-menu a { font-size: 24px; color: var(--soft); }

@media (max-width: 980px) {
	.primary-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.nav-actions .btn { display: none; }
}

/* ---------- glow ---------- */
.glow-orb {
	position: absolute; top: -260px; right: -200px; width: 760px; height: 760px; border-radius: 50%;
	background: radial-gradient(circle, var(--acg) 0%, transparent 65%); pointer-events: none; z-index: 0;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -78px; padding-top: 78px; }
.hero-inner { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 80px; }
.badge {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
	border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; color: var(--soft); background: rgba(255, 255, 255, .03);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ac); flex: none; }
.hero h1 { margin-top: 28px; font-size: calc(clamp(40px, 7.4vw, 96px) * var(--hs)); line-height: 1.02; max-width: 1100px; }
body.lang-en .hero h1 { line-height: .98; letter-spacing: -.045em; }
.hero-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; margin-top: 40px; }
.hero-text { margin: 0; font-size: 21px; font-weight: 300; color: var(--soft); max-width: 520px; line-height: 1.55; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(7, 7, 10, var(--hero-overlay)) 0%, rgba(7, 7, 10, var(--hero-overlay)) 60%, var(--bg) 100%);
}
.hero.has-bg .hero-inner { padding-bottom: 140px; }

.reel { margin-top: 72px; position: relative; }
.reel-box {
	aspect-ratio: 21 / 9; border-radius: 28px; border: 1px solid var(--line); background: #0f0f13;
	overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center;
}
.reel-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.reel-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 56px 56px;
}
.reel-caption { position: absolute; left: 28px; bottom: 24px; color: var(--dim); font-size: 15px; }
.play-btn {
	position: relative; width: 104px; height: 104px; border-radius: 50%; border: 0; background: var(--ac);
	display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
	transition: transform .3s var(--ease);
}
.play-btn:hover { transform: scale(1.08); }
.scroll-badge {
	position: absolute; right: 40px; top: -64px; width: 128px; height: 128px; border-radius: 50%;
	background: var(--bg); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--ac);
}
.scroll-badge svg.ring { position: absolute; }
@media (max-width: 700px) {
	.scroll-badge { width: 96px; height: 96px; top: -48px; right: 16px; }
	.scroll-badge svg.ring { width: 88px; height: 88px; }
	.reel-box { aspect-ratio: 4 / 3; }
	.play-btn { width: 80px; height: 80px; }
}

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; }
.marquee-item {
	display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
	font-family: var(--display); font-size: clamp(24px, 3vw, 36px); font-weight: 600; color: #3a3a44;
}
.marquee-item svg { color: var(--ac); flex: none; }

/* ---------- sections ---------- */
.section { padding-top: calc(128px * var(--space)); padding-bottom: calc(40px * var(--space)); position: relative; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.section-head.center { justify-content: center; text-align: center; }
.eyebrow { font-family: var(--latin); color: var(--ac); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.section-title { margin-top: 14px; font-size: calc(clamp(32px, 4.6vw, 60px) * var(--hs)); }
.section-lead { margin: 0; color: var(--muted); max-width: 420px; font-weight: 300; }
.page-hero { padding-top: 120px; padding-bottom: 20px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: calc(clamp(40px, 7vw, 88px) * var(--hs)); margin-top: 16px; max-width: 1000px; }
.page-hero p { color: var(--soft); font-size: 20px; font-weight: 300; max-width: 640px; margin: 24px 0 0; }

/* ---------- stats ---------- */
.stats { display: flex; flex-wrap: wrap; padding-top: 88px; }
.stat { flex: 1 1 240px; padding: 8px 28px; border-left: 1px solid var(--line-2); }
.stat-num { font-family: var(--latin); font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat-num span { color: var(--ac); }
.stat-label { color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { .stat { flex-basis: 50%; padding: 16px; } }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento .is-wide { grid-column: span 2; }
.card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
	min-height: 300px; padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text);
	transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
a.card:hover, .card.is-hover:hover { transform: translateY(-6px); border-color: var(--ac); background: var(--surface-2); color: var(--text); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-num { font-family: var(--latin); font-size: 15px; color: var(--dim); font-weight: 600; }
.card-arrow {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--text);
	transition: transform .35s ease, background .35s ease, color .35s ease;
}
a.card:hover .card-arrow { transform: rotate(-45deg); background: var(--ac); color: var(--ink); border-color: var(--ac); }
.card-icon { color: var(--ac); margin-top: auto; }
.card-title { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.15; }
body.lang-en .card-title { letter-spacing: -.03em; }
.card-text { color: var(--muted); font-weight: 300; max-width: 460px; }
@media (max-width: 900px) {
	.bento { grid-template-columns: minmax(0, 1fr); }
	.bento .is-wide { grid-column: span 1; }
}

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; }
.filter-btn {
	min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--soft);
	font-size: 16px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active { background: var(--ac); color: var(--ink); }
@media (max-width: 700px) { .filters { border-radius: 22px; } }

.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.works.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work { display: flex; flex-direction: column; gap: 18px; color: var(--text); }
.work:hover { color: var(--text); }
.work.is-hidden { display: none; }
.work-shot { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #14141a; aspect-ratio: 4 / 3; position: relative; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work:hover .work-shot img { transform: scale(1.05); }
.work-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #4b4b55; font-size: 15px; }
.work-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.work-title { font-family: var(--display); font-size: 24px; font-weight: 600; }
.pill { font-size: 14px; color: var(--soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
.work-play {
	position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--ac); color: var(--ink);
	display: flex; align-items: center; justify-content: center;
}
@media (max-width: 1000px) { .works.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .works, .works.cols-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- process ---------- */
.steps { border-top: 1px solid var(--line-2); }
.step {
	display: flex; flex-wrap: wrap; gap: 24px; align-items: baseline; padding: 32px 12px; border-bottom: 1px solid var(--line-2);
	transition: background .3s ease, padding .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .02); padding-left: 24px; }
.step-num { flex: 0 0 90px; font-family: var(--latin); font-size: 18px; color: var(--ac); font-weight: 600; }
.step-title { flex: 1 1 280px; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; }
.step-text { flex: 1 1 340px; color: var(--muted); font-weight: 300; }

/* ---------- testimonials ---------- */
.review-card { border-radius: 32px; border: 1px solid var(--line); background: var(--surface); padding: 64px 56px; display: flex; flex-direction: column; gap: 36px; }
.review-slide { display: none; flex-direction: column; gap: 36px; }
.review-slide.is-active { display: flex; animation: safa-fade .6s var(--ease); }
.review-quote { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 500; max-width: 980px; }
body.lang-en .review-quote { line-height: 1.2; letter-spacing: -.02em; }
.review-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.person { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: #23232b; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-weight: 600; font-size: 19px; display: block; line-height: 1.3; }
.person-role { color: var(--muted); font-size: 15px; display: block; }
.slider-nav { display: flex; gap: 10px; align-items: center; }
.slider-count { font-family: var(--latin); color: var(--dim); font-size: 15px; margin-right: 8px; }
.circle-btn {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text);
	cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s, border-color .25s;
}
.circle-btn:hover { border-color: var(--ac); }
.circle-btn.is-solid { background: var(--ac); color: var(--ink); border-color: var(--ac); }
@media (max-width: 700px) { .review-card { padding: 40px 24px; } }

/* ---------- pricing ---------- */
.plans { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.plan {
	flex: 1 1 320px; min-width: 0; padding: 36px 32px; border-radius: 28px; display: flex; flex-direction: column; gap: 18px;
	background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--ac); }
.plan.is-popular { background: rgba(var(--ac-rgb), .05); border-color: var(--ac); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 600; }
.tag { font-size: 13px; font-weight: 700; background: var(--ac); color: var(--ink); padding: 4px 12px; border-radius: 999px; }
.plan-for { color: var(--muted); font-weight: 300; }
.plan-price { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price strong { font-family: var(--latin); font-size: 46px; font-weight: 700; letter-spacing: -.02em; }
.plan-price small { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: #d0d0d6; }
.check { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: center; color: var(--ac); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn-ghost { background: rgba(255, 255, 255, .05); border: 0; }

/* ---------- faq ---------- */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-intro { flex: 1 1 340px; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 22px; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.faq-item.is-open { background: #0f0f13; border-color: var(--ac); }
.faq-q {
	width: 100%; background: none; border: 0; color: var(--text); font-size: 20px; font-weight: 500; text-align: left;
	padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; min-height: 44px;
}
.faq-icon {
	flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .06); transition: transform .35s ease, background .3s, color .3s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--ac); color: var(--ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a-inner { padding: 0 28px 26px; color: var(--muted); font-weight: 300; }
.faq-a-inner p { margin: 0 0 10px; }

/* ---------- cta ---------- */
.cta-box { border-radius: 36px; background: var(--ac); color: var(--ink); padding: 80px 56px; position: relative; overflow: hidden; }
.cta-box .eyebrow { color: var(--ink); font-weight: 700; }
.cta-box h2 { margin-top: 18px; font-size: calc(clamp(34px, 5.6vw, 76px) * var(--hs)); line-height: 1.04; max-width: 860px; }
.cta-ring { position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(7, 7, 10, .2); }
.cta-box .btn-row { margin-top: 40px; position: relative; }
@media (max-width: 700px) { .cta-box { padding: 48px 24px; border-radius: 28px; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #16161c; border: 1px solid var(--line); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .7s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.member h3 { font-size: 21px; margin-top: 16px; }
.member p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.info-card { padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.info-card small { display: block; color: var(--dim); font-family: var(--latin); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }
.info-card a, .info-card span { color: var(--text); font-size: 20px; font-weight: 500; }
.contact-form { flex: 2 1 560px; min-width: 0; padding: 40px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 15px; color: var(--soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2);
	background: #0a0a0d; color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ac); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; }
.notice.ok { background: rgba(var(--ac-rgb), .12); border: 1px solid var(--ac); }
.notice.err { background: rgba(255, 90, 90, .1); border: 1px solid #ff6b6b; }
@media (max-width: 700px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .contact-form { padding: 24px; } }

/* ---------- blog / content ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.post-card:hover { color: var(--text); }
.post-thumb { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #14141a; border: 1px solid var(--line); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card h3 { font-size: 24px; }
.post-date { color: var(--dim); font-size: 14px; }
.post-card p { margin: 0; color: var(--muted); font-weight: 300; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .posts { grid-template-columns: minmax(0, 1fr); } }

.entry { max-width: 820px; margin: 0 auto; font-size: 19px; color: #d6d6dc; }
.entry h2 { font-size: 36px; margin: 48px 0 16px; color: var(--text); }
.entry h3 { font-size: 28px; margin: 36px 0 12px; color: var(--text); }
.entry p { margin: 0 0 22px; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 18px; }
.entry blockquote { margin: 32px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--ac); font-size: 24px; color: var(--text); }
.entry ul, .entry ol { padding-left: 22px; margin: 0 0 22px; }
.entry pre { background: var(--surface); padding: 20px; border-radius: 14px; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line-2); padding: 10px 14px; }
.featured { border-radius: 28px; overflow: hidden; margin: 48px 0; border: 1px solid var(--line); }
.featured img { width: 100%; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); max-width: none; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 48px; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); padding: 0 16px; }
.pagination .current { background: var(--ac); color: var(--ink); border-color: var(--ac); }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: #0a0a0d; color: var(--text); font: inherit; }
.search-form button, .search-form input[type=submit] { min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ac); color: var(--ink); font-weight: 600; cursor: pointer; }

.comments { max-width: 820px; margin: 64px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-form input, .comment-form textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0a0d; color: var(--text); font: inherit; }
.comment-form .submit { width: auto; background: var(--ac); color: var(--ink); border: 0; padding: 14px 26px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { padding-top: 24px; padding-bottom: 40px; position: relative; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 48px; border-bottom: 1px solid var(--line-2); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--latin); font-size: 13px; letter-spacing: 2px; color: var(--dim); font-weight: 600; text-transform: uppercase; }
.footer-col a, .footer-col span { color: var(--soft); }
.footer-col a:hover { color: var(--text); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { flex: 1 1 320px; }
.footer-brand p { color: var(--muted); font-weight: 300; max-width: 340px; margin: 12px 0 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--soft); transition: all .25s; }
.socials a:hover { background: var(--ac); color: var(--ink); border-color: var(--ac); }
.footer-giant {
	font-family: var(--latin); font-size: 13.5vw; font-weight: 800; letter-spacing: -.05em; line-height: .9;
	color: rgba(255, 255, 255, .04); margin-top: 32px; white-space: nowrap; overflow: hidden; user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 14px; margin-top: 24px; }
.footer-bottom a { color: var(--muted); }

.wa-float {
	position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: var(--ink);
	display: flex; align-items: center; justify-content: center; z-index: 40; transition: transform .25s;
	box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
}
.wa-float:hover { transform: scale(1.08); color: var(--ink); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-body { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 18px; overflow: hidden; }
.modal-body iframe, .modal-body video { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 20px; right: 20px; }

/* ---------- single service / project ---------- */
.detail-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.detail-main { flex: 2 1 560px; min-width: 0; }
.detail-side { flex: 1 1 280px; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.detail-icon { width: 88px; height: 88px; border-radius: 24px; background: rgba(var(--ac-rgb), .1); color: var(--ac); display: flex; align-items: center; justify-content: center; }

/* ---------- license notice ---------- */
.safa-license-bar { position: relative; z-index: 80; background: #ff6b3d; color: #07070a; text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 600; }
.safa-license-bar a { color: #07070a; text-decoration: underline; }

/* ==========================================================================
   Tablet & mobile
   ========================================================================== */
@media (max-width: 980px) {
	.hero-inner { padding-top: 80px; padding-bottom: 64px; }
	.reel { margin-top: 56px; }
	.card { min-height: 240px; padding: 28px; }
	.review-card { padding: 48px 36px; }
	.cta-box { padding: 64px 40px; }
	.faq-wrap { gap: 32px; }
}

@media (max-width: 600px) {
	:root { --g: var(--gutter-m); --ts: var(--text-m); --hs: var(--head-m); }

	body { font-size: calc(16px * var(--ts)); }
	body.lang-en { font-size: calc(15px * var(--ts)); }

	/* header */
	.site-header { padding: 10px var(--g) 0; }
	.nav-bar { padding: 7px 7px 7px 12px; gap: 8px; }
	.brand { font-size: 15px; gap: 8px; }
	.brand-mark { width: 30px; height: 30px; }
	.brand-mark svg { width: 14px; height: 14px; }
	.brand-logo { height: var(--logo-h-m); max-width: 150px; }
	.mb-short .brand-header .brand-name { display: none; }
	.mb-short .brand-header .brand-short { display: block; }
	.mb-icon .brand-header .brand-name, .mb-icon .brand-header .brand-short { display: none; }
	.nav-actions { gap: 6px; flex: none; }
	.nav-toggle { width: 40px; height: 40px; }
	/* language switch becomes one small button showing the other language */
	.lang-switch { border: 0; padding: 0; }
	.lang-switch a.is-active { display: none; }
	.lang-switch a { min-height: 40px; min-width: 40px; border: 1px solid var(--line-2); font-size: 13px; padding: 0 10px; }
	.mobile-menu a { font-size: calc(28px * var(--hs)); }
	.mobile-menu ul { margin-top: 28px; gap: 10px; }

	/* type */
	.hero h1 { font-size: calc(34px * var(--hs)); line-height: 1.18; margin-top: 20px; }
	body.lang-en .hero h1 { font-size: calc(36px * var(--hs)); line-height: 1.05; letter-spacing: -.035em; }
	.hero-text { font-size: 1.04em; }
	.section-title { font-size: calc(28px * var(--hs)); line-height: 1.2; }
	body.lang-en .section-title { line-height: 1.1; }
	.page-hero { padding-top: 64px; }
	.page-hero h1 { font-size: calc(32px * var(--hs)); line-height: 1.2; }
	.page-hero p { font-size: 1.04em; margin-top: 16px; }
	.cta-box h2 { font-size: calc(28px * var(--hs)); line-height: 1.2; }
	.eyebrow { font-size: 12px; letter-spacing: 2px; }
	.badge { font-size: 13px; padding: 6px 12px 6px 8px; }
	.btn { min-height: 46px; padding: 13px 22px; font-size: 15px; }
	.btn-row { gap: 10px; }

	/* layout */
	.hero-inner { padding-top: 48px; padding-bottom: 48px; }
	.hero-row { margin-top: 24px; gap: 24px; }
	.hero.has-bg .hero-inner { padding-bottom: 88px; }
	.reel { margin-top: 44px; }
	.reel-caption { left: 16px; bottom: 12px; font-size: 12px; }
	.scroll-badge { display: none; }
	.section { padding-top: calc(80px * var(--space)); padding-bottom: calc(24px * var(--space)); }
	.section-head { margin-bottom: 32px; gap: 16px; }
	.marquee { padding: 16px 0; }
	.marquee-item { font-size: 20px; gap: 18px; padding-right: 18px; }
	.marquee-item svg { width: 16px; height: 16px; }

	.stats { padding-top: 56px; }
	.stat { flex: 1 1 50%; padding: 14px 14px; }
	.stat-num { font-size: 34px; }
	.stat-label { font-size: 14px; margin-top: 2px; }

	.bento { gap: 12px; }
	.card { min-height: 0; padding: 22px; border-radius: 20px; gap: 10px; }
	.card-icon { margin-top: 8px; }
	.card-icon svg { width: 34px; height: 34px; }
	.card-arrow { width: 40px; height: 40px; }
	.card-title { font-size: calc(22px * var(--hs)); }
	.card-text { font-size: .94em; }

	.filters { width: 100%; padding: 4px; gap: 4px; overflow-x: auto; flex-wrap: nowrap; border-radius: 999px; scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filter-btn { flex: none; padding: 6px 14px; font-size: 14px; min-height: 40px; }
	.works { gap: 28px; }
	.work { gap: 12px; }
	.work-shot { border-radius: 18px; }
	.work-title { font-size: 18px; }
	.pill { font-size: 12px; padding: 3px 10px; }

	.step { padding: 20px 4px; gap: 6px 14px; }
	.step:hover { padding-left: 4px; }
	.step-num { flex: 0 0 auto; font-size: 14px; }
	.step-title { flex: 1 1 60%; font-size: calc(22px * var(--hs)); }
	.step-text { flex: 1 1 100%; font-size: .94em; }

	.review-card { padding: 28px 20px; border-radius: 22px; gap: 24px; }
	.review-slide { gap: 24px; }
	.review-quote { font-size: calc(20px * var(--hs)); }
	.avatar { width: 44px; height: 44px; }
	.person-name { font-size: 16px; }
	.circle-btn { width: 44px; height: 44px; }

	.plans { gap: 14px; }
	.plan { padding: 26px 22px; border-radius: 22px; gap: 14px; flex-basis: 100%; }
	.plan-name { font-size: 20px; }
	.plan-price { padding: 14px 0; }
	.plan-price strong { font-size: 34px; }

	.faq-q { font-size: 16px; padding: 16px 18px; }
	.faq-icon { width: 32px; height: 32px; }
	.faq-a-inner { padding: 0 18px 18px; }
	.faq-item { border-radius: 16px; }

	.cta-box { padding: 40px 22px; border-radius: 24px; }
	.cta-box .btn-row { margin-top: 28px; }
	.cta-ring { width: 220px; height: 220px; right: -90px; top: -90px; }

	.team { gap: 14px; }
	.member h3 { font-size: 17px; }

	.contact-form { padding: 22px 18px; border-radius: 22px; }
	.info-card { padding: 18px 20px; border-radius: 18px; }
	.info-card a, .info-card span { font-size: 17px; }

	.posts { gap: 28px; }
	.post-card h3 { font-size: 20px; }
	.entry { font-size: 1.04em; }
	.entry h2 { font-size: 26px; }
	.entry h3 { font-size: 22px; }

	.footer-top { gap: 28px; padding-bottom: 32px; }
	.footer-brand { flex-basis: 100%; }
	.footer-col { flex: 1 1 40%; }
	.footer-bottom { font-size: 13px; }
	.wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
	.wa-float svg { width: 24px; height: 24px; }
	.detail-side { position: static; }
	.detail-grid { gap: 28px; }
}

@media (max-width: 380px) {
	.mb-full .brand-header { font-size: 13px; }
	.hero h1 { font-size: calc(30px * var(--hs)); }
	.section-title { font-size: calc(25px * var(--hs)); }
	.btn-row .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes safa-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes safa-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes safa-spin { to { transform: rotate(360deg); } }
@keyframes safa-marquee { to { transform: translateX(-50%); } }
@keyframes safa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes safa-pulse { 0% { box-shadow: 0 0 0 0 var(--acg); } 100% { box-shadow: 0 0 0 22px transparent; } }
@keyframes safa-glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }

.anim .in1 { animation: safa-rise .9s var(--ease) .05s both; }
.anim .in2 { animation: safa-rise .9s var(--ease) .2s both; }
.anim .in3 { animation: safa-rise .9s var(--ease) .35s both; }
.anim .in4 { animation: safa-rise .9s var(--ease) .5s both; }
.anim .in5 { animation: safa-rise 1.1s var(--ease) .6s both; }
.anim .spin { animation: safa-spin 16s linear infinite; }
.anim .floaty { animation: safa-float 6s ease-in-out infinite; }
.anim .glow-orb { animation: safa-glow 7s ease-in-out infinite; }
.anim .pulse { animation: safa-pulse 2s ease-out infinite; }
.anim .marquee-track { animation: safa-marquee 30s linear infinite; }
.anim .marquee:hover .marquee-track { animation-play-state: paused; }

.anim .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.anim .reveal.is-in { opacity: 1; transform: none; }
.anim .reveal.d1 { transition-delay: .08s; }
.anim .reveal.d2 { transition-delay: .16s; }
.anim .reveal.d3 { transition-delay: .24s; }

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