/*
Theme Name: Apricot Space
Theme URI: http://jg.production.am/
Author: Joul&Grain
Description: Custom block theme scaffold for the Joul&Grain WordPress project.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Version: 0.1.0
Text Domain: apricotspace
Tags: full-site-editing, block-patterns, wide-blocks
 */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
	font-weight: 500 700;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: block;
}

:root {
	--as-cream: #faf6ef;
	--as-cream-strong: #f4ecde;
	--as-olive: rgba(115, 124, 35, 1);
	--as-olive-deep: #5e672a;
	--as-gold: #d2bb7c;
	--as-ink: #272423;
	--as-charcoal: #3A3C3F;
	--as-charcoal-soft: #36393d;
	--as-line: rgba(39, 36, 35, 0.12);
	--as-shadow: 0 28px 80px rgba(48, 38, 29, 0.12);
	--as-radius-lg: 34px;
	--as-radius-md: 24px;
	--as-radius-sm: 16px;
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", "Segoe UI", sans-serif;
	color: var(--as-ink);
}

body,
button,
input,
select,
textarea {
	font-family: "Montserrat", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Cormorant Garamond", "Baskerville", serif;
	font-weight: 600;
	color: var(--as-olive);
}

body.admin-bar .apricotspace-header-shell {
	top: 32px;
}

.wp-site-blocks {
	min-height: 100vh;
}

.apricotspace-header-shell {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(42, 36, 31, 0.12);
	background: rgba(255, 248, 239, 0.9);
	backdrop-filter: blur(16px);
}

.apricotspace-shell {
	padding: clamp(1.5rem, 2vw, 2rem);
}

.apricotspace-hero,
.apricotspace-post-card,
.apricotspace-content-shell,
.apricotspace-search-shell {
	border: 1px solid rgba(42, 36, 31, 0.08);
	border-radius: 28px;
	background: rgba(255, 252, 247, 0.84);
	box-shadow: 0 18px 50px rgba(61, 43, 31, 0.08);
}

.apricotspace-hero,
.apricotspace-content-shell,
.apricotspace-search-shell {
	padding: clamp(1.5rem, 3vw, 3rem);
}

.apricotspace-post-card {
	height: 100%;
	padding: 1.5rem;
}

.apricotspace-muted {
	margin: 0;
	color: #7d8f69;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.apricotspace-footer {
	border-top: 1px solid rgba(42, 36, 31, 0.12);
}

.wp-block-post-template {
	gap: 1.25rem;
}

.wp-block-navigation-item__content,
.wp-block-post-title a,
.wp-block-query-title a,
.wp-block-site-title a {
	text-decoration: none;
}

.wp-block-post-featured-image img {
	border-radius: 20px;
}

.wp-block-query-pagination {
	margin-top: 0.5rem;
}

.as-home {
	position: relative;
	overflow: clip;
	/* background:
		radial-gradient(circle at top center, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 46%),
		linear-gradient(180deg, #fcf8f1 0%, #faf4e9 100%); */
	color: var(--as-ink);
}

.as-home a {
	color: inherit;
	text-decoration: none;
}

.as-home img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.as-container {
	width: min(1900px, calc(100% - 200px));
	margin: 0 auto;
}

.as-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid rgba(39, 36, 35, 0.06);
	background: rgba(252, 248, 241, 0.92);
	backdrop-filter: blur(18px);
}

.as-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1.25rem 2rem;
	padding: 7px 0;
}

.as-brand {
	flex: 0 0 auto;
}

.as-brand img {
	max-height: 56px;
    width: auto;
}

.as-menu-toggle {
	display: none;
}

.as-nav {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.25rem;
	flex: 0 0 auto;
}

.as-nav__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.as-nav a,
.as-nav__menu a,
.as-btn {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.as-nav a,
.as-nav__menu a {
	font-family: "Avenir LT Std", "Avenir Next", "Segoe UI", sans-serif;
	position: relative;
	padding-bottom: 0;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	transition: color 0.25s ease;
    white-space: nowrap;
}

.as-nav a:hover,
.as-nav a:focus-visible,
.as-nav__menu a:hover,
.as-nav__menu a:focus-visible {
	color: var(--as-olive);
}

.as-nav a::after,
.as-nav__menu a::after {
	content: none;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	transform: scaleX(0);
	transform-origin: left;
	background: var(--as-olive);
	transition: transform 0.25s ease;
}

.as-nav a:hover::after,
.as-nav a:focus-visible::after,
.as-nav a.is-current::after,
.as-nav__menu a:hover::after,
.as-nav__menu a:focus-visible::after,
.as-nav__menu .current-menu-item > a::after,
.as-nav__menu .current_page_item > a::after {
	transform: scaleX(1);
}

.as-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.95rem 1.65rem;
	border: 3px solid var(--as-olive);
	border-radius: 16px;
	font-size: 18px;
	font-weight: 500;
	height: 71px;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

.as-btn:hover,
.as-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 16px 30px rgba(120, 130, 56, 0.18);
}

.as-btn--solid {
	background: var(--as-olive);
	color:rgba(255, 255, 255, 1) !important;
}

.as-btn--ghost {
	background: transparent;
	color: var(--as-olive) !important;
}

.as-hero,
.as-about,
.as-offer,
.as-contact {
	position: relative;
	padding: 2.5rem 0;
}

.as-hero {
	overflow: hidden;
	padding-top: 0;
	padding-bottom: 0;
	background-image: var(--as-hero-visual-image);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
}

