.as-landing {
	--as-green: #1f9d45;
	--as-green-deep: #167a34;
	--as-ink: #142018;
	--as-muted: #4a5a50;
	--as-sand: #e8efe6;
	--as-paper: #f4f7f2;
	font-family: Manrope, "Segoe UI", sans-serif;
	color: var(--as-ink);
	background: var(--as-paper);
	margin: 0;
}

.as-landing * {
	box-sizing: border-box;
}

.as-wrap {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
}

.as-brand {
	font-family: Unbounded, Manrope, sans-serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.as-hero {
	position: relative;
	min-height: min(92vh, 860px);
	display: flex;
	align-items: flex-end;
	padding-top: 6.5rem;
	background:
		linear-gradient(120deg, rgba(12, 28, 18, 0.72) 8%, rgba(12, 28, 18, 0.28) 55%, rgba(12, 28, 18, 0.45) 100%),
		var(--as-hero) center / cover no-repeat;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.as-hero__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 20% 80%, rgba(31, 157, 69, 0.35), transparent 60%),
		linear-gradient(to top, rgba(10, 18, 12, 0.55), transparent 45%);
	pointer-events: none;
	z-index: 0;
	animation: as-veil 8s ease-in-out infinite alternate;
}

@keyframes as-veil {
	from { opacity: 0.85; transform: scale(1); }
	to { opacity: 1; transform: scale(1.03); }
}

.as-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto 9.5rem;
	animation: as-rise 0.9s ease-out both;
}

@keyframes as-rise {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: translateY(0); }
}

.as-hero__title {
	font-family: Unbounded, Manrope, sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 4.6vw, 3.15rem);
	line-height: 1.15;
	margin: 0 0 0.85rem;
	max-width: 16ch;
	text-shadow: 0 3px 24px rgba(0, 0, 0, 0.4);
}

.as-hero__lead {
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	line-height: 1.45;
	margin: 0 0 1.75rem;
	max-width: 28ch;
	opacity: 0.95;
}

.as-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.95rem 1.55rem;
	border-radius: 4px;
	background: var(--as-green);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: background 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}

.as-btn:hover {
	background: var(--as-green-deep);
	transform: translateY(-1px);
}

.as-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
}

.as-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.as-btn--block,
.as-form input[type="submit"],
.as-form .as-btn {
	width: 100%;
}

.as-about,
.as-gallery,
.as-contacts {
	opacity: 0;
	transition: opacity 0.7s ease;
}

.as-about {
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.as-about.is-in,
.as-gallery.is-in,
.as-contacts.is-in {
	opacity: 1;
}

.as-about.is-in {
	transform: none;
}

.as-about {
	padding: 4.5rem 0 3rem;
	background:
		linear-gradient(180deg, #f7faf6 0%, #eef4ec 100%);
}

.as-h2 {
	font-family: Unbounded, Manrope, sans-serif;
	font-size: clamp(1.35rem, 3vw, 2rem);
	line-height: 1.25;
	margin: 0 0 1rem;
	max-width: 22ch;
}

.as-text {
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--as-muted);
	max-width: 58ch;
	margin: 0 0 1.5rem;
}

.as-points {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
	max-width: 42rem;
}

.as-points li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 1.05rem;
	line-height: 1.45;
}

.as-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--as-green);
}

.as-gallery {
	padding: 0;
	margin: 0;
	background: #0f1a13;
}

.as-gallery__wide {
	margin: 0;
}

.as-gallery__wide img,
.as-gallery__grid img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.as-gallery__wide img {
	max-height: 62vh;
	object-position: center;
}

.as-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.35rem;
	padding: 0.35rem;
	background: #0f1a13;
}

.as-gallery__grid img {
	aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
	.as-gallery__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 0.45rem;
		padding: 0.45rem;
	}
}

