/* Amrutwel redesign – global design layer */
:root {
	--amw-green-900: #25361a;
	--amw-green-700: #3a5222;
	--amw-green-600: #495f2c;
	--amw-green-500: #61803a;
	--amw-green-100: #e8efdd;
	--amw-cream: #faf7f0;
	--amw-sand: #f1ebdc;
	--amw-gold: #c49a3a;
	--amw-ink: #1f2a17;
	--amw-muted: #5d6652;
	--amw-line: rgba(37, 54, 26, 0.12);
	--amw-radius: 18px;
	--amw-shadow: 0 10px 30px rgba(37, 54, 26, 0.10);
	--amw-shadow-lg: 0 22px 50px rgba(37, 54, 26, 0.18);
	--amw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body.amw {
	font-family: 'Poppins', sans-serif;
	color: var(--amw-ink);
	background: var(--amw-cream);
	-webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
.amw h1, .amw h2, .amw h3,
.amw .elementor-heading-title,
.amw .entry-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	letter-spacing: -0.01em;
	line-height: 1.12;
}
.amw h2.elementor-heading-title,
.amw .elementor-widget-heading h2 { font-weight: 700; font-size: clamp(2rem, 3.4vw, 3rem); color: var(--amw-green-700); }
.amw .elementor-widget-text-editor,
.amw .elementor-widget-text-editor p,
.amw .elementor-icon-box-description,
.amw .elementor-widget-container p {
	font-size: 1.02rem;
	line-height: 1.8;
	text-align: left !important;
	color: var(--amw-muted);
}
.amw .elementor-widget-text-editor p { margin-bottom: 1em; }
.amw a { transition: color .25s var(--amw-ease); }

/* ---------- Header ---------- */
.amw .site-header,
.amw .ast-primary-header-bar,
.amw .main-header-bar {
	background: rgba(250, 247, 240, 0.92) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--amw-line);
	box-shadow: 0 4px 24px rgba(37, 54, 26, 0.06);
}
.amw .site-header { position: sticky; top: 0; z-index: 999; }
.admin-bar.amw .site-header { top: 32px; }
.amw .custom-logo-link img { max-height: 64px; width: auto; }
.amw .ast-primary-header-bar { min-height: 84px; }

.amw .main-header-menu > .menu-item > .menu-link {
	font-weight: 500;
	font-size: .95rem;
	color: var(--amw-ink);
	position: relative;
	padding: 0 14px;
}
.amw .main-header-menu > .menu-item:not(.amw-menu-cta) > .menu-link::after {
	content: '';
	position: absolute;
	left: 14px; right: 14px; bottom: 22px;
	height: 2px;
	background: var(--amw-green-500);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--amw-ease);
}
.amw .main-header-menu > .menu-item:hover > .menu-link::after,
.amw .main-header-menu > .current-menu-item > .menu-link::after { transform: scaleX(1); }
.amw .main-header-menu > .menu-item:hover > .menu-link,
.amw .main-header-menu > .current-menu-item > .menu-link { color: var(--amw-green-600); }

.amw .main-header-menu > .amw-menu-cta { display: flex; align-items: center; align-self: center; height: auto !important; margin-left: 10px; }
.amw .main-header-menu > .amw-menu-cta > .menu-link {
	height: auto !important;
	white-space: nowrap;
	background: linear-gradient(135deg, var(--amw-green-500), var(--amw-green-700));
	color: #fff !important;
	border-radius: 999px;
	padding: 11px 24px !important;
	line-height: 1.2;
	box-shadow: 0 8px 20px rgba(73, 95, 44, .35);
	transition: transform .3s var(--amw-ease), box-shadow .3s var(--amw-ease);
}
.amw .main-header-menu .amw-menu-cta > .menu-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(73, 95, 44, .45);
}

