/* ALMAX GLOBAL CHROME
   Header / footer / drawer isolated from legacy Aspro styles.
*/

:root {
	--almax-global-orange: #d94b27;
	--almax-global-orange-dark: #bf3e1c;
	--almax-global-dark: #24211e;
	--almax-global-text: #24211e;
	--almax-global-light: #f3f0eb;
	--almax-global-line: #d7d0c7;
	--almax-global-max: 1760px;
}

.almax-global-shell {
	width: min(calc(100% - 96px), var(--almax-global-max));
	margin-inline: auto;
}

.almax-global-header *,
.almax-global-footer *,
.almax-global-drawer *,
.almax-global-float-actions * {
	box-sizing: border-box;
}

/* HEADER */
.almax-global-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: #24211e;
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.13);
}

.almax-global-header__inner {
	height: 78px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.almax-global-header__logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.almax-global-header__logo img {
	display: block;
	width: auto;
	height: 42px;
	max-width: 190px;
	object-fit: contain;
}

.almax-global-header__logo > span {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.04em;
}

.almax-global-header__nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: clamp(15px, 1.45vw, 28px);
}

.almax-global-header__nav a,
.almax-global-header__phone {
	color: rgba(255,255,255,.78);
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
	transition: color .2s ease;
}

.almax-global-header__nav a:hover,
.almax-global-header__phone:hover {
	color: #fff;
}

.almax-global-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.almax-global-cta,
.almax-global-mobile-menu__bottom button {
	min-height: 46px;
	padding: 0 17px;
	border: 0;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	background: var(--almax-global-orange);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease;
}

.almax-global-cta:hover,
.almax-global-mobile-menu__bottom button:hover {
	background: var(--almax-global-orange-dark);
}

.almax-global-menu-toggle,
.almax-global-mobile-menu {
	display: none;
}

/* FOOTER */
.almax-global-footer {
	position: relative;
	z-index: 5;
	padding: 62px 0 24px;
	background: #1f1d1b;
	color: #fff;
}

.almax-global-footer__lead {
	padding-bottom: 46px;
	display: grid;
	grid-template-columns: minmax(260px,1fr) auto;
	gap: 60px;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.almax-global-footer__brand p {
	max-width: 420px;
	margin: 25px 0 0;
	color: rgba(255,255,255,.48);
	font-size: 14px;
	line-height: 1.6;
}

.almax-global-footer__logo img {
	display: block;
	width: auto;
	height: 48px;
	max-width: 210px;
	object-fit: contain;
}

.almax-global-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
}

.almax-global-footer__contact > span,
.almax-global-footer__title {
	color: rgba(255,255,255,.34);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.almax-global-footer__contact a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
}

.almax-global-footer__grid {
	padding: 44px 0 52px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 42px;
}

.almax-global-footer__grid > div > a {
	display: block;
	width: fit-content;
	margin-top: 13px;
	color: rgba(255,255,255,.7);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.35;
}

.almax-global-footer__grid > div > a:hover {
	color: #fff;
}

.almax-global-footer__project p {
	max-width: 270px;
	margin: 15px 0 22px;
	color: rgba(255,255,255,.48);
	font-size: 13px;
	line-height: 1.55;
}

.almax-global-footer__project button {
	width: 100%;
	max-width: 210px;
	min-height: 46px;
	padding: 0 15px;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--almax-global-orange);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.almax-global-footer__bottom {
	min-height: 54px;
	padding-top: 18px;
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: start;
	gap: 30px;
	border-top: 1px solid rgba(255,255,255,.11);
	color: rgba(255,255,255,.3);
	font-size: 11px;
}

.almax-global-footer__bottom > div {
	display: flex;
	gap: 24px;
}

.almax-global-footer__bottom a {
	color: inherit;
	text-decoration: none;
}

/* DRAWER */
html.almax-drawer-lock,
html.almax-drawer-lock body {
	overflow: hidden !important;
}

.almax-global-drawer {
	position: fixed;
	inset: 0;
	z-index: 12000;
	visibility: hidden;
	pointer-events: none;
}

.almax-global-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.almax-global-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(23,20,18,.42);
	backdrop-filter: blur(0);
	opacity: 0;
	transition: opacity .36s ease, backdrop-filter .36s ease;
}

