/* Fareworks Growth: homepage v4 blocks (reference layout). Loaded after fw-home.css. */

/* Hero */
.fw-hv { position: relative; padding: 52px 0 0; overflow: hidden; background: radial-gradient(900px 600px at 85% 0%, #e4e7ff 0%, transparent 62%), radial-gradient(600px 420px at 0% 30%, #fbf6f0 0%, transparent 70%), #fff; }
.fw-hv__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-bottom: 96px; }
.fw-hv__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px !important; padding: 7px 14px; border-radius: 999px; background: var(--fw-blue-soft); color: var(--fw-blue); font-size: .84rem; font-weight: 700; }
.fw-hv__badge .fw-ico { width: 15px; height: 15px; fill: currentColor; }
.fw-hv h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: -.045em; }
.fw-hv__hl { color: var(--fw-blue); }
.fw-hv__lead { max-width: 33em; margin-bottom: 30px !important; color: #4b5154; font-size: 1.14rem; }
.fw-hv__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fw-hv__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 14px 24px; margin-top: 36px !important; }
.fw-hv__feats li { display: flex; align-items: center; gap: 12px; color: var(--fw-ink); font-size: .92rem; font-weight: 650; line-height: 1.3; }
.fw-hv__feats li > span { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: var(--fw-blue); box-shadow: 0 6px 18px -8px rgba(1, 14, 208, .35); }
.fw-hv__feats .fw-ico { width: 20px; height: 20px; }

