/*
Theme Name: Alchemy Group
Theme URI: https://alchemy3projects.com.au
Author: Alchemy Group
Description: Premium construction company theme — built for Elementor. Gold & charcoal brand, Playfair Display + DM Sans typography. Migrated from the React/Vite site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: alchemy-group
*/

/* ============================================================
   Brand design tokens (mirrors the original Tailwind theme)
   ============================================================ */
:root {
	--ag-primary: #D4AF37;        /* gold */
	--ag-primary-dark: #b8932b;
	--ag-secondary: #1a1a1a;      /* charcoal */
	--ag-background: #fafafa;
	--ag-foreground: #1a1a1a;
	--ag-muted: #eeeeee;
	--ag-muted-foreground: #666666;
	--ag-border: #e5e5e5;
	--ag-radius: 0.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	color: var(--ag-foreground);
	background: var(--ag-background);
	overflow-x: clip;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Playfair Display", serif;
	text-wrap: balance;
	letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* Lucide icons (site-wide, replacing Font Awesome): size to container font-size; stroke
   inherits the text color. createIcons() runs in main.js after swapping any FA <i>. */
svg.lucide { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }
.ag-socials a { font-size: 16px; }
.ag-burger { font-size: 26px; }

.ag-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ============================================================
   Header
   ============================================================ */
.ag-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	transition: all .4s ease;
	background: transparent;
	padding: 34px 0;
}
.ag-header.scrolled {
	background: #1a1a1a;
	padding: 22px 0;
	box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
	border-bottom: 1px solid rgba(255,255,255,.05);
}
.ag-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.ag-logo img { height: 60px; width: auto; object-fit: contain; transition: transform .4s ease; }
.ag-logo:hover img { transform: scale(1.05); }

.ag-nav { display: flex; align-items: center; }
.ag-menu {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ag-menu > li { position: relative; }
.ag-menu > li.menu-item-has-children > a { display: inline-flex; align-items: center; }
.ag-caret { font-size: .65em; margin-left: 5px; line-height: 1; }
.ag-nav a {
	font-size: .9rem;
	font-weight: 500;
	color: rgba(255,255,255,.9);
	position: relative;
	transition: color .3s ease;
	padding: .25rem 0;
}
.ag-nav a:hover { color: var(--ag-primary); }
.ag-nav .current-menu-item > a,
.ag-nav .current_page_item > a { color: var(--ag-primary); }
.ag-nav a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	height: 2px; width: 0;
	background: var(--ag-primary);
	transition: width .3s ease;
}
.ag-nav a:hover::after { width: 100%; }

.ag-header-cta {
	display: inline-block;
	background: var(--ag-primary);
	color: #1a1a1a;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .75rem;
	padding: .85rem 1.6rem;
	border-radius: 999px;
	transition: background-color .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
}
/* DS primary hover: deepen gold + subtle lift + premium shadow */
.ag-header-cta:hover { background: #b08d28; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }

.ag-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: .5rem; }

/* sub menu */
.ag-nav ul.sub-menu {
	position: absolute;
	top: 130%; left: 50%;
	transform: translateX(-50%);
	background: rgba(26,26,26,.97);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	padding: .5rem;
	min-width: 16rem;
	opacity: 0; visibility: hidden;
	transition: all .25s ease;
	list-style: none;
	box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.ag-nav li.menu-item-has-children { position: relative; }
.ag-nav li.menu-item-has-children.ag-open > ul.sub-menu { opacity: 1; visibility: visible; top: 110%; }
.ag-nav ul.sub-menu li { display: block; }
.ag-nav ul.sub-menu a { display: block; padding: .65rem .75rem; border-radius: 8px; }
.ag-nav ul.sub-menu a::after { display: none; }
.ag-nav ul.sub-menu a:hover { background: rgba(212,175,55,.15); }

/* ============================================================
   Footer
   ============================================================ */
.ag-footer { background: #1a1a1a; color: rgba(255,255,255,.85); }
.ag-footer-cta {
	border-bottom: 1px solid rgba(255,255,255,.1);
	background: rgba(0,0,0,.2);
}
.ag-footer-cta .ag-container {
	padding-top: 4rem; padding-bottom: 4rem;
	display: flex; flex-wrap: wrap; gap: 2rem;
	align-items: center; justify-content: space-between;
}
.ag-footer-cta h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 2.25rem); line-height: 1.1; margin: 0 0 .5rem; }
.ag-footer-cta p { color: rgba(255,255,255,.7); font-size: 1.125rem; margin: 0; }

