/* Kloofs — Halloween Monster Deals landing page */
:root {
	--orange: #F47A1F;
	--orange-hi: #FF9A4D;
	--gold: #D7A75E;
	--green: #1E482B;
	--green-dk: #132017;
	--night: #0d1a2e;
	--ink: #111;
	--text: #2a2a2a;
	--line: #9a9a9a;
	--sans: "Montserrat", system-ui, sans-serif;
	--serif: "ivyora-display", "Cormorant Garamond", Georgia, serif;
	--script: "lindsey-signature", "Great Vibes", cursive;
	--fun: "Chewy", "Comic Sans MS", system-ui, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- Header ---------------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 28px 28px 0; }
.site-header__bar {
	max-width: 1260px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 8px 26px; border-radius: 14px;
	background: rgba(20, 52, 52, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.08);
}
.site-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.site-header__logo img { height: 74px; width: auto; display: block; }
.site-header__logo span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; align-self: flex-end; margin-bottom: 8px; }
.site-header__contact { display: flex; align-items: center; gap: 28px; }
.hc { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; }
.hc svg { width: 22px; height: 22px; color: var(--gold); }
.hc:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hc-cta {
	font-family: var(--fun); font-size: 20px; letter-spacing: .02em; color: #fff; text-decoration: none;
	background: var(--orange); padding: 8px 18px 7px; border-radius: 999px; box-shadow: 0 0 0 2px var(--orange-hi) inset, 0 4px 14px rgba(244,122,31,.45);
	transition: transform .2s ease, box-shadow .2s ease;
}
.hc-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--orange-hi) inset, 0 6px 20px rgba(244,122,31,.7); }

/* ---------------- Hero ---------------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	min-height: 660px;
	background:
		url("../img/hero.jpg") center 60% / cover no-repeat,
		radial-gradient(circle at 62% 26%, rgba(170,200,255,.28), transparent 32%),
		linear-gradient(180deg, #0a1a38 0%, #17305c 45%, #12263d 70%, #0d1c17 100%);
}
.hero::after { /* soft vignette so the type always reads */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(4,10,24,.35) 0%, transparent 35%, transparent 55%, rgba(4,10,24,.35) 100%), linear-gradient(0deg, rgba(4,10,20,.55) 0%, transparent 30%);
}
.hero__stars {
	position: absolute; inset: 0; opacity: .7; pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 10% 20%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 25% 8%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 40% 30%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 55% 12%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 80% 18%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 92% 34%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 70% 40%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 18% 42%, #fff 50%, transparent 51%);
}
.hero__inner {
	position: relative; z-index: 2; max-width: 1260px; margin: 0 auto; min-height: 660px;
	display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto; align-items: start;
	padding: 140px 40px 34px;
}
.hero__pumpkin {
	grid-column: 1; grid-row: 1; width: 270px; height: auto; margin: 10px 0 0 40px;
	filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
	transform: rotate(-4deg); animation: pumpkin-bob 4s ease-in-out infinite;
}
@keyframes pumpkin-bob { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }

