/* ==========================================================================
   Kliq Technologies – responsive overrides
   Desktop (>=1280px) is the untouched original design. Breakpoints:
   1279 small desktop · 1024 tablet · 768 mobile · 480 small mobile
   ========================================================================== */

/* Large desktop: keep the 1200px column, let backgrounds keep filling ------ */
@media (min-width: 1680px) {
	.hero--home { min-height: 780px; }
}

/* Small desktop / laptop ---------------------------------------------------- */
@media (max-width: 1279px) {
	:root { --gutter: 32px; }
	.sec-title { font-size: 44px; }
	.hero__title { font-size: 68px; }
	.hero--inner .hero__title { font-size: 60px; }
	.hero__grid,
	.hero__grid--inner { grid-template-columns: minmax(0, 1fr) 480px; gap: 32px; }
	.hero-visual { transform: scale(0.9); transform-origin: top right; }
	.feature-card__media { width: 46%; }
	.service-row { gap: 48px; }
	.service-row__media { width: 46%; }
	.story__media { width: 46%; }
	.why__media { width: 44%; }
	.why__media img { width: 100%; }
	.faq { gap: 48px; }
	.faq__aside { width: 320px; }
	.cta__title { font-size: 46px; }
	.cta__copy { width: 48%; }
	.form-card { width: 400px; }
	.phase { gap: 28px; padding: 28px; }
	.phase__head { width: 200px; }
	.phase__get { width: 210px; }
	.footer__top { flex-wrap: wrap; row-gap: 40px; }
	.footer__brand { width: 320px; }
	.nav__list a { padding: 0 12px; }
	.logo-item { font-size: 19px; }
	.band__value { font-size: 46px; }
	.roles { width: 320px; }
	.careers__copy { width: 55%; }
}