.as-hero__grid {
	display: flex;
	align-items: center;
	min-height: calc(100vw * 965 / 1920);
}

.as-hero__content {
	position: relative;
	max-width: min(46rem, 48%);
	z-index: 1;
	max-width: 35%;	
}

.as-hero__title {
	margin: 0;
	font-size: clamp(4rem, 8vw, 8.9rem);
	line-height: 0.88;
	letter-spacing: -0.03em;
	color: rgba(0, 0, 0, 1);
}

.as-hero__title span {
	display: block;
}

.as-hero__title .is-accent {
	color: rgba(115, 124, 35, 1);
}

.as-rule {
	width: 94px;
	height: 3px;
	margin: 30px 0 50px;
	border-radius: 999px;
	background: rgba(115, 124, 35, 1);	
}

.as-copy {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.75;
	color: rgba(39, 36, 35, 0.82);
}

.as-hero .as-copy {
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 25px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.53;
	letter-spacing: 0.03em;
	color: rgba(0, 0, 0, 1);
}

.as-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.as-about__grid,
.as-delivery__grid,
.as-contact__grid {
	display: grid;
	gap: 2.5rem;
}

.as-section-heading {
	display: flex;
	flex-direction: column;
	/* gap: 0.7rem; */
	/* margin-bottom: 1.5rem; */
}

.as-section-heading--center {
	align-items: center;
	text-align: center;
}

.as-section-heading__icon {
	width: 66px;
	opacity: 0.55;
}

.as-section-heading h2 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 0.95;
}

.as-section-heading--center h2 {
	font-size: clamp(2.7rem, 4vw, 3.75rem);
}

.as-section-heading__rule {
	width: 58px;
	height: 3px;
	border-radius: 999px;
	background: var(--as-olive);
}

.as-about__grid {
	grid-template-columns: minmax(0, 40%) minmax(0, 60%);
	align-items: center;
}

.as-about .as-section-heading {
	position: relative;
	gap: 0;
	/* margin-bottom: 2.35rem; */
	/* padding-left: 150px; */
	text-align: left;
}

.as-about .as-section-heading h2 {
	position: relative;
	display: inline-block;
	margin-bottom: 0;
	font-family: "Cormorant Garamond", "Baskerville", serif;
	font-size: 61px;
	font-weight: 600;
	font-style: normal;
	line-height: 0.91;
	letter-spacing: 0.03em;
	color: var(--as-olive);
}

.as-about .as-section-heading h2::before {
	content: "";
    position: absolute;
    top: -90px;
    left: -105px;
    height: 220px;
    width: auto;
	aspect-ratio: 267 / 258;
	background: url("assets/images/image 3.png") center / contain no-repeat;
	opacity: 0.68;
	pointer-events: none;
}

.as-about__text {
	padding-right: 1rem;
}

.as-about__body {
	/* max-width: 34rem; */
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.as-about__body p,
.as-contact__intro p {
	margin: 0 0 0.9rem;
}

.as-about__body p:last-child,
.as-contact__intro p:last-child {
	margin-bottom: 0;
}

.as-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.6rem;
	/* border-top: 1px solid var(--as-line); */
}

.as-feature {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding-right: 0.75rem;
}

.as-feature:not(:last-child) {
	border-right: 1px solid var(--as-olive);
}

.as-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	color: var(--as-olive);
}

.as-icon svg {
	width: 50px;
	height: 50px;
	stroke: currentColor;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.as-feature .as-icon img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.as-feature span {
	font-size: 0.92rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 1);
}

.as-feature > span:not(.as-icon) {
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.as-about__image-wrap {
	position: relative;
	border: 1px solid rgba(39, 36, 35, 0.07);
	border-radius: 34px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(247, 239, 225, 0.95));
}

.as-about__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.3 / 1;
	object-fit: cover;
	border-radius: 28px;
}

.as-delivery {
	position: relative;
	width: 100%;
	aspect-ratio: 10 / 3;
	height: auto;
	margin-top: 1rem;
	padding: 0;
	background-color: var(--as-charcoal);
	color: #f8f1e3;
}

.as-delivery__grid {
	grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
	position: relative;
	/* height: 100%; */
	/* min-height: 0; */
	align-items: center;
	gap: 0;
	overflow: hidden;
}

.as-delivery__content {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	grid-template-rows: auto 1fr auto;
	height: 100%;
	width: 100%;
	margin-left: 0;
	padding: clamp(1.5rem, 3vw, 3.5rem) clamp(2rem, 4vw, 5rem) 0;
	position: relative;
	z-index: 1;
}

.as-delivery__content h2,
.as-footer__tagline {
	color: #f4ecdc;
}

.as-delivery__content .is-accent {
	color: #9dae52;
}

.as-delivery__copy {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.75;
	color: rgba(248, 241, 227, 0.9);
}

.as-delivery__ornament {
	align-self: end;
	/* justify-self: end; */
	width: clamp(100px, 10vw, 157px);
	height: auto;
	margin: -20px 0;
	border-radius: 0 !important;
}

.as-delivery__image {
	grid-column: 1;
	grid-row: 1;
	position: static;
	z-index: 0;
	display: block !important;
	width: calc(100% - clamp(1rem, 2vw, 2.5rem));
	height: auto;
	align-self: center;
	justify-self: end;
	border-radius: 0 !important;
}

.as-offer {
	padding-top: 3rem;
}

