/**
 * QTech Distribution Website v2
 * Individual Brand Page Styles
 *
 * Enterprise, premium and minimal design.
 *
 * @package BridgeChild
 */

/* ----------------------------------------------------------
   Brand Page Base
---------------------------------------------------------- */

.qtech-brand-page,
.qtech-brand-page *,
.qtech-brand-page *::before,
.qtech-brand-page *::after {
	box-sizing: border-box;
}

.qtech-brand-page {
	--qtech-brand-green: #2f8f46;
	--qtech-brand-green-dark: #246f36;
	--qtech-brand-text: #1f2933;
	--qtech-brand-text-light: #697386;
	--qtech-brand-border: #e4e7eb;
	--qtech-brand-background: #ffffff;
	--qtech-brand-background-light: #f6f7f8;
	--qtech-brand-radius: 8px;
	--qtech-brand-radius-large: 16px;
	--qtech-brand-container-width: 1280px;
	--qtech-brand-transition: 0.3s ease;
	--qtech-brand-shadow: 0 12px 35px rgba(31, 41, 51, 0.08);

	background: var(--qtech-brand-background);
	color: var(--qtech-brand-text);
}

.qtech-brand-page img {
	display: block;
	max-width: 100%;
	height: auto;
}

.qtech-brand-container {
	width: calc(100% - 48px);
	max-width: var(--qtech-brand-container-width);
	margin-right: auto;
	margin-left: auto;
}

.qtech-brand-page section {
	padding: 100px 0;
}

/* ----------------------------------------------------------
   Buttons
---------------------------------------------------------- */

.qtech-brand-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--qtech-brand-green);
	border-radius: var(--qtech-brand-radius);
	background: var(--qtech-brand-green);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color var(--qtech-brand-transition),
		border-color var(--qtech-brand-transition),
		color var(--qtech-brand-transition),
		transform var(--qtech-brand-transition);
}

.qtech-brand-button:hover,
.qtech-brand-button:focus {
	border-color: var(--qtech-brand-green-dark);
	background: var(--qtech-brand-green-dark);
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
}

.qtech-brand-button-outline {
	background: transparent;
	color: var(--qtech-brand-green);
}

.qtech-brand-button-outline:hover,
.qtech-brand-button-outline:focus {
	color: #ffffff;
}

/* ----------------------------------------------------------
   Brand Hero
---------------------------------------------------------- */

.qtech-brand-hero {
	background: var(--qtech-brand-background-light);
}

.qtech-brand-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
	align-items: center;
	gap: 80px;
}

.qtech-brand-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 35px;
	color: var(--qtech-brand-text-light);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: color var(--qtech-brand-transition);
}

.qtech-brand-back-link:hover,
.qtech-brand-back-link:focus {
	color: var(--qtech-brand-green);
	text-decoration: none;
}

.qtech-brand-category,
.qtech-brand-eyebrow {
	margin: 0 0 16px;
	color: var(--qtech-brand-green);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.qtech-brand-title {
	margin: 0 0 20px;
	color: var(--qtech-brand-text);
	font-size: clamp(2.8rem, 5vw, 4.6rem);
	font-weight: 700;
	line-height: 1.08;
}

.qtech-brand-tagline {
	max-width: 700px;
	margin: 0 0 20px;
	color: var(--qtech-brand-text);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 500;
	line-height: 1.5;
}

.qtech-brand-description {
	max-width: 680px;
	margin: 0;
	color: var(--qtech-brand-text-light);
	font-size: 1.05rem;
	line-height: 1.85;
}

.qtech-brand-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

/* ----------------------------------------------------------
   Hero Visual
---------------------------------------------------------- */

.qtech-brand-hero-visual {
	position: relative;
}

.qtech-brand-logo-panel {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70%;
	min-height: 140px;
	padding: 30px;
	margin-bottom: -35px;
	margin-left: auto;
	border: 1px solid var(--qtech-brand-border);
	border-radius: var(--qtech-brand-radius-large);
	background: #ffffff;
	box-shadow: var(--qtech-brand-shadow);
}

.qtech-brand-logo-panel img {
	width: auto;
	max-width: 220px;
	max-height: 80px;
	object-fit: contain;
}

.qtech-brand-hero-image {
	overflow: hidden;
	border: 1px solid var(--qtech-brand-border);
	border-radius: var(--qtech-brand-radius-large);
	background: #ffffff;
}

.qtech-brand-hero-image img {
	width: 100%;
	min-height: 420px;
	object-fit: cover;
}

/* ----------------------------------------------------------
   Overview / Split Content
---------------------------------------------------------- */

.qtech-brand-overview {
	background: #ffffff;
}

.qtech-brand-section-grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
	gap: 80px;
	max-width: 1100px;
	margin: 0 auto;
}

