/*
 * home.css
 *
 * Front-page sections: hero, USP strip, category tiles,
 * services, the B2B band and the about block.
 * Part of the Unitex child theme. Enqueued from inc/enqueue.php.
 */

/* ==========================================================
   1. HERO
   ========================================================== */
.ux-hero {
	position: relative;
	overflow: hidden;
	background: var(--ux-red);
	border-top: 1px solid #fff;
	padding: 72px 0 86px;
}

/* diagonal hatch */
.ux-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: repeating-linear-gradient(135deg,
		rgba(255,255,255,.075) 0 2px, transparent 2px 13px);
}

/* dark wedge on the right */
.ux-hero::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 36%;
	background: var(--ux-dark);
	opacity: .9;
	clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

.ux-hero-in {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 56px;
	align-items: start;
}
.ux-hero-img { position: relative; }

.ux-eyebrow {
	display: inline-block;
	margin: 0 0 26px;
	background: var(--ux-dark);
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	padding: 8px 16px;
}

.ux-hero h1 {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(46px, 4.6vw, 70px);
	line-height: .98;
	letter-spacing: -.035em;
}
.ux-hero h1 .ux-stroke {
	color: transparent;
	-webkit-text-stroke: 2px #fff;
	text-stroke: 2px #fff;
}

.ux-hero-lead {
	margin: 0 0 34px;
	max-width: 44ch;
	font-size: 18.5px;
	line-height: 1.6;
	color: rgba(255,255,255,.9);
	text-wrap: pretty;
}

.ux-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ux-hero-btns a {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 18px 32px;
	transition: background .2s ease, color .2s ease;
}
.ux-hero-btns .ux-a1 { background: var(--ux-dark); color: #fff; }
.ux-hero-btns .ux-a1:hover { background: #fff; color: var(--ux-red); }
.ux-hero-btns .ux-a2 { color: #fff; border: 1.5px solid #fff; }
.ux-hero-btns .ux-a2:hover { background: #fff; color: var(--ux-red); }

/* three facts under the buttons, split by vertical rules */
.ux-hero .ux-hero-facts {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 0;
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid rgba(255,255,255,.35);
}
.ux-hero .ux-hero-facts > div { color: #fff !important; }
.ux-hero .ux-hero-facts > div + div {
	padding-left: 28px;
	border-left: 1px solid rgba(255,255,255,.35);
}
.ux-hero .ux-hero-facts strong {
	display: block;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 16px;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: #fff !important;
}
.ux-hero .ux-hero-facts span {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255,255,255,.8) !important;
}

/* framed hero image with offset outline */
.ux-frame {
	position: relative;
	background: #fff;
	padding: 14px;
	box-shadow: 0 26px 54px rgba(60,10,7,.3);
}
.ux-frame::before {
	content: "";
	position: absolute;
	left: 22px; top: 22px; right: -22px; bottom: -22px;
	border: 1.5px solid rgba(255,255,255,.55);
	pointer-events: none;
}
.ux-frame img {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: cover;
	background: #FBF2F0;
}

/* dark badge over the image */
.ux-hero-badge {
	position: absolute;
	left: -20px;
	bottom: 16px;
	z-index: 3;
	background: var(--ux-dark);
	color: #fff;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	gap: 13px;
}
.ux-hero-badge i {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ux-red);
	font-style: normal;
	font-size: 17px;
}
.ux-hero-badge strong {
	display: block;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 15px;
}
.ux-hero-badge small { font-size: 13px; color: #A79E9C; }

@media (max-width: 1024px) {
	.ux-hero { padding: 48px 0 40px; }
	.ux-hero::after { display: none; }
	.ux-hero-in { grid-template-columns: 1fr; gap: 32px; }
	.ux-hero h1 { font-size: 40px; }
	.ux-hero .ux-hero-facts { grid-template-columns: 1fr !important; margin-top: 32px; }
	.ux-hero .ux-hero-facts > div + div {
		padding-left: 0;
		padding-top: 16px;
		border-left: 0;
		border-top: 1px solid rgba(255,255,255,.35);
	}
	.ux-frame::before { display: none; }
	.ux-frame img { height: 320px; }
	.ux-hero-badge { left: 0; }
}

@media (max-width: 767px) {
	.ux-hero h1 { font-size: 32px; }
	.ux-hero-lead { font-size: 16.5px; }
	.ux-hero-btns { flex-direction: column; align-items: stretch; }
	.ux-hero-btns a { padding: 16px 24px; font-size: 14px; text-align: center; }
	.ux-frame img { height: 260px; }
}

/* ==========================================================
   2. USP STRIP (overlaps the hero)
   ========================================================== */
.ux-usp {
	position: relative;
	z-index: 5;
	margin-top: -60px;
	margin-block-start: -60px;
}

.ux-usp-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border: 1px solid var(--ux-line);
	box-shadow: 0 18px 40px rgba(60, 10, 7, .12);
}
.ux-usp-grid > div {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 24px 26px;
	border-left: 1px solid var(--ux-line-soft);
}
.ux-usp-grid > div:first-child { border-left: 0; }

.ux-usp-grid .ux-num {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ux-tint);
	color: var(--ux-red);
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 13px;
}
.ux-usp-grid strong {
	display: block;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: var(--ux-dark);
	letter-spacing: -.01em;
	text-transform: uppercase;
}
.ux-usp-grid span {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--ux-muted);
}

@media (max-width: 1024px) {
	.ux-usp { margin-top: 20px; margin-block-start: 20px; }
	.ux-usp-grid { grid-template-columns: 1fr 1fr; box-shadow: none; }
	.ux-usp-grid > div:nth-child(3) { border-left: 0; }
	.ux-usp-grid > div:nth-child(n+3) { border-top: 1px solid var(--ux-line-soft); }
}

@media (max-width: 600px) {
	.ux-usp-grid { grid-template-columns: 1fr; }
	.ux-usp-grid > div { border-left: 0; }
	.ux-usp-grid > div + div { border-top: 1px solid var(--ux-line-soft); }
}

/* ==========================================================
   3. CATEGORY TILES & MOSAIC
   ========================================================== */
/* --- three large tiles --- */
.ux-top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ux-top3 .ux-tile {
	position: relative;
	display: block;
	height: 360px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ux-line);
	color: var(--ux-dark);
	transition: border-color .25s ease;
}
.ux-top3 .ux-tile:hover { border-color: var(--ux-dark); }

