/* Amrutwel redesign – section components */
.amw-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.amw-center { text-align: center; margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* hide the old footer, old floating chat widget */
.amw .site-footer, .amw footer#colophon, .amw .hfe-footer, .amw .ehf-footer, .amw footer.ast-footer { display: none !important; }
.amw .chaty, .amw #chaty-widget-0, .amw .chaty-widget { display: none !important; }

/* Keep the redesigned Home from ever growing wider than the screen (e.g. the Google reviews slider). */
.amw #content .ast-container:has(> #amw-home) { display: block; max-width: 100%; padding: 0; }
.amw #amw-home { display: block; width: 100%; max-width: 100%; min-width: 0; overflow-x: clip; }
.amw .amw-reviews { min-width: 0; max-width: 100%; overflow: hidden; }
.amw .amw-reviews > *, .amw .amw-reviews .ti-widget { max-width: 100% !important; min-width: 0; }

/* ---------- Buttons ---------- */
.amw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 500; font-size: .98rem; line-height: 1;
	padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
	background: linear-gradient(135deg, var(--amw-green-500), var(--amw-green-700));
	color: #fff !important; text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(73, 95, 44, .30);
	transition: transform .3s var(--amw-ease), box-shadow .3s var(--amw-ease), background .3s;
}
.amw-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(73, 95, 44, .40); }
.amw-btn--gold { background: linear-gradient(135deg, #d6ad4b, #b98a2a); color: #1f2a17 !important; box-shadow: 0 10px 24px rgba(196, 154, 58, .40); }
.amw-btn--ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff !important; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.amw-btn--ghost:hover { background: #fff; color: var(--amw-green-700) !important; }
.amw-btn--outline { background: transparent; border-color: var(--amw-green-600); color: var(--amw-green-700) !important; box-shadow: none; }
.amw-btn--outline:hover { background: var(--amw-green-600); color: #fff !important; }
.amw-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.amw-link { color: var(--amw-green-600); font-weight: 500; text-decoration: none !important; }
.amw-link:hover { color: var(--amw-green-900); }
.amw-pill { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--amw-green-600); color: var(--amw-green-700) !important; font-size: .85rem; font-weight: 500; text-decoration: none !important; transition: all .25s; }
.amw-pill:hover, .amw-pill--solid { background: var(--amw-green-600); color: #fff !important; }
.amw-pill--solid:hover { background: var(--amw-green-900); }

/* ---------- Section scaffolding ---------- */
.amw-section { padding: 104px 0; }
.amw-section.amw-wrap { padding-block: 104px; }
.amw-section--sand { background: var(--amw-sand); }
.amw-eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--amw-gold); margin-bottom: 14px; position: relative; padding-left: 38px;
}
.amw-eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 28px; height: 2px; background: currentColor; }
.amw-eyebrow--light { color: #e8c877; }
.amw-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.amw-head .amw-eyebrow { padding-left: 0; }
.amw-head .amw-eyebrow::before { display: none; }
.amw-head h2, .amw-about__copy h2, .amw-feature h2, .amw-cta h2 {
	font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: clamp(2.1rem, 3.6vw, 3.2rem);
	line-height: 1.1; margin: 0 0 18px; color: var(--amw-green-700);
}
.amw-head p, .amw-about__copy p { color: var(--amw-muted); line-height: 1.85; font-size: 1.04rem; margin: 0 0 16px; }

/* ---------- Hero slider ---------- */
.amw-hero { --dur: 6500ms; position: relative; height: clamp(600px, calc(100vh - 84px), 860px); overflow: hidden; background: var(--amw-green-900); isolation: isolate; }
.amw-hero__stage { position: absolute; inset: 0; }

/* slides wipe in from the right; the slide underneath stays put until the new one covers it */
.amw-slide { position: absolute; inset: 0; visibility: hidden; clip-path: inset(0 0 0 100%); }
.amw-slide.is-prev { visibility: visible; clip-path: inset(0); z-index: 1; }
.amw-slide.is-active { visibility: visible; clip-path: inset(0); z-index: 2; transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1); }
.amw-slide__bg {
	position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: var(--pos, center);
	transform: scale(1.04); will-change: transform;
}
.amw-slide.is-prev .amw-slide__bg { transform: scale(1.13); }
/* portrait photo (data-fit="contain"): never cropped. Whole photo sits on the right, a soft blurred copy fills the rest. */
.amw-slide[data-fit="contain"] .amw-slide__bg { background-image: none; animation: none !important; transform: none !important; overflow: hidden; }
.amw-slide[data-fit="contain"] .amw-slide__bg::before,
.amw-slide[data-fit="contain"] .amw-slide__bg::after { content: ''; position: absolute; background: var(--img-m) center / cover no-repeat; }
.amw-slide[data-fit="contain"] .amw-slide__bg::before { inset: -40px; filter: blur(30px) brightness(.95) saturate(1.1); }
.amw-slide[data-fit="contain"] .amw-slide__bg::after {
	top: var(--pt, 0); bottom: var(--pb, 0); height: auto; width: auto; aspect-ratio: var(--ar, 1206 / 2123); right: max(24px, calc((100% - 1240px) / 2));
	box-shadow: 0 0 70px rgba(0, 0, 0, .45);
}
.amw-slide.is-active .amw-slide__bg { animation: amw-kb 9s cubic-bezier(.3, .2, .2, 1) forwards; }
@keyframes amw-kb { from { transform: scale(1.04) translate3d(1.2%, 0, 0); } to { transform: scale(1.13) translate3d(0, 0, 0); } }
.amw-slide::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(14, 24, 8, .86) 0%, rgba(14, 24, 8, .6) 38%, rgba(14, 24, 8, .12) 74%),
		linear-gradient(0deg, rgba(14, 24, 8, .7) 0%, transparent 42%),
		linear-gradient(180deg, rgba(14, 24, 8, .35) 0%, transparent 24%);
}
.amw-slide__inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.amw-slide__copy { max-width: 780px; color: #fff; padding-bottom: clamp(150px, 23vh, 200px); }
.amw-slide__title {
	font-family: 'Cormorant Garamond', serif; font-weight: 700; color: #fff;
	font-size: clamp(2.3rem, min(5.2vw, 8.6vh), 4.5rem); line-height: 1.06; margin: 0 0 clamp(12px, 2.4vh, 22px); text-wrap: balance;
}
.amw-slide__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.amw-slide__title .w > span { display: inline-block; transform: translate3d(0, 112%, 0); }
.amw-slide__copy p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, .92); margin: 0; max-width: 540px; }
.amw-slide__copy .amw-eyebrow, .amw-slide__copy p, .amw-slide__copy .amw-actions { opacity: 0; }
.amw-slide.is-active .amw-slide__title .w > span { animation: amw-word .95s var(--amw-ease) calc(var(--d) + .45s) both; }
.amw-slide.is-active .amw-slide__copy .amw-eyebrow { animation: amw-up .9s var(--amw-ease) .4s both; }
.amw-slide.is-active .amw-slide__copy p { animation: amw-up .9s var(--amw-ease) .95s both; }
.amw-slide.is-active .amw-slide__copy .amw-actions { animation: amw-up .9s var(--amw-ease) 1.1s both; }
@keyframes amw-word { from { transform: translate3d(0, 112%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes amw-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* controls: arrows + counter on the left, thumbnail tabs with progress on the right */
.amw-hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 104px; pointer-events: none; }
.amw-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.amw-hero__row > * { pointer-events: auto; }
.amw-hero__nav { display: flex; align-items: center; gap: 16px; color: #fff; }
.amw-arrow {
	width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: #fff;
	display: grid; place-items: center; cursor: pointer; padding: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: background .25s, color .25s, transform .25s var(--amw-ease), border-color .25s;
}
.amw-arrow:hover { background: #fff; color: var(--amw-green-700); border-color: #fff; transform: scale(1.06); }
.amw-arrow:focus-visible, .amw-thumb:focus-visible { outline: 2px solid #e8c877; outline-offset: 3px; }
.amw-hero__count { display: flex; align-items: baseline; gap: 10px; font-family: 'Cormorant Garamond', serif; letter-spacing: .04em; min-width: 92px; justify-content: center; }
.amw-hero__count b { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.amw-hero__count i { width: 28px; height: 1.5px; background: rgba(255, 255, 255, .6); align-self: center; }
.amw-hero__count span { font-size: 1.05rem; opacity: .75; }

.amw-hero__thumbs { display: flex; gap: 12px; }
.amw-thumb {
	position: relative; display: flex; align-items: center; gap: 12px; width: 206px; padding: 8px 14px 14px 8px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
	color: #fff; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); opacity: .72; transition: opacity .3s, background .3s, transform .3s var(--amw-ease);
}
.amw-thumb:hover { opacity: 1; transform: translateY(-3px); }
.amw-thumb.is-active { opacity: 1; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(232, 200, 119, .85); }
.amw-thumb img { width: 58px; height: 46px; border-radius: 9px; object-fit: cover; flex: none; }
.amw-thumb__t { font-size: .82rem; font-weight: 500; line-height: 1.25; }
.amw-thumb__t small { display: block; font-size: .68rem; letter-spacing: .14em; color: #e8c877; margin-bottom: 2px; }
.amw-thumb__bar { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2.5px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.amw-thumb__bar::after { content: ''; position: absolute; inset: 0; background: #e8c877; transform: scaleX(0); transform-origin: left; }
.amw-thumb.is-active .amw-thumb__bar::after { animation: amw-fill var(--dur) linear forwards; }
.amw-hero.is-paused .amw-thumb.is-active .amw-thumb__bar::after { animation-play-state: paused; }
@keyframes amw-fill { to { transform: scaleX(1); } }

@media (max-width: 1100px) {
	.amw-thumb { width: auto; padding-right: 10px; }
	.amw-thumb__t { display: none; }
}
@media (min-width: 768px) { .amw-slide[data-fit="contain"] .amw-slide__copy { max-width: min(600px, 52%); } }
/* desktop/tablet "card" slides: text on the left, the whole photo on the right over a blurred copy (phones keep the full-bleed crop) */
@media (min-width: 768px) {
	.amw-slide[data-fit="card"] .amw-slide__bg { background-image: none; animation: none !important; transform: none !important; overflow: hidden; }
	.amw-slide[data-fit="card"] .amw-slide__bg::before,
	.amw-slide[data-fit="card"] .amw-slide__bg::after { content: ''; position: absolute; background: var(--img-c) center / cover no-repeat; }
	.amw-slide[data-fit="card"] .amw-slide__bg::before { inset: -40px; filter: blur(30px) brightness(.95) saturate(1.1); }
	.amw-slide[data-fit="card"] .amw-slide__bg::after {
		top: var(--pt, 0); bottom: var(--pb, 0); height: auto; width: auto; aspect-ratio: var(--ar); right: max(24px, calc((100% - 1240px) / 2));
		box-shadow: 0 0 70px rgba(0, 0, 0, .45);
	}
	.amw-slide[data-fit="card"] .amw-slide__copy { max-width: min(600px, 52%); }
}
/* portrait tablets: the portrait photos fit the tall frame better than the wide desktop crops */
@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
	.amw-slide__bg { background-image: var(--img-m, var(--img)); }
}

@media (max-width: 767px) {
	.amw-hero { height: clamp(580px, calc(100vh - 70px), 780px); height: clamp(580px, calc(100svh - 70px), 780px); }
	.amw-slide__bg { background-image: var(--img-m, var(--img)); background-position: center; }
	/* "no crop" slides: the whole photo is shown, with a soft blurred copy filling any spare space */
	.amw-slide[data-fit="contain"] .amw-slide__bg { background-image: none; animation: none !important; transform: none !important; overflow: hidden; }
	.amw-slide[data-fit="contain"] .amw-slide__bg::before,
	.amw-slide[data-fit="contain"] .amw-slide__bg::after { content: ''; position: absolute; background: var(--img-m) center / cover no-repeat; }
	.amw-slide[data-fit="contain"] .amw-slide__bg::before { inset: -30px; filter: blur(26px) brightness(.8); }
	.amw-slide[data-fit="contain"] .amw-slide__bg::after { inset: 0 0 72px; width: auto; height: auto; aspect-ratio: auto; box-shadow: none; background-size: contain; background-position: center bottom; }
	/* lighter overlay so the uncropped photo stays visible behind the text */
	/* the copy moves to the top (over the sky and hills) so every building stays visible below it */
	.amw-slide[data-fit="contain"]::after {
		background: linear-gradient(180deg, rgba(14, 24, 8, .78) 0%, rgba(14, 24, 8, .5) 30%, rgba(14, 24, 8, .1) 46%, transparent 56%),
			linear-gradient(0deg, rgba(14, 24, 8, .8) 0%, rgba(14, 24, 8, .3) 14%, transparent 26%);
	}
	.amw-slide[data-fit="contain"] .amw-slide__inner { align-items: flex-start; }
	.amw-slide[data-fit="contain"] .amw-slide__copy { padding: 24px 0 0; }
	.amw-slide[data-fit="contain"] .amw-slide__title { font-size: clamp(1.85rem, 8vw, 2.4rem); margin-bottom: 0; }
	.amw-slide[data-fit="contain"] .amw-slide__copy p { display: none; }
	.amw-slide[data-fit="contain"] .amw-actions { margin-top: 16px; flex-wrap: nowrap; gap: 10px; }
	.amw-slide[data-fit="contain"] .amw-btn { flex: 1; padding: 12px 8px; font-size: .86rem; text-align: center; white-space: nowrap; }
	.amw-slide[data-fit="contain"] .amw-slide__title, .amw-slide[data-fit="contain"] .amw-slide__copy p { text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
	.amw-slide[data-fit="contain"] .amw-eyebrow { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .9), 0 0 16px rgba(0, 0, 0, .75); }
	.amw-slide__inner { align-items: flex-end; }
	.amw-slide__copy { padding-bottom: 196px; }
	.amw-slide__title { font-size: clamp(2.2rem, 9.6vw, 3rem); margin-bottom: 16px; }
	.amw-slide__copy p { font-size: 1rem; line-height: 1.6; }
	.amw-slide .amw-actions { margin-top: 22px; }
	.amw-slide::after {
		background: linear-gradient(0deg, rgba(14, 24, 8, .95) 0%, rgba(14, 24, 8, .84) 38%, rgba(14, 24, 8, .5) 62%, rgba(14, 24, 8, .08) 84%),
			linear-gradient(180deg, rgba(14, 24, 8, .4) 0%, transparent 22%);
	}
	.amw-hero__ui { bottom: 64px; }
	.amw-hero__row { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
	.amw-hero__nav { justify-content: space-between; }
	.amw-arrow { width: 46px; height: 46px; }
	/* thumbnails become a row of progress segments */
	.amw-hero__thumbs { gap: 6px; }
	.amw-thumb { flex: 1; height: 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; align-items: flex-end; }
	.amw-thumb:hover { transform: none; }
	.amw-thumb img { display: none; }
	.amw-thumb.is-active { background: none; box-shadow: none; }
	.amw-thumb__bar { left: 0; right: 0; bottom: 4px; height: 3px; }
}
@media (prefers-reduced-motion: reduce) {
	.amw-slide, .amw-slide.is-active { transition: none; }
	.amw-slide__title .w > span { transform: none; }
	.amw-slide__copy .amw-eyebrow, .amw-slide__copy p, .amw-slide__copy .amw-actions { opacity: 1; }
}


/* ---------- Quick actions ---------- */
.amw-quick {
	position: relative; z-index: 6; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: 22px; box-shadow: var(--amw-shadow-lg); overflow: hidden;
}
.amw-quick__item { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; text-decoration: none !important; color: var(--amw-ink) !important; border-right: 1px solid var(--amw-line); transition: background .3s; }
.amw-quick__item:last-child { border-right: 0; }
.amw-quick__item strong { font-size: 1.02rem; font-weight: 600; }
.amw-quick__item span { font-size: .88rem; color: var(--amw-muted); }
.amw-quick__item:hover { background: var(--amw-green-100); }
.amw-quick__item--primary { background: linear-gradient(135deg, var(--amw-green-500), var(--amw-green-700)); color: #fff !important; }
.amw-quick__item--primary span { color: rgba(255, 255, 255, .85); }
.amw-quick__item--primary:hover { background: linear-gradient(135deg, var(--amw-green-600), var(--amw-green-900)); }

/* ---------- About ---------- */
.amw-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.amw-about__media { position: relative; padding: 0 0 70px; }
.amw-about__img1 { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--amw-shadow-lg); display: block; }
.amw-about__img2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 22px; border: 8px solid var(--amw-cream); box-shadow: var(--amw-shadow-lg); }
.amw-about__badge { position: absolute; left: -10px; bottom: 26px; background: var(--amw-green-700); color: #fff; padding: 20px 26px; border-radius: 20px; box-shadow: var(--amw-shadow-lg); text-align: center; }
.amw-about__badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; line-height: 1; }
.amw-about__badge span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.amw-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.amw-ticks li { position: relative; padding-left: 30px; color: var(--amw-ink); font-weight: 500; font-size: .96rem; }
.amw-ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--amw-green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23495f2c' stroke-width='3' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Stats ---------- */
.amw-stats { background: var(--amw-green-900); color: #fff; padding: 56px 0; }
.amw-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.amw-stats strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: #e8c877; margin-bottom: 8px; }
.amw-stats span { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

/* ---------- Treatment cards ---------- */
.amw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.amw-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--amw-shadow); transition: transform .5s var(--amw-ease), box-shadow .5s var(--amw-ease); display: flex; flex-direction: column; }
.amw-card:hover { transform: translateY(-8px); box-shadow: var(--amw-shadow-lg); }
.amw-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--amw-sand); }
.amw-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--amw-ease); border-radius: 0 !important; }
.amw-card:hover .amw-card__img img { transform: scale(1.08); }
.amw-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.amw-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 700; margin: 0 0 10px; line-height: 1.15; }
.amw-card h3 a { color: var(--amw-green-700); text-decoration: none; }
.amw-card p { color: var(--amw-muted); line-height: 1.7; font-size: .96rem; margin: 0 0 22px; flex: 1; }
.amw-card__foot { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Feature band ---------- */
.amw-feature { background: radial-gradient(circle at 15% 20%, #3f5a27 0%, var(--amw-green-900) 70%); color: #fff; overflow: hidden; }
.amw-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 100px; }
.amw-feature h2 { color: #fff; }
.amw-feature p { color: rgba(255, 255, 255, .85); line-height: 1.85; font-size: 1.04rem; }
.amw-feature__media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.amw-feature__media img { width: 100%; height: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.amw-feature__media img:nth-child(2) { margin-top: 48px; }

/* ---------- Tabs ---------- */
.amw-tabs { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.amw-tabs__nav { display: flex; flex-direction: column; gap: 10px; }
.amw-tab { text-align: left; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--amw-line); background: #fff; font: 500 1rem 'Poppins', sans-serif; color: var(--amw-ink); cursor: pointer; transition: all .3s var(--amw-ease); }
.amw-tab:hover { border-color: var(--amw-green-500); transform: translateX(4px); }
.amw-tab.is-active { background: var(--amw-green-600); color: #fff; border-color: var(--amw-green-600); box-shadow: 0 12px 26px rgba(73, 95, 44, .28); }
.amw-tabs__panels { background: #fff; border-radius: 26px; box-shadow: var(--amw-shadow); overflow: hidden; }
.amw-panel { display: none; grid-template-columns: 1.1fr 1fr; }
.amw-panel.is-active { display: grid; animation: amw-fade .6s var(--amw-ease); }
@keyframes amw-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.amw-panel__text { padding: 42px 40px; }
.amw-panel__text h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--amw-green-700); margin: 0 0 14px; }
.amw-panel__text p { color: var(--amw-muted); line-height: 1.85; margin: 0 0 26px; font-size: .98rem; }
.amw-panel__img { min-height: 420px; }
.amw-panel__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }

/* ---------- Doctors ---------- */
.amw-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.amw-doc { background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none !important; box-shadow: var(--amw-shadow); transition: transform .5s var(--amw-ease), box-shadow .5s var(--amw-ease); display: block; }
.amw-doc:hover { transform: translateY(-8px); box-shadow: var(--amw-shadow-lg); }
.amw-doc__img { display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--amw-green-100); }
.amw-doc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--amw-ease); border-radius: 0 !important; }
.amw-doc:hover .amw-doc__img img { transform: scale(1.06); }
.amw-doc__body { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px 28px; }
.amw-doc__body strong { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--amw-green-700); line-height: 1.15; }
.amw-doc__body em { font-style: normal; color: var(--amw-muted); font-size: .94rem; }
.amw-doc__body .amw-link { margin-top: 10px; }

/* ---------- Gallery ---------- */
.amw-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amw-gallery__item { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; text-decoration: none !important; }
.amw-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--amw-ease); border-radius: 0 !important; }
.amw-gallery__item:hover img { transform: scale(1.1); }
.amw-gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 30, 10, .78) 0%, transparent 55%); }
.amw-gallery__item span { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; }

