/**
 * Tree-Ripe — City Landing Page (Meta Ads)
 * Styles for template-tr-city-landing.php
 *
 * Stop card styles come from tr-near-you.css (auto-enqueued by [tr_near_you] shortcode).
 *
 * @package KadenceChild
 * @since 1.0.0
 */

/* ─────────────────────────────────────────────
 * VARIABLES
 * ───────────────────────────────────────────── */
.tr-ny-landing {
	--tr-ny-forest: #0F5E41;
	--tr-ny-medium: #408469;
	--tr-ny-black: #333333;
	--tr-ny-gray: #666666;
	--tr-ny-border: #E6E0D6;
	--tr-ny-white: #FFFFFF;
	--tr-ny-mint-muted: #8ab5a0;
	--tr-ny-mint-faint: #c8ddd3;
	--tr-ny-fd: Georgia, 'Times New Roman', serif;
	--tr-ny-fu: 'Avenir Next', 'Avenir', system-ui, sans-serif;
	--tr-ny-fb: 'Avenir', 'Avenir Next', system-ui, sans-serif;

	font-family: var(--tr-ny-fb);
	color: var(--tr-ny-black);
	line-height: 1.6;
}

/* ─────────────────────────────────────────────
 * SHARED UTILITIES
 * ───────────────────────────────────────────── */
.tr-ny-landing .eyebrow {
	font-family: var(--tr-ny-fu);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1;
}
.tr-ny-landing .eyebrow--green { color: var(--tr-ny-medium); margin-bottom: 14px; }
.tr-ny-landing .eyebrow--light { color: var(--tr-ny-mint-muted); margin-bottom: 14px; }

.tr-ny-landing .btn-pill {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	font-family: var(--tr-ny-fu);
	font-size: 16px;
	font-weight: 600;
	padding: 14px 36px !important;
	border-radius: 100px !important;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
	border: 2px solid transparent;
	line-height: 1 !important;
	box-sizing: border-box !important;
}
.tr-ny-landing .btn-pill:hover { transform: translateY(-2px); }

.tr-ny-landing .btn-white {
	background: var(--tr-ny-white);
	color: var(--tr-ny-forest);
	border-color: var(--tr-ny-white);
}
.tr-ny-landing .btn-white:hover {
	background: transparent;
	color: var(--tr-ny-white);
}
.tr-ny-landing .btn-seasonal {
	background: var(--tr-season-accent);
	color: #ffffff;
	border-color: var(--tr-season-accent);
	box-shadow: 0 2px 6px var(--tr-season-accent-glow);
}
.tr-ny-landing .btn-seasonal:hover {
	background: var(--tr-season-accent-hover);
	border-color: var(--tr-season-accent-hover);
	color: #ffffff;
}
/* Spring/Summer have light accent colors — dark text for contrast */
body.tr-season--spring .tr-ny-landing .btn-seasonal,
body.tr-season--spring .tr-ny-landing .btn-seasonal:hover,
body.tr-season--summer .tr-ny-landing .btn-seasonal,
body.tr-season--summer .tr-ny-landing .btn-seasonal:hover {
	color: var(--tr-forest-green);
}
.tr-ny-landing .btn-forest {
	background: var(--tr-ny-forest);
	color: var(--tr-ny-white);
	border-color: var(--tr-ny-forest);
}
.tr-ny-landing .btn-forest:hover {
	background: #0a4a33;
	border-color: #0a4a33;
}

/* ─────────────────────────────────────────────
 * SCROLL REVEAL
 * ───────────────────────────────────────────── */
.tr-ny-landing .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tr-ny-landing .reveal.visible { opacity: 1; transform: translateY(0); }
.tr-ny-landing .reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.tr-ny-landing .reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.tr-ny-landing .reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.tr-ny-landing .reveal-group .reveal:nth-child(4) { transition-delay: 0.22s; }

/* ─────────────────────────────────────────────
 *  SECTIONS — SHARED LAYOUT
 * ───────────────────────────────────────────── */
.tr-ny-landing .section {
	padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 48px);
}
.tr-ny-landing .section-inner {
	width: min(100%, 1200px);
	margin: 0 auto;
}
.tr-ny-landing .section-inner--narrow {
	width: min(100%, 860px);
	margin: 0 auto;
}
.tr-ny-landing .section-header {
	text-align: center;
	margin-bottom: clamp(36px, 5vw, 56px);
}
.tr-ny-landing .tr-ny-section--dark {
	background: var(--tr-ny-forest);
}

/* ─────────────────────────────────────────────
 * TYPOGRAPHY
 * ───────────────────────────────────────────── */