.ag-btn-gold {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--ag-primary); color: #1a1a1a;
	font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
	font-size: .8rem; padding: 1rem 2rem; border-radius: 999px;
	transition: background-color .3s cubic-bezier(.16,1,.3,1), color .3s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
}
/* DS onDark hover: swap to white + subtle lift */
.ag-btn-gold:hover { background: #fff; color: #1a1a1a; transform: translateY(-1px); }

.ag-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 2fr;
	gap: 3rem;
	padding-top: 5rem; padding-bottom: 5rem;
}
.ag-footer-grid h4 { color: #fff; font-size: 1.25rem; margin: 0 0 1.25rem; }
.ag-footer-brand p { color: rgba(255,255,255,.7); padding-right: 1.5rem; }
.ag-footer-brand .brand-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.ag-footer-brand .brand-row span { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.ag-footer-brand .brand-row span b { color: var(--ag-primary); font-weight: 700; }
.ag-footer nav { display: flex; flex-direction: column; gap: .75rem; }
.ag-footer nav a { color: rgba(255,255,255,.7); transition: all .3s ease; }
.ag-footer nav a:hover { color: var(--ag-primary); transform: translateX(4px); }

.ag-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.ag-socials a {
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	background: rgba(255,255,255,.05);
	display: flex; align-items: center; justify-content: center;
	color: #fff; transition: all .3s ease;
}
.ag-socials a:hover { background: var(--ag-primary); color: #1a1a1a; }

.ag-contact-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.ag-contact-item .ic {
	width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
	background: rgba(255,255,255,.05); color: var(--ag-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: 16px;
	transition: background-color .3s ease, color .3s ease;
}
.ag-contact-item .lbl { display: block; color: rgba(255,255,255,.5); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin: 0 0 .2rem; }
.ag-contact-item .val { display: block; color: #fff; margin: 0; transition: color .3s ease; }
/* hover on the linked contact items (phone/email): icon circle fills gold + value turns gold */
a.ag-contact-item:hover .ic { background: var(--ag-primary); color: #1a1a1a; }
a.ag-contact-item:hover .val { color: var(--ag-primary); }

.ag-copyright {
	border-top: 1px solid rgba(255,255,255,.1);
}
.ag-copyright .ag-container {
	padding-top: 1.5rem; padding-bottom: 1.5rem;
	display: flex; flex-wrap: wrap; gap: 1rem;
	justify-content: space-between; align-items: center;
	color: rgba(255,255,255,.5); font-size: .85rem;
}
.ag-copyright a:hover { color: var(--ag-primary); }

/* keep Elementor full-width content clear of the fixed header where needed */
.ag-site-main { min-height: 50vh; }

/* Service cards — match the original: NO card lift; the rounded icon box scales on card
   hover; the arrow slides on card hover; the explore TEXT colour changes only on link hover. */
#ag-services .elementor-icon {
	border-radius: 12px;
	transition: transform .3s ease;
}
#ag-services .elementor-col-50 .elementor-element-populated {
	transition: box-shadow .35s ease, border-color .35s ease;
}
#ag-services .elementor-col-50:hover .elementor-icon { transform: scale(1.1); }
/* slightly stronger shadow on card hover (premium-shadow-hover), no translate */
#ag-services .elementor-col-50:hover .elementor-element-populated {
	box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .12) !important;
}
/* pin the Explore Service link to the bottom of every card (matches the original mt-auto),
   so links bottom-align across cards regardless of description length */
#ag-services .elementor-col-50 > .elementor-element-populated { display: flex; flex-direction: column; }
#ag-services .elementor-col-50 > .elementor-element-populated > .elementor-widget-wrap { flex-grow: 1; }
#ag-services .elementor-col-50 .elementor-widget-button { margin-top: auto; }
/* arrow on the Explore Service link slides right when the whole card is hovered */
#ag-services .elementor-col-50 .elementor-button-icon { transition: transform .3s ease; }
#ag-services .elementor-col-50:hover .elementor-button-icon { transform: translateX(8px); }
/* explore TEXT colour changes only when the link itself is hovered (not the whole card) */
#ag-services .ag-explore-dark .elementor-button:hover { color: #fff !important; }
#ag-services .ag-explore-light .elementor-button:hover { color: #1a1a1a !important; }
/* sticky left intro column (matches the original `sticky top-32`) — desktop only */
@media (min-width: 1025px) {
	#ag-services .elementor-col-33 {
		position: sticky;
		top: 120px;
		align-self: flex-start;
	}
}

/* About — "What drives us" value cards: round gold chip, 4-col grid (gotcha #14). */
#ag-about-values-grid > .elementor-container { gap: 24px; align-items: stretch; }
#ag-about-values-grid > .elementor-container > .elementor-column { flex: 0 0 calc(25% - 18px); max-width: calc(25% - 18px); }
#ag-about-values-grid .elementor-icon-box-icon { margin-bottom: 16px !important; }
#ag-about-values-grid .elementor-icon-box-title { margin: 0 0 8px !important; line-height: 1.2; }
#ag-about-values-grid .elementor-icon-box-description { margin: 0 !important; }

/* About — "Sectors we serve": round gold chip, 6-col grid (gotcha #14). */
#ag-about-sectors > .elementor-container { gap: 24px; align-items: stretch; }
#ag-about-sectors > .elementor-container > .elementor-column { flex: 0 0 calc(16.666% - 20px); max-width: calc(16.666% - 20px); }
#ag-about-sectors .elementor-icon-box-icon { margin-bottom: 14px !important; }
#ag-about-sectors .elementor-icon-box-title { margin: 0 !important; line-height: 1.2; }
@media (max-width: 1024px) {
	#ag-about-values-grid > .elementor-container > .elementor-column { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
	#ag-about-sectors > .elementor-container > .elementor-column { flex: 0 0 calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
}

/* Gyprock detail-row feature list — gold check + label, 12px gap (gap-3), icon aligned
   to the title line top (original uses items-start + mt-1). Pin gaps via CSS (gotcha #12). */
.ag-gyp-feature .elementor-icon-box-title { margin: 0 !important; }
.ag-gyp-feature .elementor-icon-box-icon { margin: 0 12px 0 0 !important; display: flex; align-items: flex-start; }
.ag-gyp-feature .elementor-icon-box-icon svg { margin-top: 3px; }
.ag-gyp-feature .elementor-icon-box-wrapper { align-items: flex-start; }

/* Tiling "Our process" — 4-col numbered steps, 32px gap (gap-8), outer cols flush (gotcha #14). */
#ag-tiling-process > .elementor-container { gap: 32px; }
#ag-tiling-process .elementor-col-25 { flex: 0 0 calc(25% - 24px); max-width: calc(25% - 24px); }

/* ---- Projects page ---- */
/* Category filter bar (shadcn-style chips: rounded-md, active = gold, inactive = white+border). */
.ag-proj-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ag-filter-btn {
	height: 36px; padding: 8px 16px; border-radius: 6px; cursor: pointer;
	font: 500 14px/1 "DM Sans", sans-serif;
	background: #FAFAFA; color: #1a1a1a; border: 1px solid #e6e6e6;
	transition: background-color .2s cubic-bezier(.16,1,.3,1), color .2s, border-color .2s;
}
.ag-filter-btn:hover { background: #ededed; }
.ag-filter-btn.ag-active { background: #D4AF37; color: #1a1a1a; border-color: #D4AF37; }
.ag-filter-btn.ag-active:hover { background: #b08d28; border-color: #b08d28; }

/* 3-col project grid: lay the column's widgets out as a CSS grid (cards = ag_project_card widgets). */
#ag-projects-grid > .elementor-container > .elementor-column > .elementor-widget-wrap {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-content: start;
}
#ag-projects-grid .ag-proj-item { width: auto; max-width: none; margin: 0; }
@media (max-width: 1024px) { #ag-projects-grid > .elementor-container > .elementor-column > .elementor-widget-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { #ag-projects-grid > .elementor-container > .elementor-column > .elementor-widget-wrap { grid-template-columns: 1fr; } }

/* ---- Contact page ---- */
/* Contact-info rows: 48px gold-tint rounded chip, icon top-aligned with the title (items-start). */
#ag-contact-body .ag-contact-info .elementor-icon { border-radius: 12px; }
#ag-contact-body .ag-contact-info .elementor-icon-box-wrapper { align-items: flex-start; }
#ag-contact-body .ag-contact-info .elementor-icon-box-icon { margin: 0 16px 0 0 !important; }
#ag-contact-body .ag-contact-info .elementor-icon-box-title { margin: 0 0 4px !important; line-height: 1.2; }
#ag-contact-body .ag-contact-info .elementor-icon-box-description { margin: 0 !important; }
#ag-contact-body .ag-contact-info a:hover .elementor-icon-box-description,
#ag-contact-body .ag-contact-info a:hover { color: #D4AF37; }

/* Form card */
.ag-form-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.12); }
.ag-tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #ededed; border-radius: 8px; padding: 4px; margin-bottom: 24px; }
.ag-tab {
	border: 0; cursor: pointer; background: transparent; color: #666; border-radius: 6px; padding: 7px 12px;
	font: 500 14px/1.4 "DM Sans", sans-serif; transition: background-color .2s, color .2s, box-shadow .2s;
}
.ag-tab:hover { color: #1a1a1a; }
.ag-tab-active { background: #fafafa; color: #1a1a1a; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ag-form-h3 { font-family: "Playfair Display", serif; font-weight: 600; font-size: 30px; line-height: 1.3; color: #1a1a1a; margin: 0 0 8px; }
.ag-form-sub { font-family: "DM Sans", sans-serif; font-size: 14px; line-height: 1.6; color: #666; margin: 0 0 24px; }
.ag-form { display: grid; gap: 24px; }
.ag-field { display: grid; gap: 8px; }
.ag-field label { font: 500 14px/1.2 "DM Sans", sans-serif; color: #1a1a1a; }
.ag-field input, .ag-field select, .ag-field textarea {
	width: 100%; box-sizing: border-box; font: 400 14px/1.5 "DM Sans", sans-serif; color: #1a1a1a;
	background: #ededed; border: 1px solid #e5e5e5; border-radius: 6px; padding: 8px 12px;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.ag-field textarea { min-height: 128px; resize: vertical; }
.ag-field input::placeholder, .ag-field textarea::placeholder { color: #999; }
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus {
	outline: none; background: #fff; border-color: #D4AF37; box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.ag-form-submit {
	width: 100%; cursor: pointer; border: 0; border-radius: 6px; padding: 11px 20px;
	background: #D4AF37; color: #1a1a1a; font: 600 14px/1.2 "DM Sans", sans-serif;
	transition: background-color .2s cubic-bezier(.16,1,.3,1), transform .2s, box-shadow .2s;
}
.ag-form-submit:hover { background: #b08d28; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(212,175,55,.5); }
.ag-form-success { margin: 4px 0 0; font: 500 14px/1.5 "DM Sans", sans-serif; color: #2e7d32; }

/* ---- "Our group" two-company cards (Home + About) ---- */
/* Equal-height cards (columns already stretch) with the Learn More button pinned to the bottom. */
#ag-group .elementor-col-50 > .elementor-element-populated { display: flex; flex-direction: column; }
#ag-group .elementor-widget-button { margin-top: auto; }

/* Testimonial cards — outer dark frame lightens on hover (bg-white/5 → bg-white/10) */
#ag-testimonials .elementor-col-50 > .elementor-element-populated {
	transition: background-color .3s cubic-bezier(.16,1,.3,1);
}
#ag-testimonials .elementor-col-50:hover > .elementor-element-populated {
	background-color: rgba(255, 255, 255, .1) !important;
}

/* Design-system button hovers (applied via .ag-btn-* on Elementor button widgets).
   Subtle lift + premium easing + per-variant colour/shadow swap — from the DS Button spec. */
.ag-btn-primary .elementor-button,
.ag-btn-ondark .elementor-button,
.ag-btn-outline .elementor-button,
.ag-btn-outlinelight .elementor-button {
	transition: background-color .3s cubic-bezier(.16,1,.3,1), color .3s cubic-bezier(.16,1,.3,1),
		box-shadow .3s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1) !important;
}
.ag-btn-primary .elementor-button:hover {
	background-color: #b08d28 !important; color: #1a1a1a !important;
	box-shadow: 0 10px 40px -10px rgba(0,0,0,.2) !important; transform: translateY(-1px);
}
.ag-btn-ondark .elementor-button:hover {
	background-color: #ffffff !important; color: #1a1a1a !important; transform: translateY(-1px);
}
.ag-btn-outline .elementor-button:hover {
	background-color: #1a1a1a !important; color: #fafafa !important; transform: translateY(-1px);
}
.ag-btn-outlinelight .elementor-button:hover {
	background-color: rgba(255,255,255,.12) !important; transform: translateY(-1px);
}

/* Portfolio project cards — full-bleed image, scrim, hover-reveal description */
.ag-proj-card {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: #1a1a1a;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .1);
	transition: box-shadow .5s cubic-bezier(.16,1,.3,1);
}
.ag-proj-card:hover { box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .28); }
.ag-proj-card .ag-proj-img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; display: block;
	transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.ag-proj-card:hover .ag-proj-img { transform: scale(1.08); }
.ag-proj-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,0) 100%);
}
.ag-proj-badge {
	position: absolute; top: 24px; left: 24px; z-index: 3;
	display: inline-block; padding: 6px 14px; border-radius: 9999px;
	background: #D4AF37; color: #1a1a1a;
	font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700;
	letter-spacing: .15em; text-transform: uppercase;
}
.ag-proj-content {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 32px;
}
.ag-proj-title {
	font-family: "Playfair Display", serif; font-size: 30px; font-weight: 600;
	line-height: 1.2; color: #fff; margin: 0;
	transform: translateY(8px); transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.ag-proj-card:hover .ag-proj-title { transform: translateY(0); }
.ag-proj-reveal {
	display: grid; grid-template-rows: 0fr; opacity: 0;
	transition: grid-template-rows .5s cubic-bezier(.16,1,.3,1), opacity .5s cubic-bezier(.16,1,.3,1);
}
.ag-proj-card:hover .ag-proj-reveal { grid-template-rows: 1fr; opacity: 1; }
.ag-proj-reveal-in { overflow: hidden; }
.ag-proj-desc {
	font-family: "DM Sans", sans-serif; font-size: 15px; line-height: 1.6;
	color: rgba(255, 255, 255, .85); margin: 8px 0 14px;
}
.ag-proj-more {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: #D4AF37;
}
.ag-proj-line { display: inline-block; width: 24px; height: 1px; background: #D4AF37; transition: width .3s cubic-bezier(.16,1,.3,1); }
.ag-proj-card:hover .ag-proj-line { width: 40px; }

/* Before/After comparison slider (Transformations) + caption */
.ag-ba-caption { margin-top: 16px; }
.ag-ba-title {
	font-family: "Playfair Display", serif; font-size: 24px; font-weight: 600;
	line-height: 1.3; color: #1a1a1a; margin: 0 0 4px;
}
.ag-ba-type {
	display: block; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase; color: #D4AF37;
}
.ag-ba-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .25);
	user-select: none;
	touch-action: pan-y;
}
/* `.ag-ba` ancestor raises specificity above Elementor's `.elementor img{height:auto}`
   (equal-specificity source-order loss made portrait images render at natural height). */
.ag-ba .ag-ba-slider img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ag-ba-before-wrap { position: absolute; inset: 0; z-index: 1; will-change: clip-path; }
.ag-ba-label {
	position: absolute;
	top: 16px;
	z-index: 3;
	padding: 4px 12px;
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	border-radius: 9999px;
	backdrop-filter: blur(4px);
}
.ag-ba-label-after  { right: 16px; background: rgba(250, 250, 250, .9); color: #1a1a1a; }
.ag-ba-label-before { left: 16px;  background: rgba(26, 26, 26, .9);  color: #fff; }
.ag-ba-divider {
	position: absolute;
	top: 0; bottom: 0;
	width: 2px;
	background: #fff;
	z-index: 2;
	transform: translateX(-50%);
	pointer-events: none;
}
.ag-ba-knob {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 40px; height: 40px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
	font-size: 16px;
	transition: transform .3s ease;
}
.ag-ba-slider:hover .ag-ba-knob { transform: translate(-50%, -50%) scale(1.1); }
.ag-ba-range {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	z-index: 4;
}

/* Hero scroll indicator */
.ag-scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	z-index: 10;
	color: rgba(255, 255, 255, .7);
	pointer-events: none;
}
.ag-scroll-indicator span {
	font-family: "DM Sans", sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .15em;
}
.ag-scroll-indicator i, .ag-scroll-indicator svg { font-size: 20px; width: 20px; height: 20px; animation: ag-bounce 1.4s infinite; }
@keyframes ag-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(7px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
	.ag-nav, .ag-header-cta { display: none; }
	.ag-burger { display: block; }
	.ag-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
	.ag-footer-grid { grid-template-columns: 1fr; }
}