/* Tablet -------------------------------------------------------------------- */
@media (max-width: 1024px) {
	:root { --gutter: 28px; --header-h: 80px; }
	.section__inner { padding-block: 56px; gap: 32px; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.sec-head__text,
	.sec-head--wide .sec-head__text { max-width: 100%; }
	.sec-title { font-size: 40px; }

	/* header becomes a drawer */
	.nav-toggle { display: block; }
	.site-header__inner { position: relative; }
	.site-header__panel {
		position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 20px;
		margin: 8px var(--gutter) 0; padding: 20px; border-radius: 20px;
		background: rgba(11, 17, 32, 0.97); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px rgba(2, 6, 23, 0.5);
		max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
	}
	.site-header__panel.is-open { display: flex; }
	.nav { flex-direction: column; padding: 6px; }
	.nav__list { flex-direction: column; width: 100%; }
	.nav__list a { height: 46px; }
	.header-actions { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
	.header-link { display: block; padding: 12px; }
	.header-actions .btn--white { justify-content: center; height: 48px; }

	/* heroes */
	.hero--home { min-height: 0; }
	.hero--home .hero__inner { padding-top: 130px; padding-bottom: 56px; }
	.hero__grid,
	.hero__grid--inner { grid-template-columns: 1fr; gap: 48px; }
	.hero__title { font-size: 60px; letter-spacing: -1.8px; }
	.hero--inner .hero__inner { padding-top: 130px; padding-bottom: 56px; }
	.hero--inner,
	.hero--short { min-height: 0; }
	.hero--inner .hero__title { font-size: 54px; }
	.hero-visual { width: 100%; max-width: 560px; height: 560px; margin-inline: auto; transform: none; }
	.hero-list { max-width: 560px; }
	.hero__lead { max-width: 640px; }

	/* layout blocks */
	.logos__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 28px; min-height: 0; }
	.logos__label { width: auto; }
	.logos__list { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 20px 32px; }
	.step-grid { flex-wrap: wrap; }
	.step-card { flex: 1 1 calc(50% - 12px); }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento__card:nth-child(1) { grid-row: auto; grid-column: span 2; }
	.bento__card:nth-child(4) { grid-column: span 2; }
	.band__inner { flex-wrap: wrap; padding-block: 48px; }
	.band__intro,
	.band--notes .band__intro { width: 100%; }
	.band__item { flex: 1 1 calc(50% - 10px); }
	.project-grid,
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-card,
	.feature-card--post { flex-direction: column; }
	.feature-card__media { width: 100%; }
	.feature-card__media img { min-height: 0; height: 320px; }
	.feature-card__body { padding: 36px; }
	.process-grid { flex-direction: column; }
	.toolbar { flex-direction: column; gap: 0; }
	.toolbar__title { width: auto; padding-top: 24px; }
	.why { flex-direction: column; align-items: stretch; gap: 96px; }
	.why__media { width: 100%; }
	.why__media img { height: auto; aspect-ratio: 540 / 340; }
	.why__badge { left: 16px; bottom: -64px; }
	.engage-grid { flex-wrap: wrap; }
	.engage-grid > * { flex: 1 1 calc(50% - 12px); }
	.testimonial__card { padding: 44px 40px; }
	.testimonial__quote { font-size: 24px; }
	.faq { flex-direction: column; gap: 36px; }
	.faq__aside { width: 100%; }
	.cta__card { flex-direction: column; align-items: stretch; padding: 44px 40px; gap: 32px; min-height: 0; }
	.cta__copy { width: 100%; }
	.form-card { width: 100%; max-width: 520px; }
	.cta__title { font-size: 44px; }
	.newsletter__card { flex-direction: column; align-items: stretch; padding: 40px; gap: 28px; }
	.newsletter__copy,
	.newsletter__form { width: 100%; }
	.service-row,
	.service-row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 36px; }
	.service-row__media { width: 100%; }
	.service-row__media img { height: auto; aspect-ratio: 560 / 400; }
	.float-stat,
	.service-row:nth-child(even) .float-stat { left: 16px; right: auto; top: auto; bottom: -24px; }
	.service-row { padding-bottom: 24px; }
	.cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cap-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.phase { flex-wrap: wrap; }
	.phase__head { width: 100%; flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
	.phase__body { flex-basis: 100%; }
	.phase__get { width: 100%; }
	.story { flex-direction: column; align-items: stretch; gap: 40px; }
	.story__media { width: 100%; }
	.story__media img { height: auto; aspect-ratio: 560 / 390; }
	.story__title { font-size: 40px; }
	.fact-row { flex-wrap: wrap; }
	.fact { flex: 1 1 calc(50% - 10px); }
	.journey { flex-wrap: wrap; row-gap: 40px; }
	.journey::before { display: none; }
	.journey__item { flex: 1 1 calc(33.333% - 20px); min-width: 180px; }
	.careers__card { flex-direction: column; align-items: stretch; padding: 40px; gap: 32px; }
	.careers__copy,
	.roles { width: 100%; }
	.careers__title { font-size: 38px; }
	.footer__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
	.footer__brand { grid-column: 1 / -1; width: 100%; max-width: 420px; }
	.footer__news { grid-column: 1 / -1; width: 100%; max-width: 420px; }
	.footer__mark { min-height: 80px; }

	/* decorative art is positioned for a 1920 canvas: keep only full-bleed layers */
	.deco:not(.deco--fill) { display: none; }
}

/* Mobile -------------------------------------------------------------------- */
@media (max-width: 768px) {
	:root { --gutter: 20px; }
	body { font-size: 15px; }
	.section__inner { padding-block: 44px; gap: 28px; }
	.sec-title { font-size: 34px; letter-spacing: -0.6px; }
	.sec-lead { font-size: 17px; }
	.eyebrow { font-size: 12px; letter-spacing: 2.2px; }
	.btn { white-space: normal; }
	.btn--primary { height: 52px; padding: 0 24px; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { justify-content: center; }

	.hero--home .hero__inner { padding-top: 112px; padding-bottom: 44px; }
	.hero__content { gap: 22px; }
	.hero__title { font-size: 46px; letter-spacing: -1.4px; }
	.hero__lead { font-size: 18px; }
	.hero--inner .hero__inner { padding-top: 112px; padding-bottom: 44px; }
	.hero--inner .hero__title { font-size: 42px; letter-spacing: -1.2px; }
	.badge { height: auto; min-height: 36px; padding-block: 5px; font-size: 13px; }
	.proof { flex-wrap: wrap; }

	/* hero dashboard: stack instead of absolute layout */
	.hero-visual { height: auto; display: flex; flex-direction: column; gap: 16px; max-width: 100%; }
	.hv-ring, .hv-glow { display: none; }
	.hv-card { position: relative; left: auto; top: auto; width: 100%; }
	.hv-card .gborder__inner { padding: 20px; gap: 16px; }
	.hv-chip { position: relative; left: auto; top: auto; align-self: flex-start; max-width: 100%; }
	.hv-tag { position: relative; left: auto; top: auto; align-self: flex-start; max-width: none; order: -1; }
	.hv-title { font-size: 19px; }
	.hv-metric { font-size: 28px; }

	.logos__list { gap: 16px 24px; }
	.logo-item { font-size: 17px; }
	.step-card { flex: 1 1 100%; }
	.step-card__num { font-size: 46px; }
	.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.bento__card:nth-child(1),
	.bento__card:nth-child(4) { grid-column: auto; }
	.bento__card { padding: 24px; border-radius: 24px; }
	.bento__title { font-size: 24px; }
	.stat-row { flex-wrap: wrap; }
	.band__item { flex: 1 1 100%; padding: 20px 22px; }
	.band__value { font-size: 40px; }
	.band__title { font-size: 28px; }
	.project-grid,
	.post-grid { grid-template-columns: 1fr; }
	.filter { width: 100%; }
	.filter__btn { flex: 1 1 auto; padding: 0 14px; }
	.feature-card { border-radius: 24px; }
	.feature-card__body { padding: 26px; }
	.feature-card__media img { height: 240px; }
	.feature-card__title,
	.feature-card--post .feature-card__title { font-size: 26px; }
	.mini-stats { flex-wrap: wrap; }
	.mini-stat { flex: 1 1 calc(50% - 8px); }
	.process-card { padding: 24px; }
	.feature-grid { grid-template-columns: 1fr; }
	.why { gap: 88px; }
	.engage-grid > * { flex: 1 1 100%; }
	.testimonial__wrap { padding-block: 24px; }
	.testimonial__card { padding: 32px 24px; border-radius: 28px; gap: 24px; }
	.testimonial__slide { gap: 24px; }
	.testimonial__quote { font-size: 20px; }
	.testimonial__foot { flex-direction: column; align-items: flex-start; }
	.faq-item { padding: 16px 18px; }
	.faq-item__q { font-size: 17px; }
	.cta__wrap { padding-bottom: 44px; }
	.cta__card { padding: 32px 22px; border-radius: 28px; }
	.cta__title { font-size: 36px; letter-spacing: -0.8px; }
	.form-card { max-width: none; padding: 22px; }
	.newsletter__wrap { padding-bottom: 44px; }
	.newsletter__card { padding: 32px 22px; border-radius: 26px; }
	.newsletter__title { font-size: 32px; }
	.newsletter__form { flex-direction: column; }
	.newsletter__form input,
	.newsletter__form .btn { width: 100%; justify-content: center; }
	.service-row__title { font-size: 34px; }
	.service-row__lead { font-size: 18px; }
	.tick-grid { grid-template-columns: 1fr; }
	.cap-grid,
	.cap-grid--4 { grid-template-columns: 1fr; }
	.phase { padding: 24px; }
	.phase__title { font-size: 24px; }
	.story__title { font-size: 34px; }
	.fact { flex: 1 1 calc(50% - 10px); padding: 18px; }
	.fact__num { font-size: 32px; }
	.journey__item { flex: 1 1 calc(50% - 20px); }
	.careers__wrap { padding-top: 44px; }
	.careers__card { padding: 30px 22px; border-radius: 26px; }
	.careers__title { font-size: 32px; }
	.footer__inner { padding-block: 48px 32px; gap: 32px; }
	.footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.footer__legal { gap: 16px 20px; }
	.cap-grid .cap-card, .team-grid .team-card { padding: 22px; }
	.entry { font-size: 17px; padding-block: 44px; }
}

/* Small mobile -------------------------------------------------------------- */
@media (max-width: 480px) {
	:root { --gutter: 16px; }
	.sec-title { font-size: 30px; }
	.hero__title { font-size: 40px; }
	.hero--inner .hero__title { font-size: 36px; }
	.brand img { width: 108px; height: 42px; }
	.site-header__panel { margin-inline: 12px; }
	.hv-card .gborder__inner { padding: 16px; }
	.hv-head { flex-direction: column; align-items: flex-start; }
	.cta__title { font-size: 32px; }
	.testimonial__quote { font-size: 18px; }
	.fact { flex: 1 1 100%; }
	.journey__item { flex: 1 1 100%; }
	.footer__top { grid-template-columns: 1fr; }
	.tag { height: auto; min-height: 30px; padding-block: 4px; }
	.project-card__body { padding: 22px; }
	.project-card__title { font-size: 21px; }
	.post-card__title { font-size: 20px; }
	.timeline__bar { flex-wrap: wrap; padding-block: 8px; }
	.notfound__code { font-size: 96px; }
	.band__value { font-size: 36px; }
	.btn--primary, .btn--outline, .btn--ghost { padding-inline: 20px; }
}

@media (max-width: 1024px) {
	.testimonial__nav--floating { right: 40px; bottom: 44px; }
}
@media (max-width: 768px) {
	.testimonial__nav--floating { position: relative; right: auto; bottom: auto; margin-top: -4px; }
}