/* Dropdowns */
.amw .main-header-menu .sub-menu {
	border: 0;
	border-radius: 16px;
	padding: 10px;
	background: #fff;
	box-shadow: var(--amw-shadow-lg);
	overflow: hidden;
}
.amw .main-header-menu .sub-menu .menu-link {
	border: 0 !important;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: .92rem;
}
.amw .main-header-menu .sub-menu .menu-link:hover { background: var(--amw-green-100); color: var(--amw-green-700); }

/* ---------- Buttons ---------- */
.amw .elementor-button,
.amw .button, .amw button.single_add_to_cart_button,
.amw .wp-block-button__link, .amw .woocommerce a.button, .amw .added_to_cart {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--amw-green-500), var(--amw-green-700));
	color: #fff !important;
	border: 0;
	padding: 13px 28px;
	box-shadow: 0 8px 20px rgba(73, 95, 44, .28);
	transition: transform .3s var(--amw-ease), box-shadow .3s var(--amw-ease);
}
.amw .elementor-button:hover,
.amw .button:hover, .amw button.single_add_to_cart_button:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 30px rgba(73, 95, 44, .38);
}

/* ---------- Cards (icon boxes, image boxes, columns with borders) ---------- */
.amw .elementor-widget-image-box .elementor-image-box-wrapper,
.amw .elementor-widget-icon-box .elementor-icon-box-wrapper {
	transition: transform .4s var(--amw-ease), box-shadow .4s var(--amw-ease);
}
.amw .elementor-element[class*="elementor-element"] > .elementor-widget-wrap,
.amw .elementor-column-wrap { border-radius: var(--amw-radius); }
.amw .elementor-column:has(> .elementor-widget-wrap > .elementor-widget-image):hover > .elementor-widget-wrap {
	box-shadow: var(--amw-shadow-lg);
}
.amw .elementor-widget-image img {
	border-radius: var(--amw-radius);
}
.amw .elementor-widget-image a { display: block; overflow: hidden; border-radius: var(--amw-radius); }
.amw .elementor-widget-image a img { transition: transform .8s var(--amw-ease); }
.amw .elementor-widget-image a:hover img { transform: scale(1.06); }

/* Inline read-more links should not be underlined walls of text */
.amw .elementor-widget-heading a,
.amw .elementor-widget-text-editor a { text-decoration: none; }

/* ---------- Accordion / tabs ---------- */
.amw .elementor-accordion .elementor-accordion-item {
	border: 1px solid var(--amw-line);
	border-radius: 14px;
	margin-bottom: 10px;
	overflow: hidden;
	background: #fff;
}
.amw .elementor-accordion .elementor-tab-title { padding: 18px 22px; font-weight: 500; }
.amw .elementor-accordion .elementor-tab-title.elementor-active { background: var(--amw-green-100); color: var(--amw-green-700); }
.amw .elementor-accordion .elementor-tab-content {
	background: #fff !important;
	color: var(--amw-muted);
	font-size: 1rem;
	line-height: 1.8;
	border-top: 1px solid var(--amw-line);
}

/* ---------- Floating chat buttons: smaller & tidy ---------- */
.amw .chaty-widget, .amw #chaty-widget-0 { transform: scale(.86); transform-origin: left bottom; }

/* Cart badge */
.amw .xoo-wsc-basket { border-radius: 50%; box-shadow: var(--amw-shadow); }