.as-offer-slider {
	position: relative;
	display: block;
	isolation: isolate;
}

.as-offer-slider::before,
.as-offer-slider::after {
	content: "";
	position: absolute;
	z-index: 0;
	width: clamp(150px, 15vw, 230px);
	aspect-ratio: 2 / 3;
	background: url("assets/images/wheat-tall.png") center / contain no-repeat;
	pointer-events: none;
	user-select: none;
	background-size: cover;
}

.as-offer-slider::before {
	height: 110%;
	top: -170px;
    left: -211px;
	background-image: url("assets/images/image 4 (1).png");
}

.as-offer-slider::after {
	right: -150px;
    height: 120%;
    bottom: -50px;
	background-image: url("assets/images/Group 15.png");
}

.as-offer-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.as-offer-slider__nav.is-prev {
	left: -20px;
	transform: translateY(-50%);
}

.as-offer-slider__nav.is-next {
	right: -20px;
	transform: translateY(-50%);
}

.as-offer-slider__nav img {
	display: block;
	width: 100%;
	height: 100%;
}

.as-offer-slider__nav:hover,
.as-offer-slider__nav:focus-visible {
	transform: translateY(calc(-50% - 1px));
}

.as-offer-slider__nav:disabled {
	opacity: 0.35;
	cursor: default;
	transform: translateY(-50%);
}

.as-offer__viewport {
	/* margin: 0 4rem; */
	position: relative;
	z-index: 1;
	min-width: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.as-offer__viewport::-webkit-scrollbar {
	display: none;
}

.as-offer__grid {
	display: flex;
	gap: 1rem;
}

.as-offer-card {
	flex: 0 0 calc((100% - 4rem) / 5);
	aspect-ratio: 1 / 1.5;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.as-offer-card {
	position: relative;
	/* padding: 1rem 1rem 1.25rem; */
	border: 1px solid rgba(39, 36, 35, 0.09);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 18px 35px rgba(58, 45, 35, 0.06);
	text-align: center;
}

.as-offer-trigger {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: inherit;
	cursor: pointer;
}

.as-offer-trigger:focus-visible {
	outline: 2px solid rgba(120, 130, 56, 0.55);
	outline-offset: 8px;
	border-radius: 18px;
}

.as-offer-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	/* border-radius: 18px; */
}

.as-offer-card__icon {
	position: relative;
	top: -28px;
	margin: -28px auto -20px;
	width: 86px;
	height: 86px;
	/* border: 1px solid rgba(255, 255, 255, 0.9); */
	background: var(--as-olive);
	color: #fefcf7;
	box-shadow: 0 10px 25px rgba(120, 130, 56, 0.22);
}

.as-offer-card__icon-image {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.as-offer-card__content {
	padding: 1rem;
}	

.as-offer-card h3 {
	margin: 0 0 0.45rem;
    font-size: 1.65rem;
	line-height: 1;
}

.as-offer-card p {
	margin: 0;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
    font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(0, 0, 0, 1);
	letter-spacing: 3%;
}

.as-empty-offers {
	margin: 0;
	font-size: 1rem;
	text-align: center;
	color: rgba(39, 36, 35, 0.7);
}

.as-contact__grid {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.32fr);
	align-items: start;
	gap: clamp(2.5rem, 5vw, 5rem);
}

.as-contact__details,
.as-contact__intro {
	padding-top: 0.4rem;
}

.as-contact__details {
	display: grid;
	gap: 1rem;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.as-contact-item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font: inherit;
}

.as-contact-item .as-icon {
	width: 50px;
	height: 50px;
	border: 0;
	background: transparent;
}

.as-contact-item .as-icon img {
	display: block;
	width: 100%;
	height: 100%;
}

.as-contact__intro {
	position: relative;
	min-height: 210px;
	max-height: fit-content;
	padding: 0.4rem clamp(2rem, 4vw, 4rem) 0;
	border-left: 1px solid var(--as-olive);
	border-right: 1px solid var(--as-olive);
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
	height: 100%;
}

.as-contact__intro p {
	margin: 0;
	font: inherit;
}

.as-contact__intro::after {
	content: "";
	position: absolute;
	bottom: -235px;
	left: -24px;
	width: 470px;
	aspect-ratio: 3 / 2;
	background: var(--as-contact-ornament-image) center / contain no-repeat;
	opacity: 0.53;
	/* transform: translateX(-50%); */
	pointer-events: none;
}

.as-contact-form {
	display: block;
	padding-top: 0.4rem;
}

.as-contact-form > p {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
}

.as-contact-form br {
	display: none;
}

.as-contact-form label {
	display: block;
}

.as-contact-form label.is-wide {
	grid-column: 1 / -1;
}

.as-contact-form input:not([type="submit"]),
.as-contact-form textarea {
	width: 100%;
	border: 1px solid rgba(39, 36, 35, 0.14);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.62);
	padding: 0.95rem 1rem;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
	color: var(--as-ink);
}

.as-contact-form input{
	height: 50px;
	min-height: 50px;
}

.as-contact-form input::placeholder,
.as-contact-form textarea::placeholder {
	color: rgba(39, 36, 35, 0.5);
}

.as-contact-form input[type="email"]::placeholder {
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
	opacity: 1;
}

.as-contact-form textarea {
	height: 108px;
	min-height: 108px;
	overflow-y: scroll;
	resize: none;
}