/* ---------- Products ---------- */
.amw-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.amw-product { background: #fff; border-radius: 22px; padding: 18px 18px 24px; text-align: center; box-shadow: var(--amw-shadow); transition: transform .5s var(--amw-ease), box-shadow .5s var(--amw-ease); }
.amw-product:hover { transform: translateY(-6px); box-shadow: var(--amw-shadow-lg); }
.amw-product__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.amw-product__img img { width: 100%; height: 100%; object-fit: contain; border-radius: 0 !important; transition: transform .8s var(--amw-ease); }
.amw-product:hover .amw-product__img img { transform: scale(1.06); }
.amw-product h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; }
.amw-product h3 a { color: var(--amw-green-700); text-decoration: none; }
.amw-price { display: block; color: var(--amw-green-600); font-weight: 600; margin-bottom: 14px; }

/* ---------- Reviews / CTA ---------- */
.amw-reviews { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--amw-shadow); }
.amw-cta { background: linear-gradient(120deg, var(--amw-green-700), var(--amw-green-900)); color: #fff; padding: 80px 0; }
.amw-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.amw-cta h2 { color: #fff; margin-bottom: 8px; }
.amw-cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.amw-cta .amw-actions { margin: 0; }

/* ---------- Footer ---------- */
.amw-footer { background: var(--amw-green-900); color: #cdd8bd; padding-top: 80px; }
.amw-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 56px; padding-bottom: 60px; }
.amw-footer__logo img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.amw-footer p { line-height: 1.8; font-size: .95rem; margin: 0 0 22px; color: #cdd8bd; }
.amw-footer h4 { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 1.5rem; margin: 0 0 18px; }
.amw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.amw-footer a { color: #cdd8bd; text-decoration: none; transition: color .2s; }
.amw-footer a:hover { color: #e8c877; }
.amw-footer__contact li { display: flex; flex-direction: column; font-size: .94rem; line-height: 1.6; }
.amw-footer__contact li span { color: #e8c877; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.amw-footer .amw-btn { color: #1f2a17 !important; }
.amw-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .86rem; }
.amw-footer__bar .amw-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.amw-footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Floating contact + mobile bar ---------- */
.amw-fab { position: fixed; left: 22px; bottom: 22px; z-index: 990; display: flex; flex-direction: column; gap: 12px; }
.amw-fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .3s var(--amw-ease); }
.amw-fab__btn:hover { transform: scale(1.1); }
.amw-fab__btn--wa { background: #25d366; }
.amw-fab__btn--call { background: var(--amw-green-600); }
.amw-mbar { display: none; }

/* ---------- Reveal (custom sections) ---------- */
.amw-js .amw-r { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--amw-ease), transform .9s var(--amw-ease); }
.amw-js .amw-r.is-in { opacity: 1; transform: none; }
.no-js .amw-r { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.amw-about { grid-template-columns: 1fr; gap: 50px; }
	.amw-cards, .amw-docs { grid-template-columns: repeat(2, 1fr); }
	.amw-products, .amw-gallery { grid-template-columns: repeat(2, 1fr); }
	.amw-feature__grid { grid-template-columns: 1fr; padding-block: 70px; }
	.amw-tabs { grid-template-columns: 1fr; }
	.amw-tabs__nav { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.amw-tab { white-space: nowrap; }
	.amw-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.amw-wrap { width: calc(100% - 32px); }
	.amw-section, .amw-section.amw-wrap { padding-block: 64px; }
	.amw-quick { grid-template-columns: 1fr 1fr; margin-top: -40px; }
	.amw-quick__item { padding: 18px; border-bottom: 1px solid var(--amw-line); }
	.amw-cards, .amw-docs, .amw-stats__grid { grid-template-columns: 1fr; }
	.amw-stats__grid { grid-template-columns: 1fr 1fr; }
	.amw-ticks { grid-template-columns: 1fr; }
	.amw-panel.is-active { grid-template-columns: 1fr; }
	.amw-panel__img { min-height: 260px; order: -1; }
	.amw-panel__text { padding: 28px 22px; }
	.amw-feature__media img:nth-child(2) { margin-top: 24px; }
	.amw-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.amw-cta__inner { flex-direction: column; align-items: flex-start; }
	.amw-fab { display: none; }
	.amw-mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 995; background: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .15); }
	.amw-mbar a { padding: 15px 8px; text-align: center; font-weight: 600; font-size: .92rem; color: var(--amw-green-700); text-decoration: none; }
	.amw-mbar a.is-primary { background: var(--amw-green-600); color: #fff; }
	body.amw { padding-bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.amw-slide__bg, .amw-slide.is-active .amw-slide__bg, .amw-slide.is-active .amw-slide__copy > *, .amw-slide.is-active .amw-slide__title .w > span, .amw-thumb__bar::after { animation: none !important; }
	.amw-js .amw-r { opacity: 1; transform: none; transition: none; }
}

/* ===================== Mobile: swipeable card rows, tidier floating cart ===================== */
@media (max-width: 767px) {
	.amw-cards, .amw-docs, .amw-products, .amw-progs--swipe {
		display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		margin-inline: -16px; padding: 4px 16px 20px; scrollbar-width: none;
	}
	.amw-cards::-webkit-scrollbar, .amw-docs::-webkit-scrollbar, .amw-products::-webkit-scrollbar, .amw-progs--swipe::-webkit-scrollbar { display: none; }
	.amw-cards > *, .amw-docs > *, .amw-products > *, .amw-progs--swipe > * { flex: 0 0 82%; scroll-snap-align: center; }
	.amw-products > * { flex-basis: 64%; }
	.amw-card__img { aspect-ratio: 5 / 4; }
	.amw .xoo-wsc-basket { bottom: 70px !important; }
}

/* Floating Call / WhatsApp buttons on the right; the floating cart is removed everywhere */
.amw-fab { left: auto; right: 22px; }
.amw .xoo-wsc-basket, .amw .xoo-wsc-modal, .amw .xoo-wsc-container, .amw .xoo-wsc-markup, .amw [class*="xoo-wsc-"][class*="basket"] { display: none !important; }
