/* Functions & Events — Ady's Kitchen
   Scoped overrides to avoid global .com-btn / list conflicts */

/* ---------- Hero ---------- */
.fn-hero {
	position: relative;
	background:
		radial-gradient(ellipse at 75% 35%, rgba(201, 162, 39, 0.14) 0%, transparent 50%),
		linear-gradient(145deg, #0d0d0d 0%, #1a1512 48%, #241c16 100%);
	padding: 100px 0 108px;
	overflow: hidden;
	color: #fff;
}

.fn-hero__curve {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 72px;
	line-height: 0;
	pointer-events: none;
	z-index: 0;
}

.fn-hero__curve svg {
	display: block;
	width: 100%;
	height: 72px;
}

.fn-hero .container {
	position: relative;
	z-index: 1;
}

.fn-hero__inner {
	max-width: 720px;
}

.fn-eyebrow {
	display: block;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 12px;
	color: #c9a227;
	margin: 0 0 18px;
}

.fn-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 18px;
	color: #fff;
}

.fn-hero__lead {
	font-size: 1.12rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
	max-width: 560px;
	margin: 0 0 28px;
}

.fn-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

/* Dedicated buttons — never inherit global .com-btn margin-top: 40px */
.fn-hero__cta .fn-btn,
.fn-cta-banner .fn-btn,
a.fn-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 15px 34px !important;
	border-radius: 50px !important;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 1.2 !important;
	text-transform: uppercase;
	text-decoration: none !important;
	box-sizing: border-box;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.fn-btn--primary,
a.fn-btn--primary {
	background: #fd9d3e !important;
	border: 2px solid #fd9d3e !important;
	color: #fff !important;
}

.fn-btn--primary:hover,
a.fn-btn--primary:hover {
	background: #fff !important;
	border-color: #fd9d3e !important;
	color: #fd9d3e !important;
}

.fn-btn--outline,
a.fn-btn--outline {
	background: transparent !important;
	border: 2px solid #c9a227 !important;
	color: #c9a227 !important;
}

.fn-btn--outline:hover,
a.fn-btn--outline:hover {
	background: #c9a227 !important;
	color: #0d0d0d !important;
}

/* ---------- Intro ---------- */
.fn-intro {
	background: #faf8f5;
	padding: 64px 0 28px;
}

.fn-intro__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px 48px;
	align-items: center;
}

.fn-intro__copy .headding-sub {
	margin-bottom: 10px;
}

.fn-intro__copy .headding-title {
	margin-bottom: 16px;
	line-height: 1.2;
}

.fn-intro__copy > p {
	color: #4a4038;
	line-height: 1.75;
	margin: 0 0 16px;
}

.fn-intro__note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 22px 0 0;
	padding: 16px 18px;
	background: rgba(201, 162, 39, 0.12);
	border-left: 3px solid #c9a227;
	color: #3d342c;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.55;
}

.fn-intro__note-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c9a227;
	margin-top: 1px;
}

.fn-intro__note-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.fn-intro__points {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 14px;
}

.fn-intro__points > li {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0 !important;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid rgba(201, 162, 39, 0.28);
	box-shadow: 0 8px 20px rgba(26, 21, 18, 0.04);
	list-style: none !important;
}

.fn-intro__points > li::before,
.fn-intro__points > li::after {
	content: none !important;
	display: none !important;
}

.fn-intro__icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: #0d0d0d !important;
	color: #c9a227 !important;
	line-height: 0;
}

.fn-intro__icon svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: #c9a227 !important;
	color: #c9a227 !important;
}

.fn-intro__points strong {
	display: block;
	color: #1a1512;
	margin: 0 0 4px;
	font-size: 1.02rem;
	line-height: 1.3;
}

.fn-intro__points li > div > span {
	display: block;
	color: #6b5e52;
	font-size: 0.92rem;
	line-height: 1.45;
}

/* ---------- Packages ---------- */
.fn-packages {
	background: #faf8f5;
	padding: 24px 0 88px;
	scroll-margin-top: 90px;
}

.fn-packages__header {
	margin-bottom: 40px;
}

.fn-packages__header .headding-title {
	margin-bottom: 10px;
}

.fn-packages__lead {
	max-width: 540px;
	margin: 0 auto;
	color: #6b5e52;
	line-height: 1.65;
}