.as-contact-form input:not([type="submit"]):focus,
.as-contact-form textarea:focus {
	border-color: rgba(39, 36, 35, 0.14);
	outline: none;
	box-shadow: none;
}

.as-contact-form .as-btn {
	grid-column: 1 / -1;
	width: 100%;
	height: 50px;
	cursor: pointer;
	margin-top: 0.15rem;
	border-radius: 8px;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	line-height: 1.53;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	padding: 0;
}

.as-contact-form .as-btn:focus,
.as-contact-form .as-btn:focus-visible,
.as-contact-form .as-btn:active {
	border-color: var(--as-olive);
	outline: none;
	box-shadow: none;
}

.as-contact-form .wpcf7-response-output {
position: absolute !important;
margin: 0 !important;
border: none !important;
background: none !important;
}

.as-contact-form .wpcf7-spinner {
	display: none;
}

.as-contact-form.submitting .wpcf7-spinner {
	display: inline-block;
}

.as-footer {
	margin-top: 2rem;
	padding: 38px 0;
	background: linear-gradient(180deg, #2d3034 0%, #27292c 100%);
	color: #f6eee1;
}

.as-modal-open {
	overflow: hidden;
}

.as-offer-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	padding: 2rem;
}

.as-offer-modal.is-open {
	display: block;
}

.as-offer-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 23, 22, 0.72);
	backdrop-filter: blur(8px);
}

.as-offer-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(1040px, 100%);
	top: 5%;
	height: 80vh;
	margin: 0 auto;
	padding-right: 12px;
	overflow: hidden;
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 30px 100px rgba(12, 12, 12, 0.25);
}

.as-offer-modal__dialog::before,
.as-offer-modal__dialog::after {
	content: "";
	position: absolute;
	z-index: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
	user-select: none;
}

.as-offer-modal__dialog::before {
	top: 20px;
	left: 18px;
	width: clamp(100px, 12vw, 170px);
	aspect-ratio: 437 / 655;
	background-image: url("assets/images/image 4 (1).png");
    transform: rotate(13.69deg);
}

.as-offer-modal__dialog::after {
	right: 0;
	bottom: 0;
	width: clamp(120px, 13vw, 185px);
	aspect-ratio: 440 / 595;
	background-image: url("assets/images/Group 15.png");
    transform: rotate(1.5deg);
}

.as-offer-modal__grid {
	display: flex;
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.as-offer-modal__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.as-offer-modal__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
	min-height: 0;
	padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
}

.as-offer-modal__close {
	position: absolute;
	z-index: 2;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--as-ink);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.as-offer-modal__close img {
	display: block;
	width: 21px;
	height: 21px;
	border-radius: 0;
}

.as-offer-modal__label {
	margin: 0 0 2rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 53px;
	font-weight: 600;
	font-style: normal;
	line-height: 0.91;
	letter-spacing: 0.03em;
	text-align: center;
	color: rgba(0, 0, 0, 1);
}

.as-offer-modal__body h3 {
	margin: 0 0 1.25rem;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 26px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.63;
	letter-spacing: -0.01em;
	text-align: center;
	color: rgba(86, 90, 33, 1);
}

.as-offer-modal__content {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: rgba(39, 36, 35, 0.45) transparent;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 17px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.85;
	letter-spacing: 0.03em;
	text-align: center;
	color: rgba(0, 0, 0, 1);
	padding: 0 3px;
}

.as-offer-modal__content::-webkit-scrollbar {
	width: 8px;
}

.as-offer-modal__content::-webkit-scrollbar-track {
	margin: 0 0 16px;
}

.as-offer-modal__content::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(39, 36, 35, 0.45);
}

.as-offer-modal__content > :first-child {
	margin-top: 0;
}

.as-offer-modal__content > :last-child {
	margin-bottom: 0;
}

.as-offer-modal__content ul,
.as-offer-modal__content ol {
	padding-left: 1.2rem;
}

.as-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr);
	/* align-items: center; */
	gap: 1.5rem;
}

.as-footer__brand img {
	height: 127px;
	width: auto;
}

.as-footer__center {
	text-align: center;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 25px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.as-footer__tagline {
	margin: 0 auto;
	/* white-space: nowrap; */
	font: inherit;
	font-size: 22px;
}

.as-footer__line {
	height: 100%;
	width: auto;
	margin: 0.75rem auto 0;
	opacity: 0.88;
}

.as-footer__right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.as-footer__socials {
	display: flex;
	gap: 0.75rem;
}

.as-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* width: 42px;
	height: 42px;
	border: 1px solid rgba(246, 238, 225, 0.35);
	border-radius: 999px; */
	/* font-size: 0.85rem;
	font-weight: 600;
	color: #f6eee1; */
}

.as-social img {
	display: block;
	width: auto;
	max-height: 53px;
	height: 100%;
	object-fit: contain;
}

.as-copyright {
	margin: 0;
	font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.7;
	letter-spacing: 0.03em;
	color: rgba(246, 238, 225, 0.76);
	text-align: right;
}

@media (max-width: 1100px) {
	.as-nav {
		left: auto;
		right: 0;
		transform: translateY(-50%);
	}

	.as-nav__menu {
		justify-content: flex-end;
	}
}