.hero__title-wrap { grid-column: 2; grid-row: 1; justify-self: end; text-align: center; position: relative; padding-right: 150px; margin-top: 0; align-self: center; }
.hero__title { margin: 0; font-family: var(--fun); font-weight: 400; line-height: .82; letter-spacing: -.01em; text-shadow: 0 4px 18px rgba(0,0,0,.45); }
.hero__title > span { display: block; }
.hero__kicker { color: var(--orange); font-size: 52px; line-height: 1; letter-spacing: 0; margin-bottom: 4px; -webkit-text-stroke: 1px rgba(0,0,0,.1); }
.hero__monster { font-size: 132px; color: #fff; white-space: nowrap; transform: rotate(-1.5deg); }
.hero__moon { display: inline-block; width: .74em; height: .74em; vertical-align: -.02em; margin: 0 .02em; border-radius: 50%; box-shadow: 0 0 34px rgba(220,235,255,.85), 0 0 90px rgba(200,220,255,.45); }
.hero__deals { font-size: 150px; color: #fff; margin-top: 2px; transform: rotate(1deg) translateX(-30px); }
.hero__dates { position: absolute; right: -6px; bottom: 6px; margin: 0; font-family: var(--fun); color: var(--orange); font-size: 46px; line-height: .95; text-align: left; text-shadow: 0 3px 12px rgba(0,0,0,.5); }
.hero__dates span { display: block; }
.hero__tagline { grid-column: 1 / -1; grid-row: 2; margin: 0 0 0 80px; font-family: var(--fun); font-size: 60px; line-height: 1; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,.6); }
.hero__tagline span { color: var(--orange); }

/* ---------------- Intro ---------------- */
.intro { padding: 44px 0 30px; text-align: center; }
.intro p { margin: 0 0 22px; font-weight: 300; font-size: 19px; line-height: 1.45; color: #222; }
.intro strong { font-weight: 700; color: #000; }
.intro__lead { font-size: 20px !important; }
.intro__event { font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; margin: 30px 0 6px; color: #000; }

.countdown { margin: 6px auto 28px; }
.countdown__label { font-family: var(--fun); font-weight: 400 !important; color: var(--orange) !important; font-size: 26px !important; margin: 0 0 8px !important; }
.countdown__grid { display: inline-grid; grid-template-columns: repeat(4, minmax(72px, 1fr)); gap: 10px; }
.countdown__grid div { background: #000; color: #fff; border-radius: 14px; padding: 10px 6px 8px; box-shadow: 0 0 0 3px var(--orange) inset; }
.countdown__grid b { display: block; font-family: var(--fun); font-weight: 400; font-size: 38px; line-height: 1; }
.countdown__grid span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.countdown.is-ended .countdown__grid { display: none; }

/* ---------------- Deal cards ---------------- */
.deals { padding: 10px 0 30px; }
.deals { overflow: hidden; }
.deals__carousel.ksc { padding: 0; --ksc-dot: #e3ddd3; --ksc-dot-active: var(--orange); }
.deals__carousel .ksc-viewport { overflow: visible; padding: 8px 0 18px; }
.deals__carousel .swiper-pagination-lock { display: none !important; }
.deals__carousel:not(.ksc--ready) .swiper-wrapper { gap: 26px; }
.noscript { grid-column: 1/-1; text-align: center; }

/* Monster Deal badge — black tile with orange keyline, as per the design */
.ksc .ksc-badge {
	width: 100px; top: -4px; right: -4px; transform: rotate(0deg);
	background: #000; padding: 7px 8px; border-radius: 0 16px 0 14px;
	box-shadow: 0 0 0 3px var(--orange) inset; filter: none;
}
.ksc-card.is-sale .ksc-media img.ksc-img { border-radius: 16px; }

/* ---------------- Register form ---------------- */
.register { padding: 50px 0 70px; }
.register__title { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.1; text-align: center; margin: 0 0 18px; color: #111; letter-spacing: -.01em; }
.register__intro { max-width: 920px; margin: 0 auto 46px; text-align: center; font-weight: 300; font-size: 17px; color: #333; }

.lead-form { position: relative; }
.lf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.lf-field { position: relative; border-bottom: 1px solid var(--line); padding-top: 4px; }
.lf-field label { display: block; font-size: 18px; font-weight: 400; color: #222; padding-top: 6px; }
.lf-field input, .lf-field textarea {
	display: block; width: 100%; border: 0; outline: 0; background: transparent; resize: vertical;
	font: 400 17px/1.4 var(--sans); color: #000; padding: 4px 0 10px;
}
.lf-field textarea { min-height: 110px; }
.lf-field:focus-within { border-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.lf-field.has-error { border-color: #c62828; box-shadow: 0 1px 0 #c62828; }
.lf-field .lf-err { position: absolute; right: 0; top: 10px; font-size: 13px; color: #c62828; font-weight: 500; }

.lead-form__choices fieldset { border: 0; margin: 0; padding: 0; }
.lead-form__choices legend { font-size: 18px; padding: 10px 0 2px; color: #222; }
.lf-options { margin-top: 14px !important; }
.lf-check { display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 16px; font-size: 18px; line-height: 1.3; color: #222; cursor: pointer; padding: 3px 0; }
.lf-options .lf-check { padding: 10px 0; }
.lf-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lf-check i { width: 21px; height: 21px; border: 1.5px solid #777; border-radius: 2px; display: grid; place-items: center; transition: background .15s, border-color .15s; justify-self: end; }
.lf-check i::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.lf-check input:checked + i { background: var(--orange); border-color: var(--orange); }
.lf-check input:checked + i::after { opacity: 1; }
.lf-check input:focus-visible + i { outline: 2px solid var(--orange); outline-offset: 2px; }
.lf-check:hover i { border-color: var(--orange); }

.lead-form__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: end; margin-top: 34px; }
.lf-tel { margin: 0; font-size: 19px; }
.lf-tel a { text-decoration: none; }
.lf-addr { margin: 2px 0 0; font-size: 14px; color: #333; }
.lead-form__submit { text-align: right; }
.lf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
	border: 0; border-radius: 999px; padding: 15px 34px 14px; text-decoration: none;
	font-family: var(--fun); font-size: 26px; line-height: 1; letter-spacing: .02em; color: #fff;
	background: var(--orange); box-shadow: 0 0 0 3px var(--orange-hi) inset, 0 8px 22px rgba(244,122,31,.4);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.lf-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--orange-hi) inset, 0 10px 28px rgba(244,122,31,.6); }
.lf-btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.lf-btn.is-loading span::after { content: "…"; }
.lf-btn--gold { background: var(--gold); color: var(--green-dk); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.lf-btn--gold:hover { box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.lf-note { margin: 10px 0 0; font-size: 13px; color: #666; }
.lf-status { margin-top: 16px; text-align: center; font-weight: 600; }
.lf-status.is-error { color: #c62828; }

.lf-success { text-align: center; max-width: 640px; margin: 0 auto; padding: 40px 28px; border-radius: 22px; background: var(--orange); color: #000; box-shadow: 0 0 0 3px var(--orange-hi) inset, 0 16px 40px rgba(0,0,0,.18); outline: 0; }
.lf-success img { width: 210px; background: #000; padding: 12px 14px; border-radius: 16px; }
.lf-success h3 { font-family: var(--fun); font-weight: 400; font-size: 40px; color: #fff; margin: 14px 0 8px; text-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lf-success p { margin: 0 0 10px; font-weight: 500; }
.lf-success a { font-weight: 700; color: #000; }

/* ---------------- Homes carousel ---------------- */
.homes {
	position: relative; color: #fff; padding: 46px 0 50px; overflow: hidden;
	background: linear-gradient(rgba(10,22,14,.55), rgba(10,22,14,.65)), url("../img/park-homes-bg.webp") center / cover no-repeat, #16251a;
}
.homes .container { max-width: 1140px; }
.homes .ksc-specs { gap: 4px 12px; }
.homes .ksc-spec { font-size: 13px; gap: 6px; }
.homes .ksc-spec-icon { width: 19px; height: 19px; }
.homes .ksc-card.is-sale .ksc-btn { font-size: 13px; letter-spacing: .3px; }
.homes__script { font-family: var(--script); color: var(--gold); font-size: 30px; line-height: 1; margin: 0 0 -6px; text-align: center; }
.homes__title { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.05; margin: 0 0 14px; text-align: center; letter-spacing: .01em; }
.homes__intro { max-width: 760px; margin: 0 auto 30px; text-align: center; font-size: 14px; line-height: 1.55; font-weight: 500; }
.homes__cta { text-align: center; margin: 30px 0 0; }
.homes .ksc { --ksc-arrow-top: 205px; --ksc-img-h: 220px; }
.homes .ksc-title { font-size: 21px; }
.homes .ksc-desc { font-size: 13px; line-height: 1.45; }
.homes .ksc-price, .homes .ksc-btn { font-size: 15px; min-height: 40px; }
.homes .ksc-card.is-sale .ksc-price { font-size: 17px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--green-dk); color: #e9e2d2; padding: 40px 0 110px; font-size: 15px; }
.site-footer__inner { display: flex; gap: 30px; align-items: center; }
.site-footer__logo { width: 92px; height: auto; flex: none; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__small { font-size: 12px; opacity: .75; max-width: 760px; }

.mobile-bar { display: none; }

/* ---------------- Responsive ---------------- */
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }

@media (max-width: 1180px) {
	.hero__monster { font-size: 112px; }
	.hero__deals { font-size: 128px; }
	.hero__title-wrap { padding-right: 130px; }
	.hero__dates { font-size: 40px; }
	.hero__pumpkin { width: 240px; margin-left: 10px; }
}

@media (max-width: 1024px) {
	.hc--email { display: none; }
	.hero, .hero__inner { min-height: 600px; }
	.hero__inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 130px 24px 34px; justify-items: center; text-align: center; }
	.hero__title-wrap { grid-column: 1; grid-row: 1; justify-self: center; padding-right: 0; margin-top: 0; }
	.hero__dates { position: static; text-align: center; margin-top: 12px; font-size: 38px; }
	.hero__dates span { display: inline; }
	.hero__deals { transform: rotate(1deg); }
	.hero__pumpkin { grid-row: 2; grid-column: 1; margin: 18px 0 0; width: 220px; }
	.hero__tagline { grid-row: 3; margin: 18px 0 0; font-size: 48px; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.site-header { padding: 12px 12px 0; }
	.site-header__bar { padding: 6px 12px; }
	.site-header__logo img { height: 56px; }
	.site-header__logo span { display: none; }
	.site-header__contact { gap: 12px; }
	.hc span { display: none; }
	.hc svg { width: 26px; height: 26px; }
	.hc-cta { font-size: 17px; padding: 7px 14px 6px; }
	.hero, .hero__inner { min-height: 0; }
	.hero__inner { padding: 100px 12px 28px; }
	.hero__kicker { font-size: 32px; }
	.hero__monster { font-size: 74px; }
	.hero__deals { font-size: 86px; }
	.hero__dates { font-size: 28px; }
	.hero__pumpkin { width: 170px; }
	.hero__tagline { font-size: 36px; }
	.intro { padding-top: 34px; }
	.intro p { font-size: 16px; }
	.intro__lead { font-size: 17px !important; }
	.intro__event { font-size: 18px; }
	.countdown__grid { grid-template-columns: repeat(4, minmax(60px, 1fr)); gap: 8px; }
	.countdown__grid b { font-size: 30px; }
	.deals__carousel .ksc-dots { margin-top: 8px; }
	.register { padding: 34px 0 50px; }
	.register__title { font-size: 32px; }
	.register__intro { font-size: 15px; margin-bottom: 28px; }
	.lead-form__cols, .lead-form__foot { grid-template-columns: 1fr; }
	.lead-form__choices { margin-top: 26px; }
	.lf-check { font-size: 16px; }
	.lead-form__foot { gap: 18px; }
	.lead-form__submit { text-align: center; order: -1; }
	.lead-form__contact { text-align: center; }
	.lf-btn { width: 100%; font-size: 24px; }
	.homes__title { font-size: 34px; }
	.homes__script { font-size: 24px; }
	.site-footer__inner { flex-direction: column; text-align: center; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(10,18,14,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
		transform: translateY(110%); transition: transform .3s ease;
	}
	.mobile-bar.is-visible { transform: none; }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-family: var(--fun); font-size: 20px; }
	.mobile-bar__call { background: var(--green); color: #fff; }
	.mobile-bar__cta { background: var(--orange); color: #fff; }
}

@media (max-width: 380px) {
	.hero__monster { font-size: 62px; }
	.hero__deals { font-size: 72px; }
	.hc-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__pumpkin { animation: none; }
}