.almax-global-drawer.is-open .almax-global-drawer__backdrop {
	opacity: 1;
	backdrop-filter: blur(5px);
}

.almax-global-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(620px, 100%);
	height: 100%;
	background: #f5f2ed;
	color: var(--almax-global-text);
	box-shadow: -24px 0 70px rgba(25,20,17,.18);
	transform: translate3d(104%,0,0);
	transition: transform .52s cubic-bezier(.16,.84,.2,1);
	outline: none;
	overflow: hidden;
}

.almax-global-drawer.is-open .almax-global-drawer__panel {
	transform: translate3d(0,0,0);
}

.almax-global-drawer__accent {
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--almax-global-orange);
	z-index: 2;
}

.almax-global-drawer__close {
	position: absolute;
	right: 22px;
	top: 22px;
	z-index: 4;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #d9d2ca;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.almax-global-drawer__close svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: #2b2724;
	stroke-width: 1.6;
	stroke-linecap: round;
}

.almax-global-drawer__scroll {
	height: 100%;
	padding: 62px 54px 46px 58px;
	overflow-y: auto;
}

.almax-global-drawer__eyebrow {
	margin-bottom: 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	color: #8a837b;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.almax-global-drawer__head h2 {
	max-width: 470px;
	margin: 0;
	font-size: clamp(38px,4vw,58px);
	line-height: .96;
	font-weight: 400;
	letter-spacing: -.048em;
}

.almax-global-drawer__head p {
	max-width: 470px;
	margin: 22px 0 36px;
	color: #746d65;
	font-size: 14px;
	line-height: 1.6;
}

.almax-global-drawer-form {
	display: grid;
	gap: 19px;
}

.almax-global-drawer-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.almax-global-drawer-form label > span {
	display: block;
	margin-bottom: 8px;
	color: #7f776f;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .055em;
}