/* ---------- Shop ---------- */
.amw ul.products li.product {
	background: #fff;
	border-radius: var(--amw-radius);
	padding: 18px 18px 22px !important;
	box-shadow: var(--amw-shadow);
	transition: transform .4s var(--amw-ease), box-shadow .4s var(--amw-ease);
	text-align: center;
}
.amw ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--amw-shadow-lg); }
.amw ul.products li.product img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.amw ul.products li.product .woocommerce-loop-product__title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; color: var(--amw-green-700); }
.amw ul.products li.product .price { color: var(--amw-green-600); font-weight: 600; }
.amw .woocommerce-pagination .page-numbers li a,
.amw .woocommerce-pagination .page-numbers li span { border-radius: 10px; }
.amw .woocommerce-pagination .page-numbers li span.current { background: var(--amw-green-600); color: #fff; }

/* ---------- Footer ---------- */
.amw footer, .amw .site-footer, .amw .hfe-footer, .amw footer.ehf-footer { background: var(--amw-green-900) !important; color: #dfe7d2; }
.amw footer *, .amw .ehf-footer * { color: #dfe7d2; }
.amw footer a:hover, .amw .ehf-footer a:hover { color: #fff; }
.amw footer h1, .amw footer h2, .amw footer h3, .amw footer .elementor-heading-title { color: #fff !important; font-family: 'Cormorant Garamond', serif; }
.amw footer .elementor-section, .amw footer .elementor-container { background: transparent !important; }

/* ---------- Scroll reveal ---------- */
.amw-js .amw-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--amw-ease), transform .9s var(--amw-ease); }
.amw-js .amw-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.amw-js .amw-reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 921px) {
	.amw .ast-primary-header-bar { min-height: 70px; }
	.amw .main-header-menu .amw-menu-cta { margin: 10px 16px; }
	.amw .main-header-menu .amw-menu-cta > .menu-link { text-align: center; display: block; width: 100%; }
}

/* mobile menu icon in brand green; tidy subtitle under the leadership heading */
.amw .ast-mobile-menu-buttons .menu-toggle .ast-mobile-svg,
.amw .ast-button-wrap .menu-toggle .ast-mobile-svg,
.amw .menu-toggle svg { fill: var(--amw-green-700) !important; color: var(--amw-green-700) !important; }
.amw .ast-mobile-menu-buttons .menu-toggle { border-radius: 12px; }
.amw-title small { display: block; line-height: 1.5; margin-top: 8px; }

/* Header: a normal sticky bar on every screen size (Astra makes it absolute on phones, hiding the top of each page) */
.amw #masthead, .amw .site-header { position: sticky !important; top: 0; z-index: 999; }
.admin-bar.amw #masthead { top: 32px; }
.amw .ast-theme-transparent-header #masthead, .amw .ast-theme-transparent-header .main-header-bar { background: rgba(250, 247, 240, 0.94) !important; }

/* ===== Header: always one line on desktop/laptop screens (scales with the width) ===== */
@media (min-width: 922px) {
	.amw .site-header .ast-builder-grid-row, .amw .main-header-bar .ast-builder-grid-row { flex-wrap: nowrap; }
	.amw .main-header-menu { flex-wrap: nowrap; }
	.amw .main-header-menu > .menu-item > .menu-link {
		white-space: nowrap;
		padding-left: clamp(6px, 0.9vw, 14px);
		padding-right: clamp(6px, 0.9vw, 14px);
		font-size: clamp(0.78rem, 1.02vw, 0.95rem);
	}
	.amw .site-header .custom-logo-link img { width: clamp(92px, 9vw, 134px); height: auto; max-height: none; }
	.amw .main-header-menu > .amw-menu-cta { margin-left: clamp(2px, 0.6vw, 10px); }
	.amw .main-header-menu > .amw-menu-cta > .menu-link {
		padding: 10px clamp(12px, 1.4vw, 24px) !important;
		font-size: clamp(0.78rem, 1.02vw, 0.95rem);
	}
}
/* narrower laptops: the button reads just "Book" so everything still fits on one line */
@media (min-width: 922px) and (max-width: 1230px) {
	.amw .amw-menu-cta .amw-l { display: none; }
}
.amw .amw-menu-cta .menu-link { display: inline-flex; align-items: center; white-space: nowrap; }
.amw .amw-menu-cta .amw-l { margin-left: .3em; }

/* ---------- Mobile menu panel ---------- */
/* the stray cart/"social" icon Astra adds to the header must never show */
.amw #masthead .ast-header-social-wrap,
.amw #masthead .ast-builder-layout-element:has(> .ast-header-social-wrap) { display: none !important; }

@media (max-width: 921px) {
	/* header has a backdrop blur, so the panel is positioned inside it (not fixed to the screen) */
	.amw .ast-mobile-header-content {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - 79px); height: calc(100dvh - 79px);
		overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
		padding: 6px 0 96px; background: var(--amw-cream);
		border-top: 1px solid rgba(73, 95, 44, .14); box-shadow: 0 18px 30px rgba(31, 42, 23, .18);
	}
	body.ast-main-header-nav-open { overflow: hidden; }

	body.amw .ast-mobile-header-content .main-header-menu { border: 0; background: transparent; align-content: flex-start; align-items: flex-start; height: auto; }
	body.amw .ast-mobile-header-content .main-header-menu > .menu-item {
		position: relative; border: 0; border-bottom: 1px solid rgba(73, 95, 44, .12); background: transparent;
	}
	body.amw .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link {
		display: flex !important; flex: 0 0 auto !important; align-items: center; min-height: 56px; padding: 0 64px 0 22px !important;
		font-size: 16px; font-weight: 500; line-height: 1.3 !important; color: var(--amw-ink) !important; background: transparent !important;
	}
	body.amw .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link::after { display: none; }
	body.amw .ast-mobile-header-content .main-header-menu > .current-menu-item > .menu-link,
	body.amw .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link:active {
		color: var(--amw-green-700) !important; background: var(--amw-green-100) !important; font-weight: 600;
	}

	/* dropdown arrow: Astra adds a separate button; keep that one, hide the duplicate arrow inside the link */
	body.amw .ast-mobile-header-content .main-header-menu .menu-link .dropdown-menu-toggle { display: none !important; }
	body.amw .ast-mobile-header-content .main-header-menu .ast-menu-toggle {
		position: absolute; top: 9px; right: 14px; left: auto; width: 38px; height: 38px; margin: 0; padding: 0;
		display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--amw-green-100); box-shadow: none; z-index: 2;
	}
	body.amw .ast-mobile-header-content .main-header-menu .ast-menu-toggle .ast-icon,
	body.amw .ast-mobile-header-content .main-header-menu .ast-menu-toggle svg { width: 12px; height: 12px; margin: 0; }
	body.amw .ast-mobile-header-content .main-header-menu .ast-menu-toggle svg { fill: var(--amw-green-700); transition: transform .25s var(--amw-ease); }
	body.amw .ast-mobile-header-content .main-header-menu .ast-menu-toggle[aria-expanded="true"] svg,
	body.amw .ast-mobile-header-content .main-header-menu .ast-submenu-expanded > .ast-menu-toggle svg { transform: rotate(180deg); }

	/* submenu */
	body.amw .ast-mobile-header-content .main-header-menu .sub-menu {
		position: static; width: 100%; margin: 0; padding: 2px 0 8px; border: 0; box-shadow: none; border-radius: 0;
		background: rgba(232, 239, 221, .55);
	}
	body.amw .ast-mobile-header-content .main-header-menu .sub-menu .menu-item { border: 0; }
	body.amw .ast-mobile-header-content .main-header-menu .sub-menu .menu-link {
		display: flex !important; flex: 0 0 auto !important; align-items: center; min-height: 48px; padding: 0 22px 0 38px !important; font-size: 15px;
		color: var(--amw-ink) !important; border: 0; background: transparent !important;
	}
	body.amw .ast-mobile-header-content .main-header-menu .sub-menu .menu-link:active { background: var(--amw-green-100) !important; color: var(--amw-green-700) !important; }

	/* Book Consultation button */
	body.amw .ast-mobile-header-content .main-header-menu > .amw-menu-cta { display: block; margin: 20px 20px 6px; border: 0; }
	body.amw .ast-mobile-header-content .main-header-menu > .amw-menu-cta > .menu-link {
		justify-content: center; width: 100%; min-height: 52px; padding: 0 20px !important; border-radius: 999px;
		color: #fff !important; font-weight: 600;
		background: linear-gradient(135deg, var(--amw-green-500), var(--amw-green-700)) !important;
		box-shadow: 0 8px 20px rgba(73, 95, 44, .35);
	}
}