/* Tablet layouts bridge the desktop composition and the dedicated mobile view. */
@media (min-width: 783px) and (max-width: 1199px) {
	.as-container {
		width: min(100% - 64px, 1120px);
	}

	.as-header__inner {
		justify-content: space-between;
		gap: 1rem;
	}

	.as-brand img {
		max-height: 46px;
	}

	.as-nav {
		position: static;
		transform: none;
		gap: 1rem;
	}

	.as-nav__menu {
		gap: 1rem;
	}

	.as-nav a,
	.as-nav__menu a {
		font-size: 13px;
	}

	.as-hero__grid {
		min-height: calc(100vw * 0.5);
	}

	.as-hero__content {
		max-width: 48%;
	}

	.as-hero__title {
		font-size: clamp(3.75rem, 7vw, 5.75rem);
	}

	.as-hero .as-copy {
		font-size: clamp(1rem, 2vw, 1.25rem);
	}

	.as-btn {
		min-height: 52px;
		height: auto;
		padding: 0.8rem 1.25rem;
		font-size: 15px;
	}

	.as-about__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 2rem;
	}

	.as-about .as-section-heading h2 {
		font-size: clamp(2.8rem, 5vw, 3.3rem);
	}

	.as-about .as-section-heading h2::before {
		top: -72px;
		left: -84px;
		height: 170px;
	}

	.as-about__body,
	.as-feature > span:not(.as-icon) {
		font-size: 16px;
	}

	.as-feature .as-icon img {
		width: 42px;
		height: 42px;
	}

	.as-delivery {
		/* height: clamp(400px, 52vw, 560px); */
	}

	.as-delivery__content {
		width: 100%;
		padding: clamp(2.5rem, 5vw, 4rem);
	}

	.as-offer-slider::before,
	.as-offer-slider::after {
		width: 120px;
	}

	.as-offer-slider::before {
		left: -80px;
	}

	.as-offer-slider::after {
		right: -80px;
	}

	.as-offer-slider__nav.is-prev {
		left: 0;
	}

	.as-offer-slider__nav.is-next {
		right: 0;
	}

	.as-offer__viewport {
		margin: 0 1.5rem;
	}

	.as-offer-card {
		flex-basis: calc((100% - 2rem) / 3);
	}

	.as-offer-card h3 {
		font-size: clamp(1.2rem, 2.1vw, 1.5rem);
	}

	.as-offer-card p {
		font-size: clamp(0.8rem, 1.5vw, 0.95rem);
	}

	.as-contact__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 2rem;
	}

	.as-contact__details {
		grid-row: span 2;
	}

	.as-contact__intro {
		min-height: 0;
		padding-right: 2rem;
		padding-left: 2rem;
	}

	.as-contact__intro::after {
		width: 320px;
		bottom: -170px;
	}

	.as-contact__grid > .wpcf7 {
		grid-column: 2;
	}

	.as-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.as-footer__right {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
	}

	.as-copyright {
		text-align: left;
	}

	.as-offer-modal__dialog {
		width: min(900px, calc(100% - 4rem));
		height: min(78dvh, 720px);
	}
}

@media (min-width: 783px) and (max-width: 959px) {
	.as-container {
		width: min(100% - 48px, 900px);
	}

	.as-header__inner {
		flex-wrap: wrap;
		justify-content: center;
	}

	.as-nav {
		width: 100%;
		justify-content: center;
	}

	.as-section-heading {
		align-items: center;
		text-align: center;
	}

	.as-section-heading .as-rule {
		margin-right: auto;
		margin-left: auto;
	}

	.as-hero__content {
		max-width: 52%;
	}

	.as-about__grid {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
	}

	.as-features {
		gap: 0.5rem;
	}

	.as-feature {
		gap: 0.5rem;
		padding-right: 0.5rem;
	}

	.as-delivery__content {
		grid-column: 1;
		grid-row: 1;
		height: auto;
		grid-template-rows: auto auto auto;
		width: 100%;
	}

	.as-delivery__grid {
		grid-template-columns: 1fr;
	}

	.as-delivery {
		aspect-ratio: auto;
		height: auto;
	}

	.as-delivery__image {
		grid-column: 1;
		grid-row: 2;
		width: 72%;
		justify-self: center;
	}

	.as-contact__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.as-contact__details {
		grid-row: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}

	.as-contact__grid > .wpcf7 {
		grid-column: auto;
	}

	.as-contact__intro {
		min-height: 0;
		padding: 1.5rem 2rem;
	}

	.as-contact__intro::after {
		display: none;
	}

	.as-footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.as-footer__brand,
	.as-footer__right {
		grid-column: auto;
		align-items: center;
	}

	.as-footer__right {
		flex-direction: column;
	}

	.as-copyright {
		text-align: center;
	}
}

