/* ==========================================================================
   Pride IVF promise band and site footer
   Markup: file/common/subfooter.php, file/common/footer.php.
   Uses the tokens and .pg-wrap / .pg-i from nav.css (load this file after it).
   Open, editorial layout: hairline dividers, no boxed cards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Promise band
   -------------------------------------------------------------------------- */
.pg-promise {
	position: relative;
	z-index: 1;
	background: linear-gradient(180deg, #fff 0%, var(--pg-lilac) 100%);
	border-top: 1px solid var(--pg-line);
	font-family: var(--pg-font);
}
.pg-promise__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}
.pg-promise__item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin: 0;
	padding: 38px 36px;
}
.pg-promise__item + .pg-promise__item { border-left: 1px solid var(--pg-line); }
.pg-promise__item:first-child { padding-left: 0; }
.pg-promise__item:last-child { padding-right: 0; }

.pg-promise__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px #f7d3e6;
	color: var(--pg-pink);
}
.pg-promise__icon .pg-i { width: 26px; height: 26px; stroke-width: 1.6; }

.pg-promise__title {
	margin: 4px 0 6px;
	font: 600 18px/1.3 var(--pg-font);
	color: var(--pg-ink);
	letter-spacing: 0;
	text-transform: none;
}
.pg-promise__title span { font-weight: 400; color: var(--pg-muted); }
.pg-promise__text {
	max-width: 36ch;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--pg-muted);
}

/* --------------------------------------------------------------------------
   Footer shell
   -------------------------------------------------------------------------- */
.pg-footer {
	position: relative;
	background:
		radial-gradient(900px 360px at 88% -8%, rgba(230, 8, 127, .2), transparent 62%),
		radial-gradient(700px 320px at 0% 100%, rgba(120, 104, 230, .16), transparent 60%),
		linear-gradient(180deg, var(--pg-plum-deep) 0%, #1d1848 100%);
	color: rgba(255, 255, 255, .72);
	font: 400 15px/1.6 var(--pg-font);
}
.pg-footer a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
.pg-footer a:hover { color: #fff; }
.pg-footer a:focus-visible { outline: 2px solid #ff9fd0; outline-offset: 3px; border-radius: 4px; }
.pg-footer ul { margin: 0; padding: 0; list-style: none; }
.pg-footer p { margin: 0; }
.pg-footer .pg-i { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */
.pg-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 60px 0 48px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.pg-footer__eyebrow {
	margin-bottom: 10px !important;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ff9fd0;
}
.pg-footer__title {
	max-width: 22ch;
	margin: 0 0 8px;
	font: 600 clamp(26px, 2.8vw, 38px)/1.15 var(--pg-font);
	color: #fff;
	letter-spacing: -.01em;
	text-transform: none;
}
.pg-footer__lede { font-size: 16.5px; color: rgba(255, 255, 255, .72); }

.pg-footer__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.pg-footer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	font-weight: 500;
	font-size: 15.5px;
	color: #fff !important;
	white-space: nowrap;
}
.pg-footer__btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.pg-footer__btn--primary { background: var(--pg-pink); border-color: var(--pg-pink); box-shadow: 0 10px 24px -10px rgba(230, 8, 127, .7); }
.pg-footer__btn--primary:hover { background: var(--pg-pink-deep); border-color: var(--pg-pink-deep); }
.pg-footer__btn--wa .pg-i { color: #4ade80; }
.pg-footer__btn--wa:hover { background: #1fa855; border-color: #1fa855; }
.pg-footer__btn--wa:hover .pg-i { color: #fff; }
.pg-footer__btn .pg-i { transition: transform .3s var(--pg-ease); }
.pg-footer__btn:hover .pg-i { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   Columns
   -------------------------------------------------------------------------- */
.pg-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr);
	gap: 48px;
	padding: 52px 0 44px;
}

.pg-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pg-footer__mark { width: 60px; height: auto; flex: none; }
.pg-footer__wordmark { width: 150px; height: auto; }
.pg-footer__about { max-width: 42ch; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .64); }

.pg-footer__social { display: flex; gap: 10px; margin-top: 24px !important; }
.pg-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	color: #fff;
}
.pg-footer__social a:hover { background: var(--pg-pink); border-color: var(--pg-pink); }

.pg-footer__head {
	margin: 0 0 18px;
	font: 600 13px/1.3 var(--pg-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}
.pg-footer__links li { margin: 0 0 11px; }
.pg-footer__links a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
	transition: color .2s, text-decoration-color .2s;
}
.pg-footer__links a:hover { text-decoration-color: #ff9fd0; }
.pg-footer__links a[aria-current] { color: #fff; text-decoration-color: #ff9fd0; }

.pg-footer__contact { display: grid; gap: 16px; margin: 0; font-style: normal; }
.pg-footer__row { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; }
.pg-footer__row > .pg-i { margin-top: 2px; color: #ff9fd0; }
.pg-footer__hours { display: grid; gap: 2px; margin: 0; }
.pg-footer__hours div { display: flex; gap: 10px; }
.pg-footer__hours dt { min-width: 76px; margin: 0; font-weight: 500; color: rgba(255, 255, 255, .88); }
.pg-footer__hours dd { margin: 0; }

/* --------------------------------------------------------------------------
   Copyright bar
   -------------------------------------------------------------------------- */
.pg-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding: 22px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13.5px;
	color: rgba(255, 255, 255, .52);
}
.pg-footer__base ul { display: flex; gap: 22px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
	.pg-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
	.pg-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 40px; }
	.pg-footer__logo { margin: 0; }
	.pg-footer__about { grid-column: 2; grid-row: 1 / span 2; max-width: 60ch; }
	.pg-footer__social { margin-top: 4px !important; }
	.pg-promise__item { padding: 32px 24px; }
}

/* Phones and tablets: the body keeps room for the floating tab bar (nav.css).
   Paint that strip in the footer colour so the page does not end on white. */
@media (max-width: 1099.98px) {
	.pg-footer { box-shadow: 0 calc(var(--pg-tab-h) + 14px + env(safe-area-inset-bottom)) 0 #1d1848; }
}

@media (max-width: 991.98px) {
	.pg-footer__cta { flex-direction: column; align-items: flex-start; padding: 48px 0 40px; }
	.pg-promise__list { grid-template-columns: 1fr; }
	.pg-promise__item,
	.pg-promise__item:first-child,
	.pg-promise__item:last-child { padding: 22px 0; }
	.pg-promise__item + .pg-promise__item { border-left: 0; border-top: 1px solid var(--pg-line); }
	.pg-promise__text { max-width: 60ch; }
}

@media (max-width: 767.98px) {
	.pg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding: 40px 0 32px; }
	.pg-footer__brand { display: block; }
	.pg-footer__logo { margin-bottom: 16px; }
	.pg-footer__social { margin-top: 20px !important; }
	.pg-footer__visit { grid-column: 1 / -1; }
	.pg-footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 479.98px) {
	.pg-promise__icon { width: 46px; height: 46px; }
	.pg-promise__icon .pg-i { width: 22px; height: 22px; }
	.pg-promise__title { font-size: 17px; }
	.pg-footer__actions { width: 100%; flex-direction: column; }
	.pg-footer__btn { width: 100%; }
	.pg-footer__grid { gap: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.pg-footer *, .pg-footer *::before { transition: none !important; }
}
