/* =========================================================================
 * CCW Footer (Modern) — newsletter band + logo · social · copyright bar.
 * ===================================================================== */

.ccw-mfooter { width: 100%; }

/* ---- Newsletter band -------------------------------------------------- */
.ccw-mfooter__nl {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #FFD6E7;
}
/* Background image lives on a ::before so its opacity is adjustable
   without fading the text/form. */
.ccw-mfooter__nl::before {
	content: "";
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
}
.ccw-mfooter__nl-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: clamp(20px, 3vw, 48px);
	padding-block: var(--ccw-space-3);
}
.ccw-mfooter__nl-text { flex: 0 1 auto; }
.ccw-mfooter__nl-heading {
	font-family: var(--ccw-font-body);
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ccw-heading);
	margin: 0;
}
.ccw-mfooter__nl-sub { font-size: 0.9rem; color: #6B6069; margin-top: 2px; }

/* Single row: two inputs share the space, button stays its size. */
.ccw-mfooter__nl-form {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	max-width: 640px;
}
.ccw-mfooter__nl-input {
	flex: 1 1 0;
	min-width: 0;
	padding: 13px 16px;
	font-size: 0.9rem;
	color: var(--ccw-heading);
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 6px;
}
.ccw-mfooter__nl-input::placeholder { color: #B6A9B1; }
.ccw-mfooter__nl-input:focus { outline: none; box-shadow: var(--ccw-ring); }
.ccw-mfooter__nl-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	font-family: var(--ccw-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
	background: linear-gradient(135deg, #E7C873, #C9A227);
	border-radius: 6px;
	transition: transform 0.2s var(--ccw-ease-out), filter 0.2s ease;
}
.ccw-mfooter__nl-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }

/* ---- Footer bar ------------------------------------------------------- */
.ccw-mfooter__bar { width: 100%; background-color: #FFFDFB; }
.ccw-mfooter__bar-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--ccw-space-3);
	padding-block: var(--ccw-space-3);
}

.ccw-mfooter__brand-link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ccw-mfooter__logo { height: 64px; width: auto; display: block; }
.ccw-mfooter__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ccw-mfooter__brand-name {
	font-family: var(--ccw-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ccw-heading);
}
.ccw-mfooter__brand-tag {
	font-family: var(--ccw-font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #C9A227;
	margin-top: 3px;
}

.ccw-mfooter__social { display: flex; justify-content: center; gap: 12px; }
.ccw-mfooter__soc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #C9A227;
	border: 1.5px solid #C9A227;
	background: transparent;
	transition: var(--ccw-transition);
}
.ccw-mfooter__soc:hover { color: #fff; background: #C9A227; border-color: #C9A227; transform: translateY(-3px); }
.ccw-mfooter__soc svg, .ccw-mfooter__soc i { width: 18px; height: 18px; font-size: 18px; fill: currentColor; }

.ccw-mfooter__copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; }
.ccw-mfooter__copy-text { font-size: 0.78rem; color: var(--ccw-text-muted); line-height: 1.4; }
.ccw-mfooter__copy-sign { font-family: var(--ccw-font-script); font-size: 1.05rem; color: #E0218A; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
	.ccw-mfooter__nl-inner { flex-direction: column; text-align: center; align-items: center; }
	.ccw-mfooter__nl-form { justify-content: center; }
	.ccw-mfooter__bar-inner { grid-template-columns: 1fr; justify-items: center; gap: var(--ccw-space-2); text-align: center; }
	.ccw-mfooter__brand-link { flex-direction: column; text-align: center; gap: 8px; }
	.ccw-mfooter__brand-text { align-items: center; }
	.ccw-mfooter__copy { align-items: center; text-align: center; }
}
@media (max-width: 600px) {
	.ccw-mfooter__nl-form { width: 100%; max-width: none; flex-wrap: wrap; }
	.ccw-mfooter__nl-input { flex: 1 1 100%; }
	.ccw-mfooter__nl-btn { width: 100%; justify-content: center; }
}