.tr-ny-landing .section-h2 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	color: var(--tr-ny-forest);
	line-height: 1.1;
	margin-bottom: 20px;
}
.tr-ny-landing .section-h2::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tr-ny-medium);
	margin: 16px auto 0;
	border-radius: 2px;
}
.tr-ny-landing .section-h2--white {
	font-family: var(--tr-ny-fd);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	color: var(--tr-ny-white);
	line-height: 1.1;
	margin-bottom: 20px;
}
.tr-ny-landing .section-h2--white::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tr-ny-mint-muted);
	margin: 16px auto 0;
	border-radius: 2px;
}
.tr-ny-landing .section-body {
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.8;
	color: var(--tr-ny-black);
	width: min(100%, 720px);
	margin: 0 auto clamp(32px, 5vw, 48px);
}
.tr-ny-landing .section-body--light {
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.8;
	color: var(--tr-ny-mint-faint);
	width: min(100%, 720px);
	margin: 0 auto clamp(32px, 5vw, 48px);
}

/* ─────────────────────────────────────────────
 * 1. HERO
 * ───────────────────────────────────────────── */
.tr-ny-hero {
	background: var(--tr-ny-forest);
	padding: clamp(36px, 5vw, 52px) clamp(24px, 5vw, 48px);
	text-align: center;
}
.tr-ny-hero-inner {
	width: min(100%, 680px);
	margin: 0 auto;
}
.tr-ny-hero .eyebrow {
	color: var(--tr-ny-mint-muted);
	margin-bottom: 14px;
}
.tr-ny-hero h1 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--tr-ny-white);
	letter-spacing: -0.01em;
	margin-bottom: 14px;
}
.tr-ny-hero-body {
	font-size: clamp(15px, 1.7vw, 17px);
	line-height: 1.6;
	color: var(--tr-ny-mint-faint);
	margin: 0 auto 24px;
}
.tr-ny-hero-body strong { color: var(--tr-ny-white); }

/* ─────────────────────────────────────────────
 * 1b. STOP-IN-ACTION PHOTO BAND
 * Full-bleed photo between hero and "What's a Fruit Stop?"
 * ───────────────────────────────────────────── */
.tr-ny-landing .tr-ny-photo-band {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--tr-ny-forest);
	line-height: 0;
}
.tr-ny-landing .tr-ny-photo-band img {
	display: block;
	width: 100%;
	height: auto;
	max-height: clamp(300px, 56vh, 620px);
	object-fit: cover;
	object-position: center;
}

/* ─────────────────────────────────────────────
 * 2. WHAT'S A FRUIT STOP
 * ───────────────────────────────────────────── */
.tr-ny-explain-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(16px, 2.5vw, 28px);
}
.tr-ny-explain-card {
	background: var(--tr-ny-white);
	border: 1px solid var(--tr-ny-border);
	border-radius: 14px;
	padding: clamp(24px, 3vw, 36px);
	transition: border-color 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.tr-ny-explain-card:hover {
	border-color: var(--tr-ny-medium);
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(15, 94, 65, 0.10);
}
.tr-ny-explain-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--tr-ny-forest);
	color: var(--tr-ny-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 16px;
	transition: background 0.3s;
}
.tr-ny-explain-card:hover .tr-ny-explain-icon { background: #0a4a33; }
.tr-ny-explain-card h3 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 700;
	color: var(--tr-ny-black);
	line-height: 1.2;
	margin-bottom: 10px;
}
.tr-ny-explain-card p {
	font-size: 15px;
	color: var(--tr-ny-gray);
	line-height: 1.7;
}

/* ─────────────────────────────────────────────
 * 3. HOW TO RESERVE
 * ───────────────────────────────────────────── */
.tr-ny-steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: clamp(20px, 3vw, 36px);
}
.tr-ny-step { text-align: center; padding: 0 8px; }
.tr-ny-step-num {
	font-family: var(--tr-ny-fd);
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.18);
	line-height: 1;
	margin-bottom: 14px;
}
.tr-ny-step h3 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 700;
	color: var(--tr-ny-white);
	line-height: 1.2;
	margin-bottom: 10px;
}
.tr-ny-step p { font-size: 16px; color: var(--tr-ny-mint-faint); line-height: 1.7; }

/* ─────────────────────────────────────────────
 *  4. STOPS — shortcode spacing + empty state
 * ───────────────────────────────────────────── */
.tr-ny-anchor {
	display: block;
	height: 0;
	pointer-events: none;
}
.tr-ny-landing .tr-near-you {
	padding: clamp(48px, 7vw, 80px) 0;
}
/* Ensure the results section fills the wrapper without an extra top gap */
.tr-ny-landing .tr-fs-results {
	display: block;
}
.tr-ny-empty-state {
	text-align: center;
	padding: clamp(48px, 7vw, 80px) 0;
}
.tr-ny-empty-state h2 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	color: var(--tr-ny-forest);
	margin-bottom: 14px;
}
.tr-ny-empty-state p {
	font-size: 16px;
	color: var(--tr-ny-gray);
	line-height: 1.7;
	margin-bottom: 28px;
}

