/* AES Consult — front-end styles (matches Patrick dark theme, accent #5ac24e) */
.aes-consult {
	margin: 0 auto;
	max-width: 1000px;
	color: #e6e6e6;
	font-size: 14px;
}

/* Tabs */
.aes-tabs {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 18px;
}
.aes-tab {
	padding: 9px 26px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 30px;
	background: transparent;
	color: #e6e6e6;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: all 0.25s ease;
}
.aes-tab:hover { border-color: #5ac24e; color: #5ac24e; }
.aes-tab.active { background: #5ac24e; border-color: #5ac24e; color: #ffffff; }

/* Stage layout */
.aes-stage {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}
.aes-map-wrap { flex: 0 0 42%; max-width: 420px; }
.aes-panel { flex: 1 1 auto; min-width: 0; }
.aes-mode-mini .aes-map-wrap { flex: 1 1 100%; max-width: 360px; margin: 0 auto; }

@media (max-width: 760px) {
	.aes-stage { flex-direction: column; }
	.aes-map-wrap { flex: 1 1 100%; max-width: 340px; margin: 0 auto; }
	.aes-panel { width: 100%; }
}

/* Map */
.aes-map {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #1f2021;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.aes-map img { display: block; width: 100%; height: auto; }
.aes-map-hint {
	margin-top: 8px;
	text-align: center;
	font-size: 12px;
	color: #9a9a9a;
}

/* Touch dots */
.aes-dot {
	position: absolute;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 3;
}
.aes-dot-pulse {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: #5ac24e;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 rgba(90, 194, 78, 0.5);
	animation: aes-pulse 1.8s infinite;
}
@keyframes aes-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(90, 194, 78, 0.55); }
	70%  { box-shadow: 0 0 0 12px rgba(90, 194, 78, 0); }
	100% { box-shadow: 0 0 0 0 rgba(90, 194, 78, 0); }
}
.aes-dot-label {
	position: absolute;
	left: 50%;
	bottom: 130%;
	transform: translateX(-50%);
	padding: 3px 9px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.85);
	color: #ffffff;
	font-size: 11px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	pointer-events: none;
}
.aes-dot:hover .aes-dot-label,
.aes-dot.active .aes-dot-label { opacity: 1; visibility: visible; }
.aes-dot.active .aes-dot-pulse { background: #ffffff; border-color: #5ac24e; }

/* Panel */
.aes-panel-inner {
	background: #1f2021;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 20px 22px;
	min-height: 220px;
}
.aes-placeholder { color: #9a9a9a; text-align: center; padding: 50px 10px; }
.aes-step-title {
	margin: 0 0 12px;
	font-size: 20px;
	color: #ffffff;
}
.aes-region-img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 14px;
}
.aes-muted { color: #9a9a9a; }
.aes-sub { margin: 18px 0 10px; color: #ffffff; font-size: 15px; }

.aes-back {
	margin-bottom: 12px;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	background: transparent;
	color: #bdbdbd;
	font-size: 12px;
	cursor: pointer;
}
.aes-back:hover { color: #5ac24e; border-color: #5ac24e; }

/* Condition cards */
.aes-cond-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin-top: 12px;
}
.aes-cond {
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	background: #26272a;
	color: #e6e6e6;
	cursor: pointer;
	text-align: center;
	transition: all 0.25s ease;
}
.aes-cond img {
	display: block;
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 8px;
}
.aes-cond span { font-size: 13px; font-weight: 600; }
.aes-cond:hover { border-color: #5ac24e; transform: translateY(-2px); }

/* Analysis content */
.aes-analysis { line-height: 1.65; color: #cfcfcf; }
.aes-analysis p { margin: 0 0 10px; }

/* Grades */
.aes-grade-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.aes-grade {
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	background: #26272a;
	color: #e6e6e6;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
}
.aes-grade.has-thumb {
	display: flex;
	align-items: center;
	gap: 12px;
}
.aes-grade-thumb {
	flex: 0 0 auto;
	display: block;
	width: 54px;
	height: 54px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background-color: #1f2021;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.aes-grade-text { display: block; min-width: 0; }
.aes-grade strong { display: block; font-size: 14px; }
.aes-grade span { display: block; margin-top: 2px; font-size: 12px; color: #9a9a9a; }
.aes-grade-text span { margin-top: 2px; }
.aes-grade:hover { border-color: #5ac24e; }
.aes-grade.active { border-color: #5ac24e; background: rgba(90, 194, 78, 0.08); }
.aes-grade.active strong { color: #5ac24e; }

/* Treatment box */
.aes-treat-box {
	margin-top: 16px;
	padding: 16px;
	border-radius: 10px;
	border: 1px solid rgba(90, 194, 78, 0.35);
	background: rgba(90, 194, 78, 0.05);
}
.aes-treat-box h4 { margin: 0 0 10px; color: #5ac24e; font-size: 15px; }
.aes-treat-box img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 10px;
}
.aes-treat-box p { margin: 0 0 12px; line-height: 1.65; color: #e0e0e0; }
.aes-cta {
	display: inline-block;
	padding: 11px 26px;
	border-radius: 30px;
	background: #5ac24e;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: all 0.25s ease;
}
.aes-cta:hover { background: #4caf42; transform: translateY(-1px); }

/* Disclaimer */
.aes-disclaimer {
	margin-top: 18px;
	text-align: center;
	font-size: 11.5px;
	color: #8a8a8a;
	font-style: italic;
}

/* Mini mode tweaks */
.aes-mode-mini .aes-disclaimer { font-size: 11px; }

/* ---------- Home hero actions ---------- */
.aes-home-actions {
	margin-top: 26px;
	text-align: center;
	position: relative;
	z-index: 5;
}
.aes-hero-btns {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.aes-hero-btn {
	display: inline-block;
	padding: 12px 34px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: all 0.25s ease;
	cursor: pointer;
	touch-action: manipulation; /* Prevents double-tap delay on mobile */
	-webkit-tap-highlight-color: transparent;
}
.aes-hero-btn-solid {
	background: #5ac24e;
	color: #ffffff !important;
	border: 2px solid #5ac24e;
}
.aes-hero-btn-solid:hover { background: #4caf42; border-color: #4caf42; transform: translateY(-2px); }
.aes-hero-btn-outline {
	background: rgba(0, 0, 0, 0.25);
	color: #ffffff !important;
	border: 2px solid rgba(255, 255, 255, 0.55);
}
.aes-hero-btn-outline:hover { border-color: #5ac24e; color: #5ac24e !important; }

.aes-ask {
	margin: 0 auto;
	max-width: 520px;
}
.aes-ask-row {
	display: flex;
	gap: 8px;
}
.aes-ask-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 18px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.45);
	color: #ffffff;
	font-size: 13px;
	outline: none;
}
.aes-ask-input::placeholder { color: #b5b5b5; }
.aes-ask-input:focus { border-color: #5ac24e; }
.aes-ask-btn {
	flex: 0 0 auto;
	padding: 12px 22px;
	border: none;
	border-radius: 30px;
	background: #5ac24e;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: center;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.aes-ask-btn:hover { background: #4caf42; }
.aes-ask-result { margin-top: 12px; }
.aes-ask-lead { margin: 0 0 8px; font-size: 13px; color: #e6e6e6; }
.aes-ask-lead a { color: #5ac24e; }
.aes-ask-chips {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
.aes-ask-chip {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 20px;
	border: 1px solid #5ac24e;
	background: rgba(90, 194, 78, 0.12);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}
.aes-ask-chip:hover { background: #5ac24e; }

@media (max-width: 560px) {
	.aes-hero-btn { padding: 11px 20px; font-size: 12px; }
	.aes-ask-row { flex-direction: row; gap: 6px; }
	.aes-ask-input { font-size: 12px; padding: 11px 14px; }
	.aes-ask-btn {
		width: auto;
		flex: 0 0 auto;
		padding: 11px 16px;
		font-size: 12px;
	}
}