.as-contacts {
	padding: 4.5rem 0 5.5rem;
	margin: 0;
	border: 0;
	background:
		radial-gradient(ellipse 80% 60% at 90% 10%, rgba(31, 157, 69, 0.12), transparent 55%),
		linear-gradient(160deg, #122018 0%, #1a2e22 48%, #0f1a13 100%);
	color: #edf5ef;
}

.as-contacts .as-h2,
.as-contacts .as-text {
	color: #edf5ef;
}

.as-contacts .as-text {
	opacity: 0.88;
}

.as-contacts__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 860px) {
	.as-contacts__grid {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: start;
		gap: 3.5rem;
	}
}

.as-phones {
	font-family: Unbounded, Manrope, sans-serif;
	font-size: clamp(1.2rem, 2.5vw, 1.55rem);
	line-height: 1.55;
	margin: 0 0 1.5rem;
}

.as-phones a {
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.as-phones a:hover {
	border-bottom-color: var(--as-green);
}

.as-contacts__form {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.5rem 1.35rem 1.65rem;
	backdrop-filter: blur(6px);
}

.as-form-title {
	font-family: Unbounded, Manrope, sans-serif;
	font-size: 1.15rem;
	margin: 0 0 1rem;
}

.as-form__label {
	display: block;
	font-size: 0.88rem;
	margin: 0.65rem 0 0.3rem;
	opacity: 0.85;
}

.as-form input[type="text"],
.as-form input[type="tel"],
.as-contacts__form input[type="text"],
.as-contacts__form input[type="tel"] {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 1rem;
	font-family: inherit;
}

.as-form__agree {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: flex-start;
	column-gap: 0.65rem;
	font-size: 0.86rem;
	line-height: 1.45;
	margin: 1rem 0 1.15rem;
	opacity: 0.9;
}

.as-form__agree-ctrl {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	padding-top: 0.1rem;
	white-space: nowrap;
}

.as-form__agree-ctrl label {
	display: none;
}

.as-form__agree-text {
	display: block;
	min-width: 0;
}

.as-form__agree a,
.as-contacts__form a {
	color: #9be0ad !important;
}

.as-form__submit {
	margin-top: 0.35rem;
}

.as-form input[type="submit"],
.as-contacts__form input[type="submit"] {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	padding: 0.95rem 1.2rem;
	border: 0;
	border-radius: 4px;
	background: var(--as-green);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	font-family: inherit;
	cursor: pointer;
}

.as-form input[type="submit"]:hover,
.as-contacts__form input[type="submit"]:hover {
	background: var(--as-green-deep);
}

.as-form__ok {
	margin: 0;
	line-height: 1.5;
}

.as-contacts__form .fieldhide,
.as-form .fieldhide {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.as-contacts__form table,
.as-form table {
	width: 100%;
	border: 0;
}

@media (max-width: 640px) {
	.as-hero {
		min-height: 72vh;
		align-items: flex-end;
	}
	.as-hero__inner {
		margin-bottom: 2.5rem;
		padding: 5.5rem 0 0;
	}
	.as-hero__title {
		font-size: clamp(1.45rem, 7vw, 2rem);
		max-width: none;
	}
	.as-hero__lead {
		max-width: none;
	}
	.as-h2 {
		max-width: none;
	}
	.as-gallery__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.3rem;
		padding: 0.3rem;
	}
	.as-contacts {
		padding: 3rem 0 3.5rem;
	}
	.as-contacts__form {
		padding: 1.2rem 1rem 1.35rem;
	}
	.as-form__agree {
		font-size: 0.82rem;
	}
	.as-phones {
		font-size: 1.15rem;
	}
}

/* убрать лишний зазор у футера, не меняя его цвет */
body:has(.as-landing) .pusher {
	margin-bottom: 0;
	padding-bottom: 0;
}

body:has(.as-landing) .pusher + .ui.container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body:has(.as-landing) .bgfoter,
body:has(.as-landing) #footer {
	margin-top: 0 !important;
}

body:has(.as-landing) .ui.inverted.vertical.footer.segment {
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