.qtech-brand-section-label p {
	margin: 6px 0 0;
	color: var(--qtech-brand-green);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qtech-brand-section-content h2 {
	margin: 0 0 24px;
	color: var(--qtech-brand-text);
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.2;
}

.qtech-brand-section-content > p {
	margin: 0;
	color: var(--qtech-brand-text-light);
	font-size: 1.08rem;
	line-height: 1.9;
}

/* ----------------------------------------------------------
   Section Heading
---------------------------------------------------------- */

.qtech-brand-section-heading {
	max-width: 800px;
	margin-bottom: 55px;
}

.qtech-brand-section-heading h2 {
	margin: 0;
	color: var(--qtech-brand-text);
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.2;
}

.qtech-brand-section-heading-centered {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

/* ----------------------------------------------------------
   Solutions
---------------------------------------------------------- */

.qtech-brand-solutions {
	background: var(--qtech-brand-background-light);
}

.qtech-brand-solutions-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.qtech-brand-solution-card {
	min-height: 250px;
	padding: 34px;
	border: 1px solid var(--qtech-brand-border);
	border-radius: var(--qtech-brand-radius-large);
	background: #ffffff;
	transition:
		border-color var(--qtech-brand-transition),
		box-shadow var(--qtech-brand-transition),
		transform var(--qtech-brand-transition);
}

.qtech-brand-solution-card:hover {
	border-color: #cfd4d9;
	box-shadow: var(--qtech-brand-shadow);
	transform: translateY(-5px);
}

.qtech-brand-solution-card h3 {
	margin: 0 0 18px;
	color: var(--qtech-brand-text);
	font-size: 1.35rem;
	line-height: 1.35;
}

.qtech-brand-solution-card p {
	margin: 0;
	color: var(--qtech-brand-text-light);
	font-size: 0.95rem;
	line-height: 1.8;
}

/* ----------------------------------------------------------
   Benefits
---------------------------------------------------------- */

.qtech-brand-benefits {
	background: #ffffff;
}

.qtech-brand-benefits-list {
	display: grid;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.qtech-brand-benefits-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	color: var(--qtech-brand-text);
	font-size: 1rem;
	line-height: 1.7;
}

.qtech-brand-check {
	display: inline-flex;
	flex: 0 0 25px;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin-top: 2px;
	border-radius: 50%;
	background: #f2f8f3;
	color: var(--qtech-brand-green);
	font-size: 0.75rem;
	font-weight: 700;
}

/* ----------------------------------------------------------
   Applications
---------------------------------------------------------- */

.qtech-brand-applications {
	background: var(--qtech-brand-background-light);
}

.qtech-brand-applications-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.qtech-brand-application {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	padding: 20px;
	border: 1px solid var(--qtech-brand-border);
	border-radius: var(--qtech-brand-radius);
	background: #ffffff;
	color: var(--qtech-brand-text);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	transition:
		border-color var(--qtech-brand-transition),
		transform var(--qtech-brand-transition),
		box-shadow var(--qtech-brand-transition);
}

.qtech-brand-application:hover {
	border-color: #cfd4d9;
	box-shadow: 0 8px 24px rgba(31, 41, 51, 0.06);
	transform: translateY(-3px);
}

/* ----------------------------------------------------------
   CTA
---------------------------------------------------------- */

.qtech-brand-cta {
	background: #ffffff;
}

.qtech-brand-cta-box {
	max-width: 1000px;
	padding: 72px 50px;
	margin: 0 auto;
	border: 1px solid var(--qtech-brand-border);
	border-radius: var(--qtech-brand-radius-large);
	background: var(--qtech-brand-background-light);
	text-align: center;
}

.qtech-brand-cta-box h2 {
	margin: 0 0 18px;
	color: var(--qtech-brand-text);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.2;
}

.qtech-brand-cta-box > p:not(.qtech-brand-eyebrow) {
	max-width: 700px;
	margin: 0 auto 32px;
	color: var(--qtech-brand-text-light);
	font-size: 1.05rem;
	line-height: 1.8;
}

/* ----------------------------------------------------------
   Fallback / Not Found
---------------------------------------------------------- */

.qtech-brand-not-found {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--qtech-brand-background-light);
}

.qtech-brand-not-found h1 {
	margin: 0 0 18px;
	color: var(--qtech-brand-text);
}

.qtech-brand-not-found p {
	margin: 0 0 30px;
	color: var(--qtech-brand-text-light);
}

/* ----------------------------------------------------------
   Accessibility
---------------------------------------------------------- */

.qtech-brand-page a:focus-visible {
	outline: 3px solid rgba(47, 143, 70, 0.35);
	outline-offset: 3px;
}

/* ----------------------------------------------------------
   Tablet
---------------------------------------------------------- */

@media screen and (max-width: 1100px) {

	.qtech-brand-page section {
		padding: 80px 0;
	}

	.qtech-brand-hero-grid {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.qtech-brand-hero-content {
		max-width: 800px;
	}

	.qtech-brand-hero-visual {
		max-width: 760px;
	}

	.qtech-brand-section-grid {
		gap: 50px;
	}

	.qtech-brand-solutions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qtech-brand-applications-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ----------------------------------------------------------
   Mobile
---------------------------------------------------------- */

@media screen and (max-width: 767px) {

	.qtech-brand-container {
		width: calc(100% - 32px);
	}

	.qtech-brand-page section {
		padding: 60px 0;
	}

	.qtech-brand-title {
		font-size: 2.6rem;
	}

	.qtech-brand-tagline {
		font-size: 1.2rem;
	}

	.qtech-brand-description {
		font-size: 1rem;
	}

	.qtech-brand-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.qtech-brand-button {
		width: 100%;
	}

	.qtech-brand-logo-panel {
		width: 88%;
		min-height: 115px;
		padding: 25px;
		margin-bottom: -25px;
	}

	.qtech-brand-logo-panel img {
		max-width: 180px;
		max-height: 65px;
	}

	.qtech-brand-hero-image img {
		min-height: 280px;
	}

	.qtech-brand-section-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.qtech-brand-section-label p {
		margin: 0;
	}

	.qtech-brand-section-heading {
		margin-bottom: 38px;
	}

	.qtech-brand-solutions-grid {
		grid-template-columns: 1fr;
	}

	.qtech-brand-solution-card {
		min-height: auto;
		padding: 28px;
	}

	.qtech-brand-applications-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.qtech-brand-application {
		min-height: 100px;
		padding: 16px;
		font-size: 0.88rem;
	}

	.qtech-brand-cta-box {
		padding: 48px 24px;
	}

	.qtech-brand-cta-box .qtech-brand-button {
		width: 100%;
	}
}

/* ----------------------------------------------------------
   Small Mobile
---------------------------------------------------------- */

@media screen and (max-width: 480px) {

	.qtech-brand-applications-grid {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------
   Reduced Motion
---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.qtech-brand-page *,
	.qtech-brand-page *::before,
	.qtech-brand-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   BRAND PRODUCTS SECTION
========================================================= */

.qtech-brand-products {
    padding: 100px 30px;
    background: #f7f8fa;
}

.qtech-brand-products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.qtech-brand-products-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.qtech-brand-products-heading span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4d7c32;
}

.qtech-brand-products-heading h2 {
    margin: 0 0 15px;
    font-size: 48px;
    line-height: 1.15;
    color: #243447;
}

.qtech-brand-products-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
}


/* PRODUCTS GRID */

.qtech-brand-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}


/* PRODUCT CARD */

.qtech-brand-product-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.qtech-brand-product-card:hover {
    transform: translateY(-6px);
    border-color: #d1d5db;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}


/* PRODUCT IMAGE */

.qtech-brand-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    padding: 25px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f2;
}

.qtech-brand-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.qtech-brand-product-card:hover
.qtech-brand-product-image img {
    transform: scale(1.05);
}

.qtech-brand-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: #64748b;
    background: #f1f5f9;
}


/* PRODUCT CONTENT */

.qtech-brand-product-content {
    padding: 28px;
}

.qtech-brand-product-category {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4d7c32;
}

.qtech-brand-product-content h3 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.3;
}

.qtech-brand-product-content h3 a {
    color: #243447;
    text-decoration: none;
    transition: color 0.25s ease;
}

.qtech-brand-product-content h3 a:hover {
    color: #4d7c32;
}

.qtech-brand-product-content p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
}


/* VIEW PRODUCT LINK */

.qtech-brand-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #4d7c32;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.qtech-brand-product-link:hover {
    gap: 13px;
    color: #315a20;
}


/* EMPTY STATE */

.qtech-brand-products-empty {
    padding: 50px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
}

.qtech-brand-products-empty p {
    margin: 0;
    color: #64748b;
}


/* RESPONSIVE */

@media (max-width: 1024px) {

    .qtech-brand-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qtech-brand-products-heading h2 {
        font-size: 40px;
    }

}


@media (max-width: 767px) {

    .qtech-brand-products {
        padding: 70px 20px;
    }

    .qtech-brand-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qtech-brand-products-heading {
        margin-bottom: 35px;
    }

    .qtech-brand-products-heading h2 {
        font-size: 34px;
    }

    .qtech-brand-product-image {
        height: 230px;
    }

}