/* ─────────────────────────────────────────────
 *  4b. QUOTE BAND — identical to .tr-pp-green-band
 * ───────────────────────────────────────────── */
.tr-ny-landing .tr-pp-green-band {
	background: #0F5E41;
	padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
	text-align: center;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}
.tr-ny-landing .tr-pp-green-band-inner {
	width: 85vw;
	margin: 0 auto;
}
.tr-ny-landing .tr-pp-green-band blockquote,
body .tr-ny-landing .tr-pp-green-band blockquote {
	font-family: Georgia, 'Times New Roman', serif !important;
	font-size: clamp(30px, 5vw, 48px) !important;
	font-style: italic !important;
	font-weight: 700 !important;
	color: #FFFFFF !important;
	line-height: 1.3 !important;
	margin: 0 0 20px 0 !important;
	padding: 0 !important;
	border: none !important;
	border-left: none !important;
	quotes: none !important;
}
.tr-ny-landing .tr-pp-green-band cite {
	font-family: 'Avenir Next', 'Avenir', system-ui, sans-serif;
	font-size: clamp(17px, 2.2vw, 20px);
	font-weight: 400;
	color: #FFFFFF;
	letter-spacing: 0.01em;
	font-style: normal;
	line-height: 1.6;
}

/* ─────────────────────────────────────────────
 * 5. WHY TREE-RIPE
 * ───────────────────────────────────────────── */
.tr-ny-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(24px, 4vw, 48px);
}
.tr-ny-why-block { text-align: center; padding: 0 clamp(8px, 1vw, 16px); }
/* Why-block media area: full-width photo or icon panel at the top of each card.
 * All three cards share these dimensions so the grid stays even, regardless of
 * whether a block displays a photo or the icon fallback. */
.tr-ny-why-media {
	width: 100%;
	aspect-ratio: 4 / 3;
	margin: 0 auto clamp(18px, 2vw, 24px);
	border-radius: 16px;
	overflow: hidden;
	background: var(--tr-ny-forest);
	box-shadow: 0 8px 28px rgba(15, 94, 65, 0.10);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.tr-ny-why-block:hover .tr-ny-why-media {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(15, 94, 65, 0.18);
}

/* "See all stops" link rendered inside the stops list when results are capped.
 * Inherits the stop-card grid spot so the rhythm of cards stays consistent. */
.tr-fs-stop-list-more {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(20px, 2.5vw, 28px);
	border-radius: 14px;
	background: var(--tr-ny-forest);
	color: var(--tr-ny-white);
	text-decoration: none;
	gap: 8px;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, background 0.3s;
	box-shadow: 0 8px 28px rgba(15, 94, 65, 0.10);
	min-height: 100%;
}
.tr-fs-stop-list-more:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(15, 94, 65, 0.20);
	background: #0a4a33;
	color: var(--tr-ny-white);
}
.tr-fs-stop-list-more-label {
	font-family: var(--tr-ny-fb);
	font-size: 14px;
	line-height: 1.5;
	color: var(--tr-ny-mint-faint);
}
.tr-fs-stop-list-more-cta {
	font-family: var(--tr-ny-fu);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.tr-fs-stop-list-more-cta i {
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tr-fs-stop-list-more:hover .tr-fs-stop-list-more-cta i {
	transform: translateX(4px);
}

/* Photo variant: image fills the media area, cropped via object-fit. */
.tr-ny-why-media--photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Icon fallback variant: large centered FA icon on the forest-green panel. */
.tr-ny-why-media--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tr-ny-white);
	font-size: clamp(44px, 6vw, 64px);
}
.tr-ny-why-block h3 {
	font-family: var(--tr-ny-fd);
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 700;
	color: var(--tr-ny-black);
	line-height: 1.2;
	margin-bottom: 10px;
}
.tr-ny-why-block p { font-size: 15px; line-height: 1.7; color: var(--tr-ny-gray); }

/* ─────────────────────────────────────────────
 * 6. FINAL CTA
 * ───────────────────────────────────────────── */
.tr-ny-landing .tr-ny-section--cta {
	background: #F5F0E9;
}

.tr-ny-cta-inner {
	width: min(100%, 580px);
	margin: 0 auto;
	text-align: center;
}
.tr-ny-cta-phone {
	display: block;
	margin-top: 20px;
	font-size: 14px;
	color: var(--tr-ny-medium);
	font-weight: 600;
}
.tr-ny-cta-phone a {
	color: var(--tr-ny-forest);
	text-decoration: underline;
	text-decoration-color: rgba(15, 94, 65, 0.35);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}
.tr-ny-cta-phone a:hover { text-decoration-color: rgba(15, 94, 65, 0.9); }