@media (max-width: 782px) {
	body.admin-bar .apricotspace-header-shell {
		top: 46px;
	}

	.apricotspace-header-shell {
		position: static;
	}

	.apricotspace-post-card {
		padding: 1.25rem;
	}

	.as-header {
		position: static;
	}

	.as-container {
		width: min(100% - 28px, 1900px);
	}

	.as-header__inner,
	.as-nav,
	.as-hero__actions,
	.as-footer__right {
		justify-content: center;
	}

	.as-header__inner {
		flex-direction: column;
		padding: 1rem 0 1.2rem;
	}

	.as-nav {
		position: static;
		top: auto;
		left: auto;
		transform: none;
		flex-wrap: wrap;
		gap: 0.9rem 1.25rem;
	}

	.as-nav__menu {
		flex-wrap: wrap;
		gap: 0.9rem 1.25rem;
	}

	.as-hero {
		padding-top: 2rem;
		padding-bottom: 2rem;
		background-position: center;
		background-size: cover;
	}

	.as-delivery {
		height: auto;
	}

	.as-hero__grid,
	.as-about__grid,
	.as-delivery__grid,
	.as-contact__grid,
	.as-footer__grid {
		grid-template-columns: 1fr;
	}

	.as-hero__grid {
		min-height: auto;
	}

	.as-delivery__grid {
		height: auto;
	}

	.as-hero__content {
		max-width: 100%;
		padding-left: 0;
	}

	.as-offer-slider::before,
	.as-offer-slider::after {
		display: none;
	}

	.as-section-heading,
	.as-section-heading--center,
	.as-contact__intro,
	.as-footer__center,
	.as-footer__right {
		text-align: center;
		align-items: center;
	}

	.as-about__text,
	.as-contact__intro {
		padding: 0;
		border: 0;
	}

	.as-contact__intro {
		min-height: 0;
	}

	.as-contact__intro::after {
		position: static;
		display: block;
		width: min(180px, 100%);
		margin: 1.5rem auto 0;
		transform: none;
	}

	.as-about .as-section-heading {
		margin-bottom: 1.8rem;
		padding-left: 88px;
	}

	.as-about .as-section-heading h2 {
		font-size: clamp(2.6rem, 8vw, 3.8rem);
	}

	.as-about .as-section-heading h2::before {
		left: -88px;
		width: 72px;
	}

	.as-features {
		grid-template-columns: 1fr;
	}

	.as-feature {
		padding-right: 0;
		justify-content: center;
	}

	.as-feature:not(:last-child) {
		border-right: 0;
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--as-line);
	}

	.as-delivery__content {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		margin-left: 0;
		padding: 3rem 1.5rem;
	}

	.as-offer-card {
		flex-basis: calc((100% - 1rem) / 2);
	}

		.as-offer-modal {
			padding: 1rem;
		}

		.as-offer-modal__dialog {
			height: calc(100vh - 2rem);
		}

		.as-offer-modal__grid {
			max-height: none;
		}
		
		.as-contact-form > p {
			grid-template-columns: 1fr;
		}

	.as-footer__right,
	.as-copyright {
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.as-hero__title {
		font-size: clamp(3.2rem, 17vw, 4.8rem);
	}

	.as-copy {
		font-size: 1rem;
	}

	.as-offer-slider {
		display: block;
	}

	.as-offer-slider__nav {
		display: none;
	}

	.as-offer__viewport {
		margin: 0;
	}

	.as-offer-card {
		flex-basis: 100%;
	}
}