.almax-global-drawer-form input,
.almax-global-drawer-form select,
.almax-global-drawer-form textarea {
	width: 100%;
	border: 1px solid #d7d0c7;
	border-radius: 0;
	outline: 0;
	background: #fff;
	color: #24211e;
	font: inherit;
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.almax-global-drawer-form input,
.almax-global-drawer-form select {
	height: 52px;
	padding: 0 14px;
}

.almax-global-drawer-form textarea {
	min-height: 110px;
	padding: 13px 14px;
	resize: vertical;
}

.almax-global-drawer-form input:focus,
.almax-global-drawer-form select:focus,
.almax-global-drawer-form textarea:focus {
	border-color: #a69c92;
	box-shadow: 0 0 0 3px rgba(217,75,39,.08);
}

.almax-global-consent {
	display: grid !important;
	grid-template-columns: 20px 1fr;
	gap: 10px;
	align-items: start;
}

.almax-global-consent input {
	width: 18px !important;
	height: 18px !important;
	margin: 2px 0 0;
	accent-color: var(--almax-global-orange);
}

.almax-global-consent > span {
	margin: 0 !important;
	color: #746d65 !important;
	font-size: 11px !important;
	line-height: 1.45;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.almax-global-consent a {
	color: inherit;
	text-decoration: underline;
}

.almax-global-drawer-form__bottom {
	padding-top: 5px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.almax-global-drawer-form__bottom button {
	flex: 0 0 210px;
	min-height: 50px;
	padding: 0 16px;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--almax-global-orange);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.almax-global-drawer-form__bottom button:disabled {
	opacity: .6;
	cursor: wait;
}

.almax-global-drawer-form__bottom p {
	margin: 0;
	color: #9a928a;
	font-size: 11px;
	line-height: 1.4;
}

.almax-global-form-status {
	min-height: 20px;
	color: #9a3923;
	font-size: 12px;
	line-height: 1.45;
}

.almax-global-form-status.is-success {
	color: #387143;
}

.almax-global-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.almax-global-drawer-success {
	padding-top: 70px;
}

.almax-global-drawer-success__icon {
	width: 54px;
	height: 54px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e6f1e7;
	color: #387143;
	font-size: 24px;
}

.almax-global-drawer-success h3 {
	margin: 0;
	font-size: 38px;
	line-height: 1;
	font-weight: 400;
}

.almax-global-drawer-success p {
	margin: 17px 0 28px;
	color: #746d65;
	font-size: 14px;
}

.almax-global-drawer-success button {
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid #cfc7be;
	background: #fff;
	color: #24211e;
	cursor: pointer;
}

/* FLOAT ACTIONS */
.almax-global-float-actions {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 11000;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.almax-global-float-action {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #292522;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 6px 17px rgba(26,21,18,.15);
	cursor: pointer;
	transition: transform .18s ease, background .18s ease;
}

.almax-global-float-action--accent {
	background: var(--almax-global-orange);
}

.almax-global-float-action:hover {
	transform: translateX(-2px);
	background: var(--almax-global-orange);
}

.almax-global-float-action svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.almax-global-float-action::before {
	content: attr(data-label);
	position: absolute;
	right: calc(100% + 8px);
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 9px;
	border-radius: 6px;
	background: #292522;
	color: #fff;
	font-size: 11px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease;
}

.almax-global-float-action:hover::before {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 1180px) {
	.almax-global-shell {
		width: min(calc(100% - 48px), var(--almax-global-max));
	}

	.almax-global-header__nav a {
		font-size: 12px;
	}

	.almax-global-header__actions {
		gap: 12px;
	}

	.almax-global-header__phone {
		display: none;
	}
}

@media (max-width: 900px) {
	.almax-global-shell {
		width: calc(100% - 36px);
	}

	.almax-global-header__inner {
		height: 72px;
	}

	.almax-global-header__logo img {
		height: 38px;
	}

	.almax-global-header__nav,
	.almax-global-header__actions {
		display: none;
	}

	.almax-global-menu-toggle {
		margin-left: auto;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		gap: 7px;
		background: transparent;
		cursor: pointer;
	}

	.almax-global-menu-toggle span {
		display: block;
		height: 1px;
		background: #fff;
	}

	.almax-global-menu-toggle span:first-child { width: 27px; }
	.almax-global-menu-toggle span:last-child { width: 19px; }

	.almax-global-mobile-menu {
		position: absolute;
		left: 0;
		top: 72px;
		width: 100%;
		display: block;
		background: #24211e;
		border-top: 1px solid rgba(255,255,255,.1);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	}

	.almax-global-mobile-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.almax-global-mobile-menu__inner {
		padding: 12px 18px 20px;
	}

	.almax-global-mobile-menu a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,.1);
		color: #fff;
		text-decoration: none;
		font-size: 15px;
	}

	.almax-global-mobile-menu__bottom {
		padding-top: 18px;
		display: grid;
		gap: 12px;
	}

	.almax-global-mobile-menu__bottom a {
		padding: 0;
		border: 0;
		font-size: 18px;
	}

	.almax-global-mobile-menu__bottom button {
		width: 100%;
		justify-content: space-between;
	}

	.almax-global-footer {
		padding-top: 48px;
	}

	.almax-global-footer__lead {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.almax-global-footer__contact {
		align-items: flex-start;
	}

	.almax-global-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 25px;
	}

	.almax-global-footer__bottom {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.almax-global-footer__bottom > div {
		flex-direction: column;
		gap: 7px;
	}
}

@media (max-width: 620px) {
	.almax-global-drawer__scroll {
		padding: 64px 20px 36px 24px;
	}

	.almax-global-drawer__close {
		right: 14px;
		top: 14px;
	}

	.almax-global-drawer__eyebrow {
		margin-bottom: 32px;
		padding-right: 45px;
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.almax-global-drawer__head h2 {
		font-size: 38px;
	}

	.almax-global-drawer-form__row {
		grid-template-columns: 1fr;
	}

	.almax-global-drawer-form__bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.almax-global-drawer-form__bottom button {
		flex: none;
		width: 100%;
	}

	.almax-global-footer__grid {
		grid-template-columns: 1fr;
	}

	.almax-global-float-actions {
		right: 10px;
		bottom: 10px;
		gap: 5px;
	}

	.almax-global-float-action {
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}

	.almax-global-float-action::before {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.almax-global-drawer__backdrop,
	.almax-global-drawer__panel,
	.almax-global-mobile-menu,
	.almax-global-float-action {
		transition: none !important;
	}
}