.ux-top3 .ux-tile-img {
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 276px;
	overflow: hidden;
	background: #FBF2F0;
}
.ux-top3 .ux-tile-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.ux-top3 .ux-tile:hover .ux-tile-img img { transform: scale(1.045); }

.ux-top3 .ux-tile-label {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-top: 1px solid var(--ux-line-soft);
	padding: 18px 22px 20px;
	pointer-events: none;
}
.ux-top3 .ux-tile-label strong {
	display: block;
	font-family: 'Archivo', sans-serif;
	font-weight: 900;
	font-size: 23px;
	letter-spacing: -.02em;
	text-transform: uppercase;
}
.ux-top3 .ux-tile-label span {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	color: var(--ux-muted);
}


/* --- mosaic: 5 columns x 2 rows --- */
.ux-mosaic {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-auto-rows: 300px;
	gap: 16px;
	margin-top: 16px;
}

.ux-mtile {
	position: relative;
	display: block;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ux-line);
	color: var(--ux-dark);
	transition: border-color .25s ease;
}
.ux-mtile:hover { border-color: var(--ux-red); }

.ux-mtile .ux-mimg {
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 70px;
	overflow: hidden;
	background: #FBF2F0;
}
.ux-mtile .ux-mimg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.ux-mtile:hover .ux-mimg img { transform: scale(1.05); }

/* label bar with the red wipe */
.ux-mtile .ux-mlab {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 70px;
	overflow: hidden;
	background: #fff;
	border-top: 1px solid var(--ux-line-soft);
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	pointer-events: none;
}
.ux-mtile .ux-mlab::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ux-red);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .38s cubic-bezier(.4, 0, .2, 1);
}
.ux-mtile:hover .ux-mlab::before { transform: scaleX(1); }
.ux-mtile:hover .ux-mlab { border-top-color: var(--ux-red); }
.ux-mtile .ux-mlab > * { position: relative; }

.ux-mtile .ux-mt {
	font-family: 'Archivo', sans-serif;
	font-weight: 900;
	font-size: 16.5px;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-transform: uppercase;
	text-wrap: pretty;
	transition: color .3s ease .06s, transform .38s cubic-bezier(.4, 0, .2, 1);
}
.ux-mtile .ux-marr {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ux-tint);
	color: var(--ux-red);
	font-size: 14px;
	transition: background .3s ease .06s, color .3s ease .06s,
	            transform .38s cubic-bezier(.4, 0, .2, 1);
}
.ux-mtile:hover .ux-mt   { color: #fff; transform: translateX(4px); }
.ux-mtile:hover .ux-marr { background: #fff; color: var(--ux-red); transform: translateX(-2px); }

@media (max-width: 1024px) {
	.ux-top3 { grid-template-columns: 1fr; }
	.ux-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
}

@media (max-width: 767px) {
	.ux-top3 .ux-tile { height: 300px; }
	.ux-top3 .ux-tile-img { height: 220px; }
	.ux-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

/* ==========================================================
   4. SERVICES (print & embroidery)
   ========================================================== */
.ux-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ux-svc {
	position: relative;
	background: #fff;
	border: 1px solid var(--ux-line);
	border-top: 5px solid var(--ux-red);
	padding: 30px 30px 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: border-color .2s ease;
}
.ux-svc:nth-child(2) { border-top-color: var(--ux-dark); }
.ux-svc:hover { border-color: var(--ux-red); border-top-color: var(--ux-red); }
.ux-svc:nth-child(2):hover { border-color: var(--ux-dark); border-top-color: var(--ux-dark); }

.ux-svc .ux-svc-n {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ux-red);
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 14px;
}
.ux-svc:nth-child(2) .ux-svc-n { background: var(--ux-dark); }

.ux-svc h3 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.ux-svc p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #4A403E;
	text-wrap: pretty;
}

.ux-svc .ux-svc-foot {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--ux-line-soft);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13.5px;
	color: var(--ux-muted);
}
.ux-svc .ux-svc-min {
	flex-shrink: 0;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 13px;
	color: var(--ux-red);
	letter-spacing: .05em;
	text-transform: uppercase;
}
.ux-svc:nth-child(2) .ux-svc-min { color: var(--ux-dark); }