/* Mobile layout follows the single-column homepage composition. */
@media (max-width: 782px) {
	.as-container {
		width: min(100% - 32px, 1900px);
	}

	.as-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 50;
		background: #fff;
		backdrop-filter: none;
	}

	.as-home > main {
		/* padding-top: 48px; */
	}

	.as-header__inner {
		flex-direction: row;
		justify-content: space-between;
		min-height: 48px;
		padding: 0.5rem 0;
	}

	.as-brand img {
		width: 112px;
		max-height: none;
		padding-left: 0;
		border-radius: 0;
	}

	.as-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.as-menu-toggle > span:not(.screen-reader-text) {
		display: block;
		width: 24px;
		height: 2px;
		border-radius: 999px;
		background: var(--as-gold);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.as-header.is-menu-open .as-menu-toggle > span:nth-of-type(2) {
		transform: translateY(7px) rotate(45deg);
	}

	.as-header.is-menu-open .as-menu-toggle > span:nth-of-type(3) {
		opacity: 0;
	}

	.as-header.is-menu-open .as-menu-toggle > span:nth-of-type(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.as-nav {
		position: absolute;
		top: 100%;
		left: 50%;
		right: auto;
		z-index: 5;
		display: none;
		width: 100vw;
		padding: 0.5rem 1rem 1rem;
		border-top: 1px solid rgba(39, 36, 35, 0.08);
		background: #fff;
		box-shadow: 0 14px 24px rgba(39, 36, 35, 0.08);
		transform: translateX(-50%);
	}

	.as-header.is-menu-open .as-nav {
		display: block;
	}

	.as-nav__menu {
		display: grid;
		gap: 0;
	}

	.as-nav > a,
	.as-nav__menu a {
		display: block;
		padding: 0.85rem 0;
		font-size: 0.8rem;
		text-align: center;
		color: var(--as-olive);
	}

	.as-nav__menu li:not(:last-child) {
		border-bottom: 1px solid rgba(39, 36, 35, 0.08);
	}

	.as-hero {
		padding: 50.26vw 0 0;
		background-color: #fff;
		background-position: center top;
		background-size: 100% auto;
	}

	.as-hero__grid {
		display: block;
		min-height: 0;
		margin-top: 20px;
	}

	.as-hero__content {
		max-width: 100%;
	}

	.as-hero__title {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 62px;
		font-weight: 600;
		font-style: normal;
		line-height: 0.91;
		letter-spacing: 0.03em;
	}

	.as-rule {
		width: 94px;
		height: 0;
		margin: 18px 0 22px;
		border: 0;
		border-top: 3px solid rgba(115, 124, 35, 1);
		border-radius: 0;
		background: none;
	}

	.as-hero .as-copy {
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 20px;
		font-weight: 400;
		font-style: normal;
		line-height: 28px;
		letter-spacing: 0.03em;
	}

	.as-hero__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		margin-top: 2rem;
	}

	.as-hero__actions .as-btn {
		min-height: 50px;
		height: 50px;
		padding: 0.65rem 1.5rem;
		border-width: 2px;
		border-radius: 16px;
		font-size: 18px;
		letter-spacing: 0.05em;
	}

	.as-hero__actions .as-btn--solid {
		min-width: 243px;
	}

	.as-hero__actions .as-btn--ghost {
		min-width: 210px;
	}

	.as-about,
	.as-offer
	{
		padding: 5.25rem 0;
	}

	.as-contact {
		padding: 0;
	}

	.as-about {
		padding-top: 120px;
	}

	.as-about {
		padding-top: 120px;
	}

	.as-about .as-section-heading {
		align-items: flex-start;
		margin: 0 0 1.5rem;
		padding-left: 0;
		text-align: left;
	}

	.as-about .as-section-heading h2 {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 40px;
		font-weight: 600;
		font-style: normal;
		line-height: 0.91;
		letter-spacing: 0.03em;
	}

	.as-about .as-section-heading h2::before {
		top: -79px;
		left: -77px;
		width: 233.815px;
		height: 100.114px;
		aspect-ratio: auto;
		background-size: 100% 100%;
		opacity: 1;
		transform: rotate(-24deg);
		transform-origin: center;
	}

	.as-about .as-section-heading .as-rule {
		margin: 15px 0 0;
	}

	.as-about__text {
		padding-right: 0;
	}

	.as-about__grid {
		gap: 0;
	}

	.as-about__body {
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 20px;
		font-weight: 300;
		font-style: normal;
		line-height: 30px;
		letter-spacing: 0.03em;
	}

	.as-features {
		grid-template-columns: 1fr;
		gap: 32px;
		width: min(220px, 100%);
		margin: 2rem auto 0;
		padding: 0;
	}

	.as-feature,
	.as-feature:not(:last-child) {
		flex-direction: row;
		justify-content: center;
		gap: 18px;
		min-height: 70px;
		padding: 0;
		border-top: 0;
		border-bottom: 0;
		border-right: 1px solid rgba(115, 124, 35, 0.55);
		border-left: 1px solid rgba(115, 124, 35, 0.55);
	}

	.as-feature:last-child {
		border-right: 1px solid rgba(115, 124, 35, 0.55);
	}

	.as-feature .as-icon,
	.as-feature .as-icon img {
		width: 40px;
		height: 40px;
	}

	.as-feature > span:not(.as-icon) {
		font-size: 20px;
		font-weight: 400;
		line-height: 1.2;
		letter-spacing: 0.03em;
		text-align: left;
	}

	.as-about__image-wrap {
		margin-top: 1.75rem;
		border-radius: 16px;
	}

	.as-about__image {
		aspect-ratio: 1 / 1;
		border-radius: 16px !important;
	}

	.as-delivery {
		min-height: 0;
		aspect-ratio: auto;
		height: auto;
		margin-top: 0;
		background-image: none;
	}

	.as-delivery__grid {
		position: relative;
		height: auto;
		gap: 0;
		justify-items: center;
	}

	.as-delivery__content {
		width: 100%;
		margin: 0;
		padding: 4rem 1rem 0;
		position: static;
		height: auto;
		grid-template-rows: auto auto auto;
		row-gap: 2rem;
	}

	.as-delivery__content .as-section-heading {
		align-items: flex-start;
		text-align: left;
	}

	.as-delivery__content h2 {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 40px;
		font-weight: 600;
		font-style: normal;
		line-height: 0.88;
		letter-spacing: 0.03em;
		text-align: left;
	}

	.as-delivery__content .as-rule {
		margin: 16px 0 20px;
	}

	.as-delivery__copy {
		/* max-width: 22rem; */
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 20px;
		font-weight: 300;
		font-style: normal;
		line-height: 30px;
		letter-spacing: 0.03em;
		text-align: left;
	}

	.as-delivery__ornament {
		width: 153px;
		margin-top: 1rem;
		justify-self: end;
	}

	.as-delivery__image {
		grid-column: 1;
		grid-row: 2;
		position: static;
		left: auto;
		bottom: auto;
		z-index: auto;
		display: block !important;
		width: 86%;
		height: auto;
		margin: 4rem 1rem;
	}

	.as-offer .as-section-heading {
		align-items: flex-start;
		padding-left: 38px;
		text-align: left;
	}

	.as-offer .as-section-heading--center {
		align-items: center;
		padding-left: 0;
		text-align: center;
	}

	.as-offer .as-section-heading h2 {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 40px;
		font-weight: 600;
		font-style: normal;
		line-height: 0.91;
		letter-spacing: 0.03em;
		color: var(--as-olive);
	}

	.as-offer .as-section-heading .as-rule {
		margin: 14px 0 20px;
	}

	.as-offer .as-section-heading--center .as-rule {
		margin-right: auto;
		margin-left: auto;
	}

	.as-offer-slider::before {
        display: block;
        top: -130px;
        left: -62px;
        width: 94px;
        height: 221px;
	}

	.as-offer-slider::after {
		display: none;
	}

	.as-offer__viewport {
		overflow-x: auto;
		padding: 0 0 0.25rem;
	}

	.as-offer__grid {
		gap: 0.75rem;
	}

	.as-offer-card {
		flex-basis: calc(100% - 2rem);
		border-radius: 16px;
	}

	.as-offer-card__image {
		border-radius: 10px 10px 0 0;
	}

	.as-offer-card__icon {
		top: -22px;
		width: 62px;
		height: 62px;
		margin: -22px auto -14px;
	}

	.as-offer-card__icon-image {
		width: 24px;
		height: 24px;
	}

	.as-offer-card__content {
		padding: 0.75rem 0.8rem 1rem;
	}

	.as-offer-card h3 {
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 26px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.63;
		letter-spacing: -0.01em;
		text-align: center;
	}

	.as-offer-card p {
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 17px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.63;
		letter-spacing: 0.03em;
		text-align: center;
	}

	.as-offer-modal {
		padding: 0;
	}

	.as-offer-modal__dialog {
		top: 0;
		width: 100%;
		height: 100dvh;
		min-height: 100dvh;
		padding-right: 0;
		border-radius: 0;
	}

	.as-offer-modal__grid {
		width: 100%;
		height: 100%;
		padding: 4.5rem 1rem 1.5rem;
		box-sizing: border-box;
	}

	.as-offer-modal__dialog::before {
		top: 160px;
		left: -32px;
	}

	.as-offer-modal__dialog::after {
		transform: rotate(23.5deg);
	}

	.as-offer-modal__close {
		z-index: 3;
		pointer-events: auto;
	}

	.as-contact .as-section-heading {
		align-items: center;
		text-align: center;
	}

	.as-contact > .as-container > h2 {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: 40px;
		font-weight: 600;
		font-style: normal;
		line-height: 0.91;
		letter-spacing: 0.03em;
		text-align: center;
		color: var(--as-olive);
	}

	.as-contact {
		scroll-margin-top: 64px;
	}

	.as-contact .as-section-heading h2 {
		font-family: "Cormorant Garamond", Georgia, serif;
		font-size: clamp(2rem, 9vw, 2.7rem);
		color: var(--as-olive);
	}

	.as-contact .as-section-heading .as-rule {
		margin: 14px 0 28px;
	}

	.as-contact__grid {
		gap: 0;
	}

	.as-contact__details {
		gap: 24px;
		padding: 0;
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 18px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.7;
		letter-spacing: 0.03em;
	}

	.as-contact-item {
		gap: 20px;
	}

	.as-contact-item .as-icon,
	.as-contact-item .as-icon img {
		width: 50px;
		height: 50px;
	}

	.as-contact__intro {
		min-height: 0;
		margin: 2.5rem 0;
		padding: 2.5rem 0;
		border-top: 1px solid var(--as-olive);
		border-bottom: 1px solid var(--as-olive);
		text-align: left;
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 18px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.7;
		letter-spacing: 0.03em;
	}

	.as-contact__intro::after {
		display: none;
	}

	.as-contact-form {
		padding: 0;
	}

	.as-contact-form > p {
		gap: 0.6rem;
	}

	.as-contact-form input:not([type="submit"]),
	.as-contact-form textarea {
		padding: 0.55rem 0.7rem;
		border-color: rgba(97, 97, 97, 1);
		border-radius: 3px;
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 18px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.7;
		letter-spacing: 0.03em;
	}

	.as-contact-form input,
	.as-contact-form input[type="submit"].as-btn {
		height: 42px;
		min-height: 42px;
	}

	.as-contact-form textarea {
		height: 104px;
		min-height: 104px;
	}

	.as-contact-form .as-btn {
		margin-top: 0.15rem;
		border-width: 0;
		border-radius: 3px;
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 18px;
		font-weight: 500;
		font-style: normal;
		line-height: 1.53;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 1);
	}

	.as-footer {
		margin-top: 5rem;
		padding: 2.5rem 0 1.75rem;
		color: rgba(255, 255, 255, 1);
	}

	.as-footer__grid {
		gap: 1.8rem;
	}

	.as-footer__brand img {
		width: min(229px, 100%);
		height: auto;
		border-radius: 0;
	}

	.as-footer__center {
		font-size: 0.68rem;
		line-height: 1.45;
		letter-spacing: 0.01em;
	}

	.as-footer__tagline {
		font-family: "Montserrat Arm", "Montserrat", "Segoe UI", sans-serif;
		font-size: 14.53px;
		font-weight: 400;
		font-style: normal;
		line-height: 1.7;
		letter-spacing: 0.03em;
		color: rgba(255, 255, 255, 1);
	}

	.as-footer__line {
		width: min(263px, 100%);
		height: auto;
	}

	.as-footer__right {
		gap: 1.25rem;
	}

	.as-footer__socials {
		gap: 1.25rem;
	}

	.as-social img {
		width: 46.14px;
		height: 46.14px;
	}

	.as-copyright {
		font-size: 14.94px;
		line-height: 1.7;
		letter-spacing: 0.03em;
		text-align: center;
		color: rgba(255, 255, 255, 1);
	}
}

@media (max-width: 460px){
	.as-delivery__ornament{
		margin: -85px 0;
	}
}

@media (min-width: 460px) and (max-width: 783px) {
	.as-delivery__content {
		justify-items: center;
		text-align: center;
	}

	.as-delivery__content .as-section-heading {
		align-items: center;
		text-align: center;
	}

	.as-delivery__content .as-rule {
		margin-right: auto;
		margin-left: auto;
	}

	.as-delivery__copy {
		text-align: center;
	}

	.as-delivery__ornament {
		justify-self: center;
	}

	.as-delivery__image {
		justify-self: center;
		margin-right: auto;
		margin-left: auto;
	}
}
