/**
 * Enhanced Footer Styling
 * Professional 5-column layout with brand section
 * @package GoMedWear
 */

/* Footer Main Container */
.site-footer__main {
	background: #0f2722;
	padding: 60px 0;
	border-top: 1px solid #0a1f1a;
}

/* Footer Grid - 5 Columns + Brand */
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Brand Section */
.site-footer__brand {
	grid-column: 1;
}

.site-footer__brand .brand {
	display: block;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 16px;
	text-decoration: none;
	color: #fff;
}

.site-footer__brand .brand--light {
	color: #fff;
}

.site-footer__brand .brand__mark {
	color: #ffc107;
	margin-right: 4px;
}

.site-footer__brand .brand__word {
	color: #fff;
}

.site-footer__pitch {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 16px 0;
}

.site-footer__contact {
	font-size: 13px;
	margin: 16px 0;
}

.site-footer__contact a {
	color: #ffc107;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__contact a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Footer Columns */
.site-footer__col {
	grid-column: auto;
}

.site-footer__col h4 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ffc107;
}

.site-footer__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer__col li {
	margin-bottom: 12px;
}

.site-footer__col a {
	display: inline-block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.site-footer__col a:hover {
	color: #ffc107;
	padding-left: 4px;
}

.site-footer__col a::before {
	content: '→';
	display: inline-block;
	margin-right: 6px;
	opacity: 0;
	transform: translateX(-4px);
	transition: all 0.3s ease;
}

.site-footer__col a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

/* Social Row */
.social-row--footer {
	margin-top: 20px;
}

.social-row--footer a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 12px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-row--footer a:hover {
	background: #ffc107;
	color: #000;
	transform: translateY(-3px);
}

/* Footer Bottom */
.site-footer__bottom {
	background: #1a1a1a;
	padding: 30px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-copyright {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.site-footer__menu li {
	margin: 0;
}

.site-footer__menu a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__menu a:hover {
	color: #ffc107;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr;
		gap: 30px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer__col h4 {
		font-size: 13px;
	}

	.site-footer__col a {
		font-size: 12px;
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	.site-footer__main {
		padding: 40px 0;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.site-footer__brand {
		grid-column: auto;
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}

	.site-footer__col h4 {
		font-size: 12px;
		margin-bottom: 16px;
	}

	.site-footer__col {
		padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.site-footer__menu {
		justify-content: center;
	}

	.footer-copyright {
		order: -1;
	}
}

/* Newsletter Section */
.newsletter-section {
	background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
	border-bottom: 1px solid #e0e0e0;
}

.newsletter-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 40px;
	align-items: center;
}

.newsletter-content h3 {
	font-size: 24px;
	font-weight: 700;
	color: #000;
	margin-bottom: 12px;
}

.newsletter-content p {
	font-size: 14px;
	color: #555;
	margin: 0;
}

.newsletter-form {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.newsletter-form input {
	flex: 1;
	min-width: 200px;
	padding: 12px 16px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
	outline: none;
	border-color: #ffc107;
	box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.newsletter-form button {
	padding: 12px 30px;
	background: #ffc107;
	color: #000;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.newsletter-form button:hover {
	background: #ffb300;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.newsletter-privacy {
	font-size: 11px;
	color: #999;
	margin-top: 8px !important;
	text-align: center;
}

@media (max-width: 768px) {
	.newsletter-wrapper {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.newsletter-content h3 {
		font-size: 18px;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-form input,
	.newsletter-form button {
		width: 100%;
	}
}

/* ================= v3.6.0: footer redesign ================= */

/* CTA band v2 — gradient panel, dual CTA, trust row */
.cta-band--v2{background:linear-gradient(135deg,#0d3229 0%,#14493c 55%,#0d3229 100%);position:relative;overflow:hidden;padding:3.4rem 0;}
.cta-band--v2::before{content:"";position:absolute;right:-140px;top:-140px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(201,150,46,.28),transparent 65%);}
.cta-band--v2::after{content:"";position:absolute;left:-120px;bottom:-160px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(64,180,152,.2),transparent 65%);}
.cta-band--v2 .cta-band__inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.cta-band--v2 .cta-band__title{color:#fff;font-size:clamp(1.6rem,3.4vw,2.3rem);margin:0 0 .4rem;}
.cta-band--v2 .cta-band__text{color:rgba(255,255,255,.82);margin:0 0 .9rem;max-width:46ch;}
.cta-band__trust{list-style:none;margin:0;padding:0;display:flex;gap:1.1rem;flex-wrap:wrap;}
.cta-band__trust li{color:#9fe0cf;font-size:.82rem;font-weight:600;}
.cta-band__trust li::before{content:"✓ ";}
.cta-band__actions{display:flex;flex-direction:column;gap:.7rem;min-width:240px;}
.btn--wa{background:#1fae54;color:#fff;border:0;}
.btn--wa:hover{background:#189247;color:#fff;transform:translateY(-2px);}

/* Link grid — brand + auto columns, wide cols split into 2 */
.site-footer__grid{display:grid;grid-template-columns:minmax(240px,1.25fr) repeat(auto-fit,minmax(160px,1fr));gap:2.2rem 1.8rem;align-items:start;}
.site-footer__col h4{position:relative;padding-bottom:.55rem;margin-bottom:.9rem;letter-spacing:.1em;}
.site-footer__col h4::after{content:"";position:absolute;left:0;bottom:0;width:2rem;height:2px;background:var(--gold,#c9962e);border-radius:2px;}
.site-footer__col ul{margin:0;padding:0;list-style:none;}
.site-footer__col li{margin:0 0 .45rem;}
.site-footer__col a{opacity:.82;transition:opacity .15s ease,transform .15s ease;display:inline-block;}
.site-footer__col a:hover{opacity:1;transform:translateX(3px);color:var(--gold,#c9962e);}
.site-footer__col--wide ul{columns:2;column-gap:1.4rem;}
.site-footer__col--wide{grid-column:span 2;}
@media (max-width:900px){.site-footer__col--wide{grid-column:span 1;}.site-footer__col--wide ul{columns:1;}}

/* Colour chips band */
.site-footer__colors{margin-top:2.4rem;padding-top:1.8rem;border-top:1px solid rgba(255,255,255,.1);}
.site-footer__colors h4{color:#fff;letter-spacing:.1em;margin:0 0 .9rem;font-size:.8rem;text-transform:uppercase;}
.footer-chips{display:flex;flex-wrap:wrap;gap:.5rem;}
.footer-chip{display:inline-flex;align-items:center;gap:.42rem;padding:.34rem .75rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;font-size:.78rem;color:rgba(255,255,255,.85);transition:all .15s ease;background:rgba(255,255,255,.04);}
.footer-chip:hover{border-color:var(--gold,#c9962e);color:#fff;background:rgba(255,255,255,.09);transform:translateY(-1px);}
.footer-chip__dot{width:.72rem;height:.72rem;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}

/* Newsletter polish */
.newsletter-wrapper{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.8rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;box-shadow:var(--shadow);}
.newsletter-content h3{margin:0 0 .25rem;}
.newsletter-content p{margin:0;color:var(--ink-soft);font-size:.92rem;}
.newsletter-form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;}
.newsletter-form input[type=email]{padding:.7rem .9rem;border:1px solid var(--line);border-radius:8px;min-width:230px;}
.newsletter-privacy{flex-basis:100%;margin:.2rem 0 0;color:var(--ink-soft);font-size:.75rem;}

/* Bottom bar */
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.1);}
.site-footer__bottom-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.1rem 0;}
.footer-copyright{opacity:.7;font-size:.82rem;}

/* ================= v3.6.2: compact footer — no more long single-file lists ================= */

/* Dense 2-row grid: brand & Products span both rows; Services flows 2-col
   under Styles/Islamic; Company under Fabrics. Everything above the fold-ish. */
.site-footer__main{padding:2.4rem 0 1.6rem;}
.site-footer__grid{grid-template-columns:1.15fr 1.6fr 1fr 1fr 1fr;gap:1.6rem 1.6rem;}
.site-footer__brand{grid-row:span 2;}
.site-footer__col--wide{grid-column:auto;grid-row:span 2;}
/* EVERY long list flows into auto columns — the efficient trick:
   column-width lets the browser split any list that gets tall. */
.site-footer__col ul{columns:1;}
.site-footer__col--wide ul{columns:2;column-gap:1.2rem;}
.site-footer__col li{margin:0 0 .34rem;break-inside:avoid;}
.site-footer__col a{font-size:.82rem;line-height:1.45;}
.site-footer__col h4{margin-bottom:.65rem;padding-bottom:.45rem;font-size:.74rem;}
/* Services (10 links) sits in row 2 spanning two tracks, split in 2 columns */
.site-footer__grid > .site-footer__col:nth-of-type(6){grid-column:3/5;}
.site-footer__grid > .site-footer__col:nth-of-type(6) ul{columns:2;column-gap:1.2rem;}
/* Colour chips band tighter */
.site-footer__colors{margin-top:1.6rem;padding-top:1.3rem;}
.site-footer__colors h4{margin-bottom:.6rem;}
.footer-chip{padding:.26rem .62rem;font-size:.73rem;}
/* Newsletter band tighter */
.newsletter-section.section{padding-top:2rem;padding-bottom:2rem;}
.newsletter-wrapper{padding:1.2rem 1.4rem;}

@media (max-width:1080px){
	.site-footer__grid{grid-template-columns:1fr 1fr;}
	.site-footer__brand,.site-footer__col--wide{grid-row:auto;grid-column:span 2;}
	.site-footer__grid > .site-footer__col:nth-of-type(6){grid-column:span 2;}
}
@media (max-width:560px){
	.site-footer__grid{grid-template-columns:1fr;}
	.site-footer__brand,.site-footer__col--wide,.site-footer__grid > .site-footer__col:nth-of-type(6){grid-column:auto;}
	.site-footer__col--wide ul,.site-footer__grid > .site-footer__col:nth-of-type(6) ul{columns:2;}
}

/* v3.6.2b: kill hidden arrow reserving space before every link (it forced
   2-line wraps in the narrow flowing columns), widen Products, pin Services. */
.site-footer__col a::before{content:none;}
.site-footer__col a:hover{padding-left:0;transform:translateX(3px);}
.site-footer__grid{grid-template-columns:1.1fr 2fr 1fr 1fr 1fr;}
.site-footer__col a{font-size:12.5px;line-height:1.4;}
.site-footer__col li{margin:0 0 .3rem;}
/* Services (6th div, gets --wide from PHP): stays in ROW 2 under Styles+Islamic,
   two flowing columns — never a third row. */
.site-footer__grid > div:nth-of-type(6){grid-row:auto;grid-column:3/5;}
.site-footer__grid > div:nth-of-type(6) ul{columns:2;column-gap:1.2rem;}
/* Company (7th div): row 2 under Fabrics. */
.site-footer__grid > div:nth-of-type(7){grid-column:5;}
@media (max-width:1080px){
	.site-footer__grid > div:nth-of-type(6){grid-column:span 2;grid-row:auto;}
	.site-footer__grid > div:nth-of-type(7){grid-column:span 2;}
}
@media (max-width:560px){
	.site-footer__grid > div:nth-of-type(6),.site-footer__grid > div:nth-of-type(7){grid-column:auto;}
}

/* v3.6.2c: CSS multicol balancing is unreliable — use grid for 2-col lists.
   display:grid on the ul is bulletproof in every browser. */
.site-footer__col--wide ul,
.site-footer__grid > div:nth-of-type(6) ul{
	columns:auto;display:grid;grid-template-columns:1fr 1fr;column-gap:1.2rem;row-gap:0;align-content:start;
}
.site-footer__col--wide li,
.site-footer__grid > div:nth-of-type(6) li{margin:0 0 .3rem;}
@media (max-width:560px){
	.site-footer__col--wide ul,.site-footer__grid > div:nth-of-type(6) ul{grid-template-columns:1fr 1fr;}
}

/* v3.6.2d: row-span belongs ONLY to Products (2nd div); any other list with
   8+ links just becomes a 2-col grid in place (e.g. Fabrics). */
.site-footer__col--wide{grid-row:auto;}
.site-footer__grid > div:nth-of-type(2){grid-row:span 2;}
