/* =========================================================================
   Affordable Homes Staging – Clara Blunk–style theme layer
   Slate #2B2D42 · Gold #B8893F · Page #F3F3F3 · General Sans
   ========================================================================= */
:root {
	--ahs-slate: #2b2d42;
	--ahs-slate-2: #34364f;
	--ahs-gold: #b8893f;
	--ahs-gold-dark: #8a6428;
	--ahs-gold-soft: #f5ecdc;
	--ahs-text: #585960;
	--ahs-bg: #f3f3f3;
	--ahs-line: #e3e4e8;
	--ahs-radius: 20px;
	--ahs-gutter: 20px;
	--ahs-font: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body.ahs-site {
	background: var(--ahs-bg);
	color: var(--ahs-text);
	font-family: var(--ahs-font);
	-webkit-font-smoothing: antialiased;
}
body.ahs-site h1, body.ahs-site h2, body.ahs-site h3, body.ahs-site h4 { font-family: var(--ahs-font); color: var(--ahs-slate); }
body.ahs-site a { color: var(--ahs-gold-dark); }
:where(body.ahs-site) img { max-width: 100%; height: auto; }
.ahs-content { padding-top: var(--ahs-gutter); }

/* ---------- Header (overlays the rounded hero) ---------- */
.ahs-header {
	position: absolute; z-index: 50; left: 0; right: 0; top: var(--ahs-gutter);
	padding: 0 calc(var(--ahs-gutter) + 20px);
	transition: background .3s, box-shadow .3s, top .3s;
}
.ahs-header__inner {
	max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
	padding: 18px 10px;
}
.ahs-logo img {
	display: block; width: auto; height: 64px; border-radius: 10px;
	background: #e9e7e3; padding: 4px 6px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.ahs-nav { flex: 1; display: flex; justify-content: center; }
.ahs-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.ahs-menu > li { position: relative; }
.ahs-menu a {
	display: block; padding: 8px 12px; border-radius: 100px;
	color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s;
}
.ahs-menu > li > a:hover, .ahs-menu > li.current-menu-item > a, .ahs-menu > li.current-menu-ancestor > a { background: rgba(255,255,255,.14); color: #fff !important; }
.ahs-menu > li.current-menu-item > a { color: #e9c98f !important; }
.ahs-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ahs-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(20,22,40,.18);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.ahs-menu li:hover > .sub-menu, .ahs-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ahs-menu .sub-menu a { color: var(--ahs-slate) !important; border-radius: 10px; }
.ahs-menu .sub-menu a:hover { background: var(--ahs-gold-soft); color: var(--ahs-gold-dark) !important; }
.ahs-nav__call { display: none; }
.ahs-header__cta {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 100px;
	background: var(--ahs-gold); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
	transition: background .2s, transform .2s;
}
.ahs-header__cta:hover { background: #fff; color: var(--ahs-slate) !important; }
.ahs-header__cta span { font-size: 18px; line-height: 1; }
.ahs-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.ahs-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

.ahs-header.is-stuck {
	position: fixed; top: 10px;
}
.ahs-header.is-stuck .ahs-header__inner {
	background: rgba(43,45,66,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-radius: 18px; padding: 10px 18px; box-shadow: 0 14px 40px rgba(20,22,40,.25);
}
.ahs-header.is-stuck .ahs-logo img { height: 48px; }
body.admin-bar .ahs-header { top: calc(var(--ahs-gutter) + 32px); }
body.admin-bar .ahs-header.is-stuck { top: 42px; }

/* Non-Elementor pages (blog posts etc.) get a slate band behind the header */
body.ahs-site:not(.elementor-page) .ahs-content { padding-top: 150px; }
body.ahs-site:not(.elementor-page)::before {
	content: ""; position: absolute; left: var(--ahs-gutter); right: var(--ahs-gutter); top: var(--ahs-gutter); height: 130px;
	background: var(--ahs-slate); border-radius: var(--ahs-radius); z-index: 0;
}
body.ahs-site:not(.elementor-page) .site-main { max-width: 860px; margin: 0 auto 60px; background: #fff; border-radius: var(--ahs-radius); padding: 50px 40px; position: relative; }

/* Floating call button */
.ahs-float-call {
	position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center; background: var(--ahs-gold); color: #fff !important;
	box-shadow: 0 10px 30px rgba(184,137,63,.45); transition: transform .2s;
	animation: ahs-pulse 2.4s infinite;
}
.ahs-float-call:hover { transform: scale(1.08); }
@keyframes ahs-pulse { 0% { box-shadow: 0 0 0 0 rgba(184,137,63,.55); } 70% { box-shadow: 0 0 0 16px rgba(184,137,63,0); } 100% { box-shadow: 0 0 0 0 rgba(184,137,63,0); } }

/* ---------- Section shells ---------- */
.elementor-section.ahs-card-section,
.elementor-section.ahs-dark-round,
.elementor-section.ahs-hero,
.elementor-section.ahs-strip,
.elementor-section.ahs-plain { margin-left: var(--ahs-gutter); margin-right: var(--ahs-gutter); width: auto; }
.elementor-section.ahs-card-section { background: #fff; border-radius: var(--ahs-radius) var(--ahs-radius) 0 0; }
.elementor-section.ahs-card-section + .elementor-section.ahs-card-flow { border-radius: 0; }
.elementor-section.ahs-card-section:not(:has(+ .ahs-card-flow)) { border-radius: var(--ahs-radius); margin-bottom: var(--ahs-gutter); }
.elementor-section.ahs-card-flow:not(:has(+ .ahs-card-flow)) { border-radius: 0 0 var(--ahs-radius) var(--ahs-radius); margin-bottom: var(--ahs-gutter); }
.elementor-section.ahs-dark-round { border-radius: var(--ahs-radius); margin-bottom: var(--ahs-gutter); overflow: hidden; }
.elementor-section.ahs-dark-top { border-radius: var(--ahs-radius) var(--ahs-radius) 0 0; margin-bottom: 0; }
.elementor-section.ahs-dark-mid { border-radius: 0; margin-bottom: 0; }
.elementor-section.ahs-dark-bottom { border-radius: 0 0 var(--ahs-radius) var(--ahs-radius); }
.elementor-section.ahs-dark-round::before { /* subtle grid texture like Clara's dark panels */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 46px 46px;
}

/* ---------- Hero ---------- */
.elementor-section.ahs-hero { border-radius: var(--ahs-radius); overflow: hidden; margin-bottom: 0; }
.elementor-section.ahs-hero .elementor-background-video-container video,
.elementor-section.ahs-hero .elementor-background-video-hosted {
	object-fit: cover; width: 100% !important; height: 100% !important; left: 0 !important; top: 0 !important; transform: none !important;
	image-rendering: -webkit-optimize-contrast; filter: saturate(1.06) contrast(1.04);
}
.ahs-hero-title .elementor-heading-title { text-wrap: balance; }
.ahs-hero-lead { max-width: 640px; }
.ahs-hero .ahs-pill .elementor-heading-title { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.ahs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; color: #fff; margin-bottom: 28px; }
.ahs-stats strong { display: block; font-size: 38px; font-weight: 600; line-height: 1.05; letter-spacing: -1px; }
.ahs-stats span { font-size: 14px; opacity: .85; }
.ahs-stats__wide { grid-column: 1 / -1; }
.ahs-hero-rating { color: #fff; }
.ahs-hero-rating strong { display: block; font-size: 16px; font-weight: 600; margin: 6px 0 2px; }
.ahs-hero-rating a { color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ahs-stars { color: #f4c150; letter-spacing: 3px; font-size: 18px; line-height: 1; }

/* Feature strip under hero */
.elementor-section.ahs-strip { background: var(--ahs-gold); border-radius: 0 0 var(--ahs-radius) var(--ahs-radius); margin-bottom: var(--ahs-gutter); }
.ahs-strip .elementor-icon-box-title, .ahs-strip .elementor-icon-box-title a { color: #fff !important; font-size: 16px !important; font-weight: 600 !important; margin: 0 !important; }
.ahs-strip .elementor-icon-box-description { color: rgba(255,255,255,.88) !important; font-size: 13px !important; }
.ahs-strip .elementor-icon { color: #fff !important; fill: #fff !important; font-size: 22px !important; }
.ahs-strip .elementor-column + .elementor-column { border-left: 1px solid rgba(255,255,255,.28); }

/* ---------- Pills, headings, text ---------- */
.ahs-pill .elementor-heading-title {
	display: inline-block; padding: 7px 14px; border-radius: 100px; background: var(--ahs-gold); color: #fff;
	font-size: 13px; font-weight: 500; line-height: 1.3;
}
.ahs-center .ahs-pill, .ahs-center .elementor-widget-html, .ahs-center .elementor-widget-heading, .ahs-center .elementor-widget-text-editor { text-align: center; }
.ahs-narrow > .elementor-widget-wrap { max-width: 860px; margin: 0 auto; }
.ahs-heading .elementor-heading-title { text-wrap: balance; }
.ahs-text p:last-child { margin-bottom: 0; }
.ahs-pt > .elementor-widget-wrap { padding-top: 46px !important; }
.ahs-vcenter > .elementor-widget-wrap { align-content: center; }

/* Scroll reveal (Clara's grey-to-dark headline fill) */
.ahs-reveal .elementor-heading-title .ahs-w { color: rgba(43,45,66,.18); transition: color .35s ease; }
.ahs-reveal--light .elementor-heading-title .ahs-w { color: rgba(255,255,255,.22); }
.ahs-reveal .elementor-heading-title .ahs-w.is-on { color: inherit; }

/* ---------- Buttons ---------- */
.ahs-btn .elementor-button { box-shadow: none; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.ahs-btn .elementor-button:hover { transform: translateY(-2px); }
.ahs-btn--link .elementor-button { text-decoration: none; }
.ahs-btn--link .elementor-button:hover { transform: none; }
.ahs-btn .elementor-button-icon { font-size: 13px; }
.ahs-btn--gold .elementor-button-icon, .ahs-btn--link .elementor-button-icon { transform: rotate(-45deg); }

/* ---------- Cards ---------- */
.ahs-service-card > .elementor-widget-wrap {
	margin: 10px; background: #fff; border: 1px solid var(--ahs-line); border-radius: 16px; padding: 12px 12px 22px !important;
	transition: transform .3s, box-shadow .3s; align-content: flex-start;
}
.ahs-service-card > .elementor-widget-wrap > .elementor-element:not(.ahs-img) { padding: 0 12px; }
.ahs-service-card:hover > .elementor-widget-wrap { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43,45,66,.12); }
.ahs-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ahs-tall-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ahs-cover-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.ahs-mini-card .elementor-icon-box-wrapper,
.ahs-why-card .elementor-icon-box-wrapper {
	background: var(--ahs-bg); border: 1px solid var(--ahs-line); border-radius: 16px; padding: 26px; height: 100%;
}
.ahs-mini-card { height: 100%; }
.ahs-mini-card .elementor-icon-box-wrapper, .ahs-dark-card .elementor-icon-box-wrapper { text-align: left; }
.ahs-mini-card .elementor-icon-box-icon, .ahs-dark-card .elementor-icon-box-icon { display: inline-block; margin-bottom: 18px; }
.ahs-mini-card .elementor-icon-box-title { font-size: 22px !important; font-weight: 500 !important; }
.ahs-why-card { margin-bottom: 16px !important; }
.ahs-why-card .elementor-icon-box-wrapper { background: #fff; }
.ahs-why-card .elementor-icon, .ahs-mini-card .elementor-icon {
	width: 52px; height: 52px; display: grid !important; place-items: center; border-radius: 50%;
	background: var(--ahs-slate); color: #fff !important; fill: #fff !important; font-size: 20px !important;
}
.ahs-why-card .elementor-icon-box-title { font-size: 22px !important; font-weight: 600 !important; }
.ahs-why-cta { display: flex; gap: 14px; align-items: center; background: var(--ahs-gold-soft); border-radius: 16px; padding: 18px 22px; }
.ahs-why-cta small { display: block; font-size: 14px; color: var(--ahs-text); }
.ahs-why-cta a { font-size: 22px; font-weight: 600; color: var(--ahs-slate) !important; text-decoration: none; }

.ahs-call-chip { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; text-align: left; }
.ahs-call-chip small { display: block; font-size: 14px; color: var(--ahs-text); }
.ahs-call-chip strong { font-size: 20px; color: var(--ahs-slate); }
.ahs-call-chip__icon {
	flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--ahs-gold);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; background-size: 22px;
}
.ahs-video-actions { margin-top: 18px; }
.ahs-right > .elementor-widget-wrap { justify-content: flex-end; }
.ahs-divider { height: 1px; background: var(--ahs-line); margin: 28px 0 18px; }
.ahs-call-line span { display: block; font-size: 14px; }
.ahs-call-line a { font-size: 24px; font-weight: 600; color: var(--ahs-slate) !important; text-decoration: none; }

.ahs-rel { position: relative; }
.ahs-float-badge {
	position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 16px; padding: 16px 20px;
	box-shadow: 0 20px 50px rgba(43,45,66,.18);
}
.ahs-float-badge strong { display: block; color: var(--ahs-slate); font-size: 18px; margin-top: 6px; }
.ahs-float-badge span { font-size: 13px; }

/* Sticky left columns (desktop) */
@media (min-width: 1025px) {
	.ahs-sticky > .elementor-widget-wrap { position: sticky; top: 110px; align-self: flex-start; }
	.ahs-sticky { align-self: flex-start; }
}

/* Tabs (who we help) */
.ahs-tabs .elementor-tabs-wrapper { border-bottom: 2px solid var(--ahs-line); }
.ahs-tabs .elementor-tab-desktop-title { border: 0 !important; padding: 14px 18px !important; }
.ahs-tabs .elementor-tab-desktop-title.elementor-active { box-shadow: inset 0 -3px 0 var(--ahs-gold); }
.ahs-tabs .elementor-tab-desktop-title.elementor-active::before, .ahs-tabs .elementor-tab-desktop-title.elementor-active::after { display: none !important; }
.ahs-tabs .elementor-tab-content { border: 0 !important; padding: 22px 0 !important; }
.ahs-tabs .elementor-tab-mobile-title { border: 1px solid var(--ahs-line) !important; border-radius: 12px; margin-bottom: 8px; }

/* Dark tiles (service tiles) */
.ahs-tile { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.6; text-decoration: none; }
.ahs-site .ahs-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ahs-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,45,66,0) 45%, rgba(20,22,40,.85) 100%); }
.ahs-tile span { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 22px; color: #fff; text-align: center; font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .3px; }
.ahs-tile:hover img { transform: scale(1.06); }

.ahs-dark-card .elementor-icon-box-wrapper { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 30px; height: 100%; }
.ahs-dark-card .elementor-icon-box-title { color: #fff !important; font-size: 22px !important; font-weight: 500 !important; }
.ahs-dark-card .elementor-icon-box-description { color: rgba(255,255,255,.75) !important; }
.ahs-dark-card .elementor-icon { width: 54px; height: 54px; display: grid !important; place-items: center; border-radius: 50%; background: var(--ahs-gold); color: #fff !important; fill: #fff !important; }
.ahs-dark-card { height: 100%; }

/* Lists */
.ahs-list .elementor-icon-list-item { align-items: flex-start !important; }
.ahs-list .elementor-icon-list-icon { padding-top: 3px; }

/* ---------- Video ---------- */
.ahs-video .elementor-wrapper, .ahs-video .elementor-custom-embed-image-overlay { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(43,45,66,.22); }
.ahs-video video { object-fit: cover; }
.ahs-video .elementor-custom-embed-play i, .ahs-video .elementor-custom-embed-play svg { color: #fff; fill: #fff; opacity: 1; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.ahs-video .elementor-custom-embed-play { width: 86px; height: 86px; border-radius: 50%; background: var(--ahs-gold); display: grid; place-items: center; }
.ahs-video .elementor-custom-embed-play i { font-size: 34px; }
.ahs-video-note { font-style: italic; text-align: center; margin: 18px auto 0; max-width: 640px; }

/* ---------- Before / after ---------- */
.ahs-ba { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #ddd; user-select: none; }
.ahs-site .ahs-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ahs-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ahs-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ahs-ba__handle::after {
	content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
	background: #fff; color: var(--ahs-slate); display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ahs-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ahs-ba__tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(43,45,66,.7); pointer-events: none; }
.ahs-ba__tag--b { left: 14px; }
.ahs-ba__tag--a { right: 14px; background: var(--ahs-gold); }
.ahs-mt { margin-top: 20px; }

/* ---------- Gallery ---------- */
.ahs-gallery .gallery-item img, .ahs-grid-gallery img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .4s; }
.ahs-grid-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.ahs-grid-gallery a { display: block; border-radius: 14px; overflow: hidden; }
.ahs-grid-gallery a:hover img { transform: scale(1.05); }
.ahs-gallery .gallery { margin-top: 24px !important; }

/* ---------- Reviews ---------- */
.ahs-review-summary { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; }
.ahs-review-summary strong { color: var(--ahs-slate); font-size: 18px; }
.ahs-center .ahs-btn { text-align: center; width: 100% !important; }
.ahs-review-col > .elementor-widget-wrap { margin: 10px; background: var(--ahs-bg); border-radius: 16px; padding: 26px !important; }
.ahs-review .elementor-testimonial-content { position: relative; padding-top: 30px; }
.ahs-review .elementor-testimonial-content::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #f4c150; letter-spacing: 3px; font-size: 16px; }
.ahs-review .elementor-testimonial-job::before { content: "G "; color: #4285f4; font-weight: 700; }

/* ---------- Contact block & forms ---------- */
.ahs-contact-item { margin-bottom: 18px !important; }
.ahs-contact-item .elementor-icon-box-wrapper { display: flex; align-items: center; gap: 16px; text-align: left; }
.ahs-contact-item .elementor-icon-box-icon { margin: 0 !important; }
.ahs-contact-item .elementor-icon { width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 50%; background: var(--ahs-gold); color: #fff !important; fill: #fff !important; font-size: 18px !important; }
.ahs-contact-item .elementor-icon-box-title { color: rgba(255,255,255,.85) !important; font-size: 14px !important; font-weight: 400 !important; margin: 0 0 2px !important; }
.ahs-contact-item .elementor-icon-box-description { color: #fff !important; font-size: 20px !important; font-weight: 600; }
.ahs-form-card > .elementor-widget-wrap { margin: 10px; background: #fff; border-radius: 18px; padding: 36px !important; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.ahs-form-card--light > .elementor-widget-wrap { background: var(--ahs-bg); box-shadow: none; }

.ahs-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ahs-field--full { grid-column: 1 / -1; }
.ahs-form input[type=text], .ahs-form input[type=email], .ahs-form input[type=tel], .ahs-form select, .ahs-form textarea {
	width: 100%; border: 1px solid var(--ahs-line); border-radius: 10px; padding: 14px 16px; font: 15px/1.4 var(--ahs-font);
	color: var(--ahs-slate); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.ahs-form input:focus, .ahs-form select:focus, .ahs-form textarea:focus { outline: 0; border-color: var(--ahs-gold); box-shadow: 0 0 0 3px rgba(184,137,63,.18); }
.ahs-form fieldset { border: 0; padding: 0; margin: 0; }
.ahs-form legend { font-size: 14px; font-weight: 600; color: var(--ahs-slate); margin-bottom: 8px; }
.ahs-radio { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font-size: 15px; cursor: pointer; }
.ahs-radio input { accent-color: var(--ahs-gold); width: 18px; height: 18px; }
.ahs-form__submit {
	margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; border: 0; cursor: pointer;
	padding: 15px 30px; border-radius: 100px; background: var(--ahs-gold); color: #fff; font: 600 15px var(--ahs-font);
	transition: background .2s, transform .2s;
}
.ahs-form__submit:hover { background: var(--ahs-slate); transform: translateY(-2px); }
.ahs-hp { position: absolute !important; left: -9999px !important; }
.ahs-form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.ahs-form-msg--ok { background: #e7f6ee; color: #1e6b45; }
.ahs-form-msg--err { background: #fdecec; color: #9b2c2c; }

/* FAQ */
.ahs-faq .elementor-toggle-item { background: #fff; border: 1px solid var(--ahs-line); border-radius: 14px; margin-bottom: 14px !important; overflow: hidden; }
.ahs-faq .elementor-tab-title { border: 0 !important; padding: 22px 24px !important; }
.ahs-faq .elementor-tab-title.elementor-active { background: var(--ahs-slate); }
.ahs-faq .elementor-tab-title.elementor-active a, .ahs-faq .elementor-tab-title.elementor-active .elementor-toggle-icon { color: #fff !important; }
.ahs-faq .elementor-tab-content { border: 0 !important; padding: 0 24px 22px !important; }
.ahs-faq .elementor-tab-title.elementor-active + .elementor-tab-content { background: var(--ahs-slate); color: rgba(255,255,255,.85) !important; }
.ahs-faq .elementor-toggle-icon { color: var(--ahs-slate); }

/* Blog cards */
.ahs-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; text-align: left; }
.ahs-post { background: #fff; border: 1px solid var(--ahs-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ahs-post:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(43,45,66,.12); }
.ahs-post__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ahs-post__body { padding: 22px 24px 26px; }
.ahs-post h3 { font-size: 22px; font-weight: 500; line-height: 1.25; margin: 0 0 10px; }
.ahs-post h3 a { color: var(--ahs-slate) !important; text-decoration: none; }
.ahs-post p { font-size: 15px; margin: 0 0 14px; }
.ahs-post__more { font-weight: 700; font-size: 14px; text-transform: uppercase; text-decoration: none; }

/* Map */
.ahs-map iframe { border-radius: 18px; filter: grayscale(.25); }

/* Footer */
.ahs-footer { margin: 0 var(--ahs-gutter) var(--ahs-gutter); border-radius: var(--ahs-radius); overflow: hidden; background: var(--ahs-slate); }
.ahs-footer .elementor-section { margin: 0 !important; }
.ahs-footer-logo img { height: 90px; width: auto; background: #e9e7e3; padding: 6px 8px; }
.ahs-footer-links .elementor-icon-list-icon { font-size: 10px; }
.ahs-footer-links a:hover .elementor-icon-list-text { color: #e9c98f !important; }
.ahs-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.ahs-footer-bottom a { color: #e9c98f !important; }
.ahs-footer-fallback { color: #fff; text-align: center; padding: 40px 20px; }
.ahs-footer-fallback a { color: #e9c98f; }

/* ---------- Motion ---------- */
.ahs-anim { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.ahs-anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ahs-anim { opacity: 1; transform: none; transition: none; }
	.ahs-float-call { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ahs-menu a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 1024px) {
	:root { --ahs-gutter: 12px; }
	.ahs-header { padding: 0 calc(var(--ahs-gutter) + 8px); }
	.ahs-burger { display: block; margin-left: auto; }
	.ahs-header__cta { display: none; }
	.ahs-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--ahs-slate); padding: 90px 22px 30px;
		flex-direction: column; justify-content: flex-start; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
		box-shadow: -20px 0 60px rgba(0,0,0,.3);
	}
	.ahs-nav.is-open { transform: none; }
	.ahs-menu { flex-direction: column; align-items: stretch; }
	.ahs-menu a { font-size: 16px; padding: 12px 14px; }
	.ahs-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.06); box-shadow: none; display: none; margin: 4px 0 8px; }
	.ahs-menu li.is-open > .sub-menu { display: block; }
	.ahs-menu .sub-menu a { color: #fff !important; }
	.ahs-nav__call { display: block; margin-top: 20px; text-align: center; padding: 14px; border-radius: 100px; background: var(--ahs-gold); color: #fff !important; font-weight: 600; text-decoration: none; }
	.ahs-burger[aria-expanded=true] { position: relative; z-index: 2; }
	.ahs-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ahs-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
	.ahs-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ahs-posts { grid-template-columns: 1fr 1fr; }
	.ahs-strip .elementor-column + .elementor-column { border-left: 0; }
	.ahs-grid-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.ahs-logo img { height: 50px; }
	.ahs-stats strong { font-size: 30px; }
	.ahs-hero-aside { margin-top: 26px; }
	.ahs-posts, .ahs-form__grid { grid-template-columns: 1fr; }
	.ahs-form-card > .elementor-widget-wrap { padding: 24px !important; }
	.ahs-pt > .elementor-widget-wrap { padding-top: 0 !important; }
	.ahs-float-badge { left: 10px; }
	.ahs-reverse-mobile > .elementor-container { flex-direction: column-reverse; }
	.ahs-grid-gallery { grid-template-columns: 1fr 1fr; }
	.ahs-strip .elementor-column { margin-bottom: 10px; }
	.ahs-btn { margin-right: 8px !important; }
}
.elementor-section.ahs-hero:has(+ .ahs-strip) { border-radius: var(--ahs-radius) var(--ahs-radius) 0 0; }
.elementor-section.ahs-hero:not(:has(+ .ahs-strip)) { margin-bottom: var(--ahs-gutter); }

.ahs-review .elementor-testimonial-image { display: none; }
.elementor-widget-wrap > .elementor-element.ahs-btn.elementor-widget__width-auto { margin-bottom: 12px !important; align-self: flex-start; }
.ahs-hero .elementor-widget-wrap > .elementor-element.ahs-btn.elementor-widget__width-auto { align-self: auto; }

/* ---------- Blog posts ---------- */
body.single-post .site-main .page-header { margin-bottom: 6px; }
body.single-post .site-main .entry-title { font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -1px; color: var(--ahs-slate); text-wrap: balance; }
.ahs-post-meta { font-size: 14px; color: var(--ahs-gold-dark); font-weight: 600; margin: 0 0 18px; }
.ahs-post-hero { margin: 0 0 28px; }
.ahs-site .ahs-post-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
body.single-post .site-main h2 { font-size: 28px; font-weight: 500; margin-top: 34px; }
body.single-post .site-main h3 { font-size: 22px; font-weight: 600; }
body.single-post .site-main p, body.single-post .site-main li { font-size: 17px; line-height: 1.75; }
.ahs-post-cta { margin-top: 44px; padding: 32px; border-radius: 18px; background: var(--ahs-slate); color: rgba(255,255,255,.85); }
.ahs-post-cta h2 { color: #fff !important; margin: 0 0 8px !important; }
.ahs-post-cta__btn { display: inline-block; margin: 10px 14px 0 0; padding: 13px 24px; border-radius: 100px; background: var(--ahs-gold); color: #fff !important; font-weight: 600; text-decoration: none; }
.ahs-post-cta__call { color: #e9c98f !important; font-weight: 600; font-size: 18px; text-decoration: none; }
body.single-post .post-tags, body.single-post .comments-area { display: none; }
@media (max-width: 767px) { body.ahs-site:not(.elementor-page) .site-main { padding: 30px 20px; margin-left: 12px; margin-right: 12px; } }

/* ---------- v1.1: clearer logo, brighter hero video, key facts, service areas ---------- */
.ahs-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.ahs-site .ahs-logo img {
	height: 74px; width: auto; background: #fff; padding: 5px 8px; border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0,0,0,.22); filter: contrast(1.18) saturate(1.25);
}
.ahs-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.ahs-logo__text strong { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.ahs-logo__text small { color: #e9c98f; font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.ahs-header.is-stuck .ahs-logo img { height: 54px; }
@media (max-width: 1300px) { .ahs-logo__text small { display: none; } .ahs-logo__text strong { font-size: 16px; } }
@media (max-width: 1360px) and (min-width: 1025px) { .ahs-logo__text { display: none; } }
@media (max-width: 767px) { .ahs-site .ahs-logo img { height: 56px; } .ahs-logo__text strong { font-size: 15px; white-space: normal; max-width: 150px; } }

.elementor-section.ahs-hero .elementor-background-video-container video,
.elementor-section.ahs-hero .elementor-background-video-hosted { filter: brightness(1.06) saturate(1.08) contrast(1.03); }
.ahs-hero .elementor-background-overlay { opacity: 1 !important; }
.ahs-hero .elementor-heading-title, .ahs-hero .ahs-hero-lead, .ahs-hero .ahs-stats, .ahs-hero .ahs-hero-rating { text-shadow: 0 2px 18px rgba(20,22,40,.55); }
@media (max-width: 767px) { .ahs-hero .elementor-background-overlay { background-image: linear-gradient(0deg, rgba(43,45,66,.85) 0%, rgba(43,45,66,.35) 70%, rgba(43,45,66,.15) 100%) !important; } }

.ahs-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ahs-facts > div { background: var(--ahs-bg); border: 1px solid var(--ahs-line); border-radius: 14px; padding: 16px 18px; }
.ahs-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ahs-gold-dark); margin-bottom: 4px; }
.ahs-facts dd { margin: 0; color: var(--ahs-slate); font-weight: 500; font-size: 15px; line-height: 1.5; }
.ahs-facts a { color: var(--ahs-slate) !important; }
@media (max-width: 767px) { .ahs-facts { grid-template-columns: 1fr; } }

.ahs-areas { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ahs-areas li { padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: 14px; }
@media (max-width: 1500px) and (min-width: 1025px) {
	.ahs-header__inner { gap: 16px; }
	.ahs-menu { flex-wrap: nowrap; gap: 2px; }
	.ahs-menu a { padding: 8px 8px; font-size: 13.5px; }
	.ahs-logo__text strong { font-size: 16px; }
	.ahs-header__cta { padding: 12px 18px; font-size: 14px; }
}

/* v1.1.1: logo only, larger and crisp */
.ahs-logo__text { display: none !important; }
.ahs-site .ahs-logo img { height: 92px; width: auto; padding: 6px 12px; background: #fff; border-radius: 16px; filter: none; image-rendering: auto; }
.ahs-header.is-stuck .ahs-logo img { height: 62px; padding: 4px 9px; }
@media (max-width: 767px) { .ahs-site .ahs-logo img { height: 64px; padding: 4px 8px; } }
.ahs-footer-logo img { height: 110px !important; width: auto; background: #fff !important; padding: 8px 12px !important; border-radius: 14px; }

/* v1.1.2: compact page headers on inner pages (home keeps the full-height hero) */
body:not(.home) .elementor-section.ahs-hero > .elementor-container { min-height: 270px !important; }
body:not(.home) .elementor-section.ahs-hero { padding-top: 150px !important; padding-bottom: 48px !important; }
body:not(.home) .ahs-hero .ahs-hero-title .elementor-heading-title { font-size: 46px !important; line-height: 1.12 !important; }
body:not(.home) .ahs-hero .ahs-hero-lead { font-size: 16px; width: 100% !important; max-width: 100% !important; flex-basis: 100%; }
body:not(.home) .ahs-hero .ahs-hero-lead p { max-width: 640px; }
body:not(.home) .ahs-hero .ahs-hero-lead p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body:not(.home) .ahs-hero .ahs-hero-aside { display: none; }
body:not(.home) .ahs-hero .ahs-hero-copy { width: 100% !important; }
body:not(.home) .ahs-hero .ahs-btn .elementor-button { padding: 13px 22px; font-size: 14px; }
@media (max-width: 1024px) { body:not(.home) .ahs-hero .ahs-hero-title .elementor-heading-title { font-size: 38px !important; } }
@media (max-width: 767px) {
	body:not(.home) .elementor-section.ahs-hero > .elementor-container { min-height: 220px !important; }
	body:not(.home) .elementor-section.ahs-hero { padding-top: 120px !important; padding-bottom: 32px !important; }
	body:not(.home) .ahs-hero .ahs-hero-title .elementor-heading-title { font-size: 30px !important; }
}

/* ---------- v1.2: Elementor-editable header template ("AHS Site Header") ---------- */
.ahs-header > .elementor { width: 100%; }
.ahs-header .e-con.ahs-header__inner { max-width: 1280px; margin-left: auto; margin-right: auto; }
.ahs-header .e-con.ahs-logo { width: auto; flex: 0 0 auto; text-decoration: none; }
.ahs-header .ahs-header__inner .elementor-widget { margin: 0; }
.ahs-header .ahs-logo .elementor-widget-text-editor p { margin: 0; }
.ahs-header .ahs-nav-wrap { flex: 1 1 auto; min-width: 0; }
.ahs-header .ahs-nav-wrap .ahs-nav { width: 100%; }
.ahs-header .ahs-header-cta { flex: 0 0 auto; }
.ahs-header .ahs-header-cta .elementor-button { white-space: nowrap; transition: background .2s, color .2s; }
.ahs-header .ahs-burger-wrap { flex: 0 0 auto; }
@media (max-width: 1024px) {
	.ahs-header .ahs-burger-wrap { margin-left: auto; }
	.ahs-header .ahs-nav-wrap { flex: 0 0 0; width: 0; }
}
/* Editing the header template in Elementor: dark backdrop so the white menu is visible */
body.single-elementor_library .elementor .ahs-header__inner { background: var(--ahs-slate); border-radius: 18px; }
/* Mobile: keep the slide-out menu full height when the header is stuck (backdrop-filter would clip it) */
@media (max-width: 1024px) {
	.ahs-header.is-stuck .ahs-header__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(43,45,66,.97); }
}
