/**
 * Nutro7 Child Theme — Luxury Botanical Footer Styles
 *
 * Unique, architectural dark footer featuring:
 * - VIP Wellness Dispatch / Clinic Consultation bar
 * - Brand & NNC Clinic Heritage column with logo
 * - Curated navigation columns with micro-interactions
 * - Clinical trust ribbon
 * - Legal, disclaimer & copyright row
 * - Giant faded "NUTRO7" architectural watermark statement
 *
 * @package Nutro7
 * @version 2.9.3
 */

/* ==========================================================================
   §1. FOOTER WRAPPER & CONTAINER
   ========================================================================== */

.n7-footer {
	background-color: #0E1B15;
	color: #E8EBE9;
	font-family: var(--n7-font-sans);
	position: relative;
	overflow: hidden;
	margin-top: 0;
	border-top: 1px solid rgba(26, 48, 38, 0.2);
}

.n7-footer a {
	color: inherit;
	text-decoration: none !important;
	transition: color 0.2s ease, transform 0.2s ease;
}

/* ==========================================================================
   §2. VIP WELLNESS DISPATCH / CONSULTATION BAR
   ========================================================================== */

.n7-footer__newsletter-wrap {
	padding: clamp(40px, 5vw, 64px) 0 20px;
}

.n7-footer__newsletter {
	background: linear-gradient(135deg, rgba(26, 48, 38, 0.75) 0%, rgba(14, 27, 21, 0.95) 100%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 20px;
	padding: clamp(28px, 4vw, 42px) clamp(22px, 4vw, 46px);
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
	.n7-footer__newsletter {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.n7-footer__newsletter-tag {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--n7-color-gold);
	margin-bottom: 8px;
}

.n7-footer__newsletter-title {
	font-size: clamp(18px, 1.4vw + 4px, 22px);
	font-weight: 600;
	line-height: 1.28;
	color: #FFFFFF;
	margin-bottom: 8px;
}

.n7-footer__newsletter-desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
	max-width: 520px;
}

.n7-footer__input-group {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--n7-radius-full);
	padding: 5px 6px 5px 18px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.n7-footer__input-group:focus-within {
	border-color: var(--n7-color-gold);
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 0 0 3px rgba(184, 142, 75, 0.18);
}

.n7-footer__input {
	flex: 1;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-family: var(--n7-font-sans);
	font-size: 13.5px;
	padding: 8px 4px;
}

.n7-footer__input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.n7-footer__submit-btn {
	padding: 10px 22px !important;
	font-size: 12.5px !important;
	border-radius: var(--n7-radius-full) !important;
	flex-shrink: 0;
	background-color: var(--n7-color-primary, #1A3026) !important;
	color: #FFFFFF !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
}

.n7-footer__submit-btn span {
	color: #FFFFFF !important;
}

.n7-footer__submit-btn svg {
	color: #FFFFFF !important;
	stroke: #FFFFFF !important;
}

.n7-footer__submit-btn:hover {
	background-color: #0E1C15 !important;
	color: #FFFFFF !important;
	border-color: #FFFFFF !important;
	transform: translateY(-2px);
}

.n7-footer__form-note {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 10px;
	padding-left: 6px;
}

.n7-footer__form-note svg {
	color: var(--n7-color-gold);
	flex-shrink: 0;
}

.n7-footer__form-success {
	display: none;
	font-size: 13px;
	color: #A3E635;
	margin-top: 10px;
	padding-left: 6px;
}

.n7-footer__newsletter-form.is-submitted .n7-footer__input-group,
.n7-footer__newsletter-form.is-submitted .n7-footer__form-note {
	display: none;
}

.n7-footer__newsletter-form.is-submitted .n7-footer__form-success {
	display: block;
}

/* ==========================================================================
   §3. MAIN NAVIGATION & COLUMNS
   ========================================================================== */

.n7-footer__main {
	padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 4vw, 56px);
}

.n7-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: clamp(24px, 3.5vw, 48px);
}

@media (max-width: 991px) {
	.n7-footer__grid {
		grid-template-columns: 1.2fr 1fr;
		gap: 36px 28px;
	}
}

@media (max-width: 600px) {
	.n7-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Column 1: Brand & Clinic Heritage */
.n7-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.n7-footer__logo-link {
	display: inline-block;
	max-width: 175px;
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
}

.n7-footer__logo-img {
	width: 100%;
	height: auto;
	max-height: 52px;
	object-fit: contain;
	display: block;
	filter: none !important;
	background: transparent !important;
}

.n7-footer__brand-bio {
	font-size: 13.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
	max-width: 320px;
}

.n7-footer__clinic-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: var(--n7-radius-full);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	width: fit-content;
}

.n7-footer__status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #4ADE80;
	box-shadow: 0 0 8px #4ADE80;
	animation: n7PulseDot 2s infinite ease-in-out;
}

.n7-footer__status-text {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.02em;
}

.n7-footer__contact-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.n7-footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

.n7-footer__contact-link:hover {
	color: var(--n7-color-gold);
}

.n7-footer__contact-link svg {
	color: var(--n7-color-gold);
	flex-shrink: 0;
}

/* Nav Columns (2, 3, 4) */
.n7-footer__col-heading {
	font-size: 14.5px;
	font-weight: 600;
	color: #FFFFFF;
	letter-spacing: 0.02em;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 8px;
}