.fn-group {
	margin-bottom: 52px;
}

.fn-group:last-child {
	margin-bottom: 0;
}

.fn-group__head {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.fn-group__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1a1512;
	margin: 0 0 6px;
	line-height: 1.2;
}

.fn-group__note {
	margin: 0;
	color: #6b5e52;
	font-size: 0.95rem;
}

.fn-package-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
	padding-top: 14px;
}

.fn-package {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	background: #fff;
	border: 1px solid rgba(26, 21, 18, 0.1);
	padding: 28px 22px 22px;
	box-shadow: none;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.fn-package:hover {
	border-color: rgba(201, 162, 39, 0.5);
	box-shadow: 0 12px 28px rgba(26, 21, 18, 0.07);
	transform: translateY(-2px);
}

.fn-package--featured {
	border-color: #c9a227;
	box-shadow: 0 12px 28px rgba(201, 162, 39, 0.12);
	padding-top: 38px;
}

.fn-package--featured:hover {
	border-color: #c9a227;
	box-shadow: 0 16px 32px rgba(201, 162, 39, 0.16);
}

.fn-package__badge {
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	width: max-content;
	max-width: calc(100% - 24px);
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	color: #0d0d0d;
	background: #c9a227;
	padding: 7px 16px;
	line-height: 1.2;
	white-space: nowrap;
	text-align: center;
	box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
	transform: none;
}

.fn-package__top {
	margin: 0 0 16px;
	padding-right: 0;
	text-align: left;
}

.fn-package--featured .fn-package__top {
	padding-right: 0;
	text-align: center;
}

.fn-package__name {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1512;
	margin: 0 0 6px;
	line-height: 1.25;
}

.fn-package__price {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #b8941f;
	line-height: 1.3;
}

.fn-package__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
}

.fn-package__course {
	margin: 0;
}

.fn-package__course strong {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a1512;
	margin: 0 0 8px;
	line-height: 1.35;
}

.fn-package__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.fn-package__list > li {
	position: relative;
	margin: 0 !important;
	padding: 0 0 10px 16px;
	color: #4a4038;
	font-size: 0.92rem;
	line-height: 1.5;
	list-style: none !important;
}

.fn-package__list > li:last-child {
	padding-bottom: 0;
}

.fn-package__list > li::before {
	content: "" !important;
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c9a227;
	display: block !important;
}

.fn-package__list > li::after {
	content: none !important;
	display: none !important;
}

/* Pin enquire link to bottom of equal-height cards */
.fn-package__cta,
a.fn-package__cta {
	display: block;
	margin-top: auto !important;
	padding-top: 16px;
	border-top: 1px solid rgba(26, 21, 18, 0.1);
	color: #1a1512 !important;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.78rem;
	line-height: 1.4;
	transition: color 0.2s;
}

.fn-package__cta:hover,
a.fn-package__cta:hover {
	color: #c9a227 !important;
}

/* ---------- Bottom CTA ---------- */
.fn-cta-banner {
	background:
		radial-gradient(ellipse at 30% 40%, rgba(201, 162, 39, 0.16) 0%, transparent 55%),
		linear-gradient(135deg, #0d0d0d 0%, #1a1512 100%);
	padding: 72px 0;
	text-align: center;
	color: #fff;
}

.fn-cta-banner .headding-title {
	color: #fff;
	margin: 0 0 14px;
}

.fn-cta-banner > .container > p {
	max-width: 560px;
	margin: 0 auto 26px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
}

.fn-cta-banner__phone {
	margin: 18px 0 0 !important;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.75) !important;
}

.fn-cta-banner__phone a {
	color: #c9a227 !important;
	font-weight: 700;
	text-decoration: none;
}

.fn-cta-banner__phone a:hover {
	text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.fn-intro__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.fn-package-grid {
		grid-template-columns: 1fr;
	}

	.fn-package--featured .fn-package__top {
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.fn-hero {
		padding: 84px 0 92px;
	}

	.fn-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.fn-hero__cta .fn-btn,
	.fn-cta-banner .fn-btn,
	a.fn-btn {
		width: 100% !important;
		text-align: center;
	}

	.fn-intro {
		padding: 48px 0 20px;
	}

	.fn-packages {
		padding: 16px 0 64px;
	}

	.fn-cta-banner {
		padding: 56px 0;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.fn-package-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