.fw-hv__visual { position: relative; padding: 18px 26px 18px 40px; }
.fw-hv__blob { position: absolute; right: -40px; top: -30px; bottom: -30px; left: 18%; z-index: 0; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; background: linear-gradient(140deg, #cdd2ff, #eef0ff 70%); }
.fw-hv__frame { position: relative; z-index: 1; overflow: hidden; border: 8px solid #fff; border-radius: 34px; box-shadow: 0 40px 80px -36px rgba(10, 18, 64, .5); }
.fw-hv__img { width: 100%; height: 500px !important; object-fit: cover; }
.fw-hv__card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 44px -18px rgba(10, 18, 64, .4); font-size: .8rem; line-height: 1.25; }
.fw-hv__card small { display: block; color: #7a8085; font-weight: 600; }
.fw-hv__card strong { display: block; color: var(--fw-ink); font-size: .95rem; }
.fw-hv__card--a { left: 0; top: 54px; }
.fw-hv__card--b { left: -14px; top: 52%; }
.fw-hv__card--c { right: 0; bottom: 46px; }
.fw-hv__ci { display: inline-flex; flex: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--fw-blue); color: #fff; }
.fw-hv__ci .fw-ico { width: 20px; height: 20px; }
.fw-hv__ci--red { background: #fde8e6; color: #d93025; }
.fw-hv__spark { width: 64px; height: 28px; color: #16a34a; }
.fw-hv__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

/* Trusted-by strip, reference style */
.fw-clients { border-top: 0; }
.fw-clients__t { padding-right: 32px; border-right: 1px solid var(--fw-line); color: var(--fw-ink); font-weight: 700; }

/* Auto-scrolling client names (two copies of the list loop seamlessly) */
.fw-clients__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fw-clients__track { display: flex; width: max-content; }
.fw-clients__track .fw-clients__list { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
.fw-clients__track .fw-clients__item { flex-direction: row; gap: 0; padding-left: 44px; }
.fw-clients__track .fw-clients__item::after { content: ""; width: 6px; height: 6px; margin-left: 44px; border-radius: 50%; background: #c9cdf8; }
@media (prefers-reduced-motion: no-preference) {
	.fw-clients__track { animation: fw-marquee 28s linear infinite; }
	.fw-clients__viewport:hover .fw-clients__track { animation-play-state: paused; }
	@keyframes fw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
	.fw-clients__track { width: auto; }
	.fw-clients__track .fw-clients__list { flex-wrap: wrap; justify-content: center; }
	.fw-clients__track .fw-clients__list[aria-hidden] { display: none; }
}

/* Value cards (pains block, positive framing) */
.fw-pains__ico { background: var(--fw-blue-soft); color: var(--fw-blue); }
.fw-pains__card { transition: transform .2s, box-shadow .2s; }
.fw-pains__card:hover { transform: translateY(-4px); box-shadow: var(--fw-shadow); }

/* Navy industries banner */
.fw-bi { display: grid; grid-template-columns: 1.15fr 1fr 1fr; min-height: 360px; overflow: hidden; border-radius: 30px; background: radial-gradient(600px 400px at 0% 100%, rgba(1, 14, 208, .55), transparent 60%), var(--fw-navy, #0a1240); box-shadow: 0 30px 70px -40px rgba(10, 18, 64, .7); }
.fw-bi__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px; color: #c3c8e6; }
.fw-bi__copy h2 { color: #fff !important; font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.fw-bi__copy p { margin-bottom: 24px !important; }
.fw-bi__tag { display: inline-block; margin-bottom: 16px !important; padding: 6px 12px; border-radius: 999px; background: var(--fw-blue); color: #fff !important; font-size: .78rem; font-weight: 700; }
.fw-bi__panel { position: relative; display: block; overflow: hidden; margin-left: -60px; clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%); }
.fw-bi__panel--1 { margin-left: -30px; clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%); }
.fw-bi__panel img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s; }
.fw-bi__panel:hover img { transform: scale(1.05); }
.fw-bi__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 64, 0) 45%, rgba(10, 18, 64, .85) 100%); }
.fw-bi__label { position: absolute; left: 70px; right: 20px; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; }
.fw-bi__panel--1 .fw-bi__label { left: 60px; }
.fw-bi__label strong { display: block; font-size: 1.1rem; }
.fw-bi__label small { display: block; color: #d6daf3; font-size: .82rem; }
.fw-bi__li { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .18); }

/* Process */
.fw-p4__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.fw-p4__step { position: relative; padding-right: 30px; }
.fw-p4__step:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 22px; width: 12px; height: 12px; border-top: 2px solid #b7bcf6; border-right: 2px solid #b7bcf6; transform: rotate(45deg); }
.fw-p4__step:not(:last-child)::before { content: ""; position: absolute; left: 76px; right: 16px; top: 28px; border-top: 2px dashed #d5d8fb; }
.fw-p4__ico { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 18px; background: var(--fw-blue-soft); color: var(--fw-blue); }
.fw-p4__ico .fw-ico { width: 28px; height: 28px; }
.fw-p4__n { display: block; color: var(--fw-blue); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.fw-p4__step h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.fw-p4__step p { margin: 0; font-size: .95rem; }

/* Stats bar */
.fw-stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 24px; background: linear-gradient(100deg, var(--fw-navy, #0a1240), #101c6b); }
.fw-stats li { display: flex; align-items: center; gap: 16px; padding: 30px 28px; color: #c3c8e6; font-size: .9rem; }
.fw-stats li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.fw-stats strong { display: block; color: #fff; font-size: 1.9rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.fw-stats__ico { display: inline-flex; flex: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; }

/* Presence (India map) */
.fw-pres__in { display: grid; grid-template-columns: 1fr 1fr .55fr; gap: 40px; align-items: center; }
.fw-pres__copy .fw-head { margin-bottom: 24px; }
.fw-pres__map svg { display: block; width: 100%; max-height: 440px; }
.fw-pres__land { fill: #e7e9ff; stroke: #9ea5f5; stroke-width: 1.2; stroke-linejoin: round; }
.fw-pres__pin circle { fill: var(--fw-blue); }
.fw-pres__pin .fw-pres__pulse { fill: var(--fw-blue); opacity: .16; }
.fw-pres__pin.is-hq circle:not(.fw-pres__pulse) { fill: #fff; stroke: var(--fw-blue); stroke-width: 4; }
.fw-pres__pin text { fill: var(--fw-ink); font: 700 15px var(--fw-font); }
.fw-pres__list { display: grid; gap: 12px; }
.fw-pres__list li { display: flex; align-items: center; gap: 10px; color: var(--fw-ink); font-weight: 600; }
.fw-pres__list .fw-ico { width: 18px; height: 18px; color: var(--fw-blue); }
.fw-pres__list a { color: var(--fw-blue); text-decoration: none; }
.fw-pres__more { color: #7a8085 !important; font-weight: 500 !important; }
@media (prefers-reduced-motion: no-preference) {
	.fw-pres__pulse { transform-box: fill-box; transform-origin: center; animation: fw-pulse 2.4s ease-out infinite; }
	@keyframes fw-pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
}

/* Closing CTA */
.fw-c4 { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden; padding: 56px; border-radius: 30px; background: radial-gradient(500px 360px at 0% 0%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(120deg, #2335ff 0%, var(--fw-blue) 45%, #0a1240 100%); color: #dfe2ff; }
.fw-c4__copy { position: relative; }
.fw-c4__copy h2 { color: #fff !important; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.fw-c4__copy p { margin-bottom: 18px !important; font-size: 1.06rem; }
.fw-c4__tag { display: inline-block; margin-bottom: 14px !important; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: .8rem !important; font-weight: 700; }
.fw-c4__alt { display: flex; flex-wrap: wrap; gap: 20px; }
.fw-c4__alt a { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 650; text-decoration: none; }
.fw-c4__doodle { position: absolute; right: 0; bottom: -40px; width: 120px; color: rgba(255, 255, 255, .55); }
.fw-c4__card { padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.fw-c4__card .fw-card__title { margin-bottom: 16px !important; }
.fw-form--cta { grid-template-columns: 1fr 1fr; }
.fw-form__ticks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .82rem; color: var(--fw-body); }
.fw-form__ticks li { display: flex; align-items: center; gap: 6px; }
.fw-form__ticks .fw-ico { width: 16px; height: 16px; color: #16a34a; stroke-width: 2.6; }

@media (max-width: 1080px) {
	.fw-hv__in { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
	.fw-hv__visual { max-width: 640px; }
	.fw-hv__feats { grid-template-columns: repeat(2, 1fr); }
	.fw-bi { grid-template-columns: 1fr 1fr; }
	.fw-bi__copy { grid-column: 1 / -1; padding: 40px 36px 32px; }
	.fw-bi__panel, .fw-bi__panel--1 { min-height: 240px; margin: 0; clip-path: none; }
	.fw-bi__label, .fw-bi__panel--1 .fw-bi__label { left: 20px; }
	.fw-p4__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.fw-p4__step::after, .fw-p4__step::before { display: none; }
	.fw-stats { grid-template-columns: repeat(2, 1fr); }
	.fw-stats li:nth-child(3) { border-left: 0; }
	.fw-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
	.fw-pres__in { grid-template-columns: 1fr 1fr; }
	.fw-pres__copy { grid-column: 1 / -1; }
	.fw-c4 { grid-template-columns: 1fr; padding: 40px 32px; }
	.fw-c4__doodle { display: none; }
}
@media (max-width: 640px) {
	.fw-hv { padding-top: 30px; }
	.fw-hv h1 { font-size: 2.45rem; }
	.fw-hv__lead { font-size: 1.04rem; }
	.fw-hv__cta .fw-btn { flex: 1 1 100%; }
	.fw-hv__feats { gap: 12px; }
	.fw-hv__visual { padding: 10px 6px 10px 6px; }
	.fw-hv__img { height: 340px !important; }
	.fw-hv__blob { left: 10%; right: -30px; }
	.fw-hv__card--a { left: -2px; top: 24px; }
	.fw-hv__card--b { display: none; }
	.fw-hv__card--c { right: -2px; bottom: 22px; }
	.fw-clients__t { padding-right: 0; border-right: 0; }
	.fw-bi { grid-template-columns: 1fr; border-radius: 24px; }
	.fw-bi__copy { padding: 32px 24px 24px; }
	.fw-bi__panel, .fw-bi__panel--1 { min-height: 210px; }
	/* Process: vertical timeline (icon left, text right, dashed connector) */
	.fw-p4__list { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
	.fw-p4__step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 0 0 26px; }
	.fw-p4__step:last-child { padding-bottom: 0; }
	.fw-p4__step::after { display: none; }
	.fw-p4__step:not(:last-child)::before { display: block; left: 25px; right: auto; top: 58px; bottom: 6px; border-top: 0; border-left: 2px dashed #c9cdf8; }
	.fw-p4__ico { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; border-radius: 16px; }
	.fw-p4__ico .fw-ico { width: 24px; height: 24px; }
	.fw-p4__n { grid-column: 2; margin-top: 2px; }
	.fw-p4__step h3 { grid-column: 2; margin: 2px 0 4px; font-size: 1.1rem; }
	.fw-p4__step p { grid-column: 2; font-size: .93rem; }
	.fw-stats li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 18px; }
	.fw-stats strong { font-size: 1.55rem; }
	.fw-pres__in { grid-template-columns: 1fr; }
	.fw-pres__map { max-width: 360px; margin: 0 auto; }
	.fw-pres__list { grid-template-columns: 1fr 1fr; }
	.fw-c4 { padding: 30px 20px; border-radius: 24px; }
	.fw-c4__card { padding: 20px; }
	.fw-form--cta { grid-template-columns: 1fr; }
}