.n7-footer__col-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 20px;
	height: 1.5px;
	background-color: var(--n7-color-gold);
	opacity: 0.8;
}

.n7-footer__nav-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.n7-footer__nav-list li {
	margin: 0;
	padding: 0;
}

.n7-footer__nav-list a {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.7);
	display: inline-block;
}

.n7-footer__nav-list a:hover {
	color: var(--n7-color-gold);
	transform: translateX(4px);
}

.n7-footer__link-highlight {
	color: var(--n7-color-gold) !important;
	font-weight: 500;
}

/* ==========================================================================
   §4. CLINICAL TRUST RIBBON
   ========================================================================== */

.n7-footer__trust-ribbon {
	background-color: rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 24px 0;
}

.n7-footer__trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.n7-footer__trust-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 16px;
	}
}

@media (max-width: 480px) {
	.n7-footer__trust-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.n7-footer__trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.n7-footer__trust-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.n7-footer__trust-icon svg {
	color: var(--n7-color-gold, #B88E4B);
	stroke: var(--n7-color-gold, #B88E4B);
	width: 20px;
	height: 20px;
}

.n7-footer__trust-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.n7-footer__trust-text strong {
	font-size: 13px;
	font-weight: 600;
	color: #FFFFFF;
}

.n7-footer__trust-text span {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   §5. LEGAL, DISCLAIMER & COPYRIGHT BAR
   ========================================================================== */

.n7-footer__bottom {
	padding: 24px 0 16px;
}

.n7-footer__bottom-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.n7-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
}

.n7-footer__copyright strong {
	color: #FFFFFF;
}

.n7-footer__disclaimer {
	margin: 0;
	max-width: 420px;
	font-size: 11.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
	.n7-footer__disclaimer {
		max-width: 100%;
		order: 3;
		width: 100%;
	}
}

.n7-footer__legal-links {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.n7-footer__legal-links a {
	color: rgba(255, 255, 255, 0.5);
}

.n7-footer__legal-links a:hover {
	color: var(--n7-color-gold);
}

.n7-footer__divider {
	color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   §6. MASSIVE AESTHETIC FADED "NUTRO7" WATERMARK STATEMENT
   ========================================================================== */

.n7-footer__watermark-wrap {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	line-height: 0.72;
	padding-top: 14px;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
	user-select: none;
	pointer-events: none;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.n7-footer__watermark {
	width: 100%;
	font-family: var(--n7-font-sans);
	font-size: clamp(90px, 23.5vw, 380px);
	font-weight: 900;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	line-height: 0.72;
	color: rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 75%, transparent 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	/* One-shot down to up transition when user reaches footer (no infinite loop) */
	transform: translateY(40%);
	opacity: 0;
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.n7-footer__watermark.is-in-view {
	transform: translateY(0);
	opacity: 1;
}

/* ==========================================================================
   §7. FLOATING CLICK TO TOP BUTTON (Fully Responsive & Accessible)
   ========================================================================== */

.n7-scroll-top,
#ast-scroll-top,
.ast-scroll-to-top {
	position: fixed !important;
	bottom: 24px !important;
	right: 24px !important;
	z-index: 99999 !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: #FFFFFF !important;
	color: var(--n7-color-primary, #1A3026) !important;
	border: 1px solid rgba(26, 48, 38, 0.16) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(14px) !important;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
	text-decoration: none !important;
	touch-action: manipulation !important;
	-webkit-tap-highlight-color: transparent !important;
}

.n7-scroll-top.is-visible,
#ast-scroll-top.is-visible,
#ast-scroll-top[style*="block"],
#ast-scroll-top[style*="display: block"] {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
}

.n7-scroll-top svg,
#ast-scroll-top svg,
.ast-scroll-to-top svg {
	width: 20px !important;
	height: 20px !important;
	color: var(--n7-color-primary, #1A3026) !important;
	stroke: var(--n7-color-primary, #1A3026) !important;
	transition: stroke 0.25s ease, transform 0.25s ease;
}

/* Hover & Active: Green background with white icon */
.n7-scroll-top:hover,
.n7-scroll-top:active,
#ast-scroll-top:hover,
#ast-scroll-top:active,
.ast-scroll-to-top:hover,
.ast-scroll-to-top:active {
	background: var(--n7-color-primary, #1A3026) !important;
	color: #FFFFFF !important;
	border-color: var(--n7-color-primary, #1A3026) !important;
	box-shadow: 0 8px 24px rgba(26, 48, 38, 0.3) !important;
	transform: translateY(-3px) !important;
}

.n7-scroll-top:hover svg,
.n7-scroll-top:active svg,
#ast-scroll-top:hover svg,
#ast-scroll-top:active svg,
.ast-scroll-to-top:hover svg,
.ast-scroll-to-top:active svg {
	color: #FFFFFF !important;
	stroke: #FFFFFF !important;
	transform: translateY(-2px);
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
	.n7-scroll-top,
	#ast-scroll-top,
	.ast-scroll-to-top {
		bottom: 18px !important;
		right: 16px !important;
		width: 40px !important;
		height: 40px !important;
	}

	.n7-scroll-top svg,
	#ast-scroll-top svg,
	.ast-scroll-to-top svg {
		width: 17px !important;
		height: 17px !important;
	}
}
