/* ============================================================
   Parkwellness — Site Footer
   Same markup reflows across 3 tiers via CSS Grid template areas —
   no DOM reordering needed:
   - Mobile (default): single column, stacked in this order — logo
     (+tagline+divider+social), schedule (+address+phone+CTA), hours,
     statement, bottom (tagline above copyright — see .pw-footer-bottom).
   - Tablet (700px+): logo full width; schedule + hours side by side;
     statement full width; bottom row (copyright left / tagline right).
   - Desktop (1024px+): logo | schedule | hours in one row; statement
     full width; bottom row.
   ============================================================ */

.pw-footer {
	background-color: var(--color-dark-800);
	padding-block: 64px 32px;
}

.pw-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	grid-template-areas:
		"logo"
		"schedule"
		"hours"
		"statement"
		"bottom";
}

@media (min-width: 700px) {
	.pw-footer-grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
		grid-template-areas:
			"logo logo"
			"schedule hours"
			"statement statement"
			"bottom bottom";
	}
}

@media (min-width: 1024px) {
	.pw-footer-grid {
		grid-template-columns: minmax(240px, 300px) 1fr 1fr;
		column-gap: 60px;
		grid-template-areas:
			"logo schedule hours"
			"statement statement statement"
			"bottom bottom bottom";
	}
}

/* -------------------------------------------------------
   Logo column
   ------------------------------------------------------- */
.pw-footer-logo-col {
	grid-area: logo;
}

.pw-footer-logo {
	display: inline-block;
}

.pw-footer-logo-img {
	display: block;
	width: auto;
	max-height: 56px;
}

@media (min-width: 700px) {
	.pw-footer-logo-img {
		max-height: 80px;
	}
}

p.pw-footer-tagline {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-gold-300);
	margin-top: 14px;
}

/* img. prefix + clamp() width — same fix/values as every other
   divider reusing this graphic sitewide: a single class loses to
   reset.css's ".pw-landing img" on max-width, and the ceiling is the
   same 379px sitewide for visual consistency. Left-aligned, matching
   this column's left-aligned content. */
img.pw-footer-divider {
	display: block;
	width: clamp(160px, 22vw, 260px);
	height: auto;
	margin: 16px 0;
}

.pw-footer-social {
	display: flex;
	gap: 12px;
}

.pw-footer-social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--color-taupe-600);
	transition: border-color var(--transition-fast);
}

.pw-footer-social-icon:hover {
	border-color: var(--color-gold-300);
}

.pw-footer-social-icon img {
	display: block;
}

/* -------------------------------------------------------
   Schedule column
   ------------------------------------------------------- */
.pw-footer-schedule-col {
	grid-area: schedule;
}

.pw-footer-hours-col {
	grid-area: hours;
}

p.pw-footer-label {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-gold-300);
	margin-bottom: 18px;
}

p.pw-footer-address {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-cream-200);
	margin-bottom: 16px;
}

p.pw-footer-phone {
	font-family: var(--font-body);
	font-size: 15px;
	margin-bottom: 20px;
}

p.pw-footer-phone a {
	color: var(--color-gold-300);
}

.pw-footer-cta {
	display: inline-flex !important;
}

/* -------------------------------------------------------
   Hours list
   ------------------------------------------------------- */
.pw-footer-hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* margin-left:0 !important — Thrive's parent-theme style.css sets
   "ul>li:not(.thrv-styled-list-item){margin-left:1.5em}" (2 elements
   + a :not() pseudo-class), which outranks this class+element
   selector; same Thrive-conflict !important precedent used elsewhere
   in this project (see feedback-css-specificity-gotchas memory). */
.pw-footer-hours-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-left: 0 !important;
	font-family: var(--font-body);
	font-size: 14px;
}

.pw-footer-hours-day {
	flex: 0 0 100px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-cream-200);
}

.pw-footer-hours-value {
	color: var(--color-cream-300);
}

/* -------------------------------------------------------
   Statement
   ------------------------------------------------------- */
p.pw-footer-statement {
	grid-area: statement;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-cream-300);
	text-align: center;
}

/* -------------------------------------------------------
   Bottom row — mobile: tagline stacked above copyright (see
   column-reverse below); tablet+: copyright left, tagline right.
   ------------------------------------------------------- */
.pw-footer-bottom {
	grid-area: bottom;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--color-dark-200);
}

@media (min-width: 700px) {
	.pw-footer-bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
}

p.pw-footer-copyright {
	font-family: var(--font-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-cream-300);
}

p.pw-footer-bottom-tagline {
	font-family: var(--font-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-cream-300);
}