@media (max-width: 1024px) {
	.ux-svc-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   5. B2B BAND
   ========================================================== */
.ux-b2b-wrap { max-width: 1400px; margin: 74px auto 0; padding: 0 32px; }

.ux-b2b {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--ux-dark);
	overflow: hidden;
}

/* --- left, dark half --- */
.ux-b2b-l { padding: 60px 56px; }
.ux-b2b-l .ux-kicker { color: #FF8078; }
.ux-b2b-l h2 {
	margin: 10px 0 18px;
	color: #fff;
	font-size: 44px;
	line-height: 1.02;
}
.ux-b2b-l > p {
	margin: 0 0 30px;
	max-width: 44ch;
	font-size: 17px;
	line-height: 1.6;
	color: #B3A8A6;
	text-wrap: pretty;
}

.ux-b2b-steps { margin: 0 0 34px; border-top: 1px solid #3A302E; }
.ux-b2b-steps div {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid #3A302E;
	font-size: 15px;
	color: #F0EAE9;
}
.ux-b2b-steps b {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	color: #FF8078;
}

.ux-b2b-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ux-b2b-cta .ux-a1 {
	background: var(--ux-red);
	color: #fff;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 18px 32px;
	transition: background .2s ease, color .2s ease;
}
.ux-b2b-cta .ux-a1:hover { background: #fff; color: var(--ux-red); }
.ux-b2b-cta .ux-tel { color: #fff; font-weight: 600; font-size: 15.5px; }
.ux-b2b-cta .ux-tel:hover { color: #FF8078; }

/* --- right, red half --- */
.ux-b2b-r {
	position: relative;
	overflow: hidden;
	background: var(--ux-red);
	padding: 60px 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ux-b2b-r::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: repeating-linear-gradient(135deg,
		rgba(255,255,255,.08) 0 2px, transparent 2px 13px);
}
.ux-b2b-r > * { position: relative; z-index: 2; }

.ux-b2b-r h3 {
	margin: 0 0 28px;
	color: #fff;
	font-size: 34px;
	line-height: 1.05;
	letter-spacing: -.02em;
}

.ux-b2b-list { display: flex; flex-direction: column; gap: 14px; }
.ux-b2b-list div {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16.5px;
	color: #fff;
}
.ux-b2b-foot {
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,.4);
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: #fff;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.ux-b2b-wrap { margin-top: 54px; }
	.ux-b2b { grid-template-columns: 1fr; }
	.ux-b2b-l, .ux-b2b-r { padding: 40px 28px; }
	.ux-b2b-l h2 { font-size: 32px; }
	.ux-b2b-r h3 { font-size: 27px; }
}

/* ==========================================================
   6. ABOUT BLOCK
   ========================================================== */
.ux-about-wrap { max-width: 1400px; margin: 0 auto; padding: 74px 32px; }

.ux-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.ux-about h2 { margin: 8px 0 20px; }
.ux-about-p1 {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.65;
	color: #4A403E;
	text-wrap: pretty;
}
.ux-about-p2 {
	margin: 0 0 30px;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--ux-muted);
	text-wrap: pretty;
}
.ux-about-btn {
	display: inline-block;
	background: #fff;
	border: 1.5px solid var(--ux-dark);
	color: var(--ux-dark);
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 16px 28px;
	transition: background .2s ease, color .2s ease;
}
.ux-about-btn:hover { background: var(--ux-dark); color: #fff; }

/* stats rendered as a table */
.ux-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--ux-line);
	border: 1px solid var(--ux-line);
}
.ux-stats > div { background: #fff; padding: 30px 28px; }
.ux-stats .ux-stat-n {
	margin: 0;
	font-family: 'Archivo', sans-serif;
	font-weight: 900;
	font-size: 34px;
	line-height: 1.05;
	color: var(--ux-red);
}
.ux-stats .ux-stat-s {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ux-muted);
}
.ux-stats .ux-stat-red { background: var(--ux-red); }
.ux-stats .ux-stat-red .ux-stat-n { color: #fff; }
.ux-stats .ux-stat-red .ux-stat-s { color: rgba(255,255,255,.85); }

@media (max-width: 1024px) {
	.ux-about-wrap { padding: 54px 32px; }
	.ux-about { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
	.ux-stats { grid-template-columns: 1fr; }
}
