/* ===== Review widget (footer bar) ===== */
.aire-ti-widget {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 720px;
	margin: 0 auto;
	padding: 16px 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.aire-ti-widget *,
.aire-ti-overlay *,
.aire-ti-overlay *::before,
.aire-ti-overlay *::after {
	box-sizing: border-box;
}

.aire-ti-widget__logo {
	height: 24px;
	width: auto;
	display: block;
}

.aire-ti-widget__divider {
	width: 1px;
	height: 40px;
	background: #e5e7eb;
	flex-shrink: 0;
}

.aire-ti-widget__rating {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.aire-ti-widget__score {
	font-size: 15px;
	font-weight: 700;
	color: #191919;
	line-height: 1.3;
}

.aire-ti-widget__count {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.3;
}

.aire-ti-widget__trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #00b67a;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: opacity 0.15s;
}

.aire-ti-widget__trigger:hover {
	opacity: 0.8;
}

.aire-ti-widget__trigger svg {
	flex-shrink: 0;
}

/* ===== Modal overlay ===== */
.aire-ti-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.aire-ti-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.aire-ti-modal {
	position: relative;
	width: 100%;
	max-width: 1100px;
	margin: 20px auto 40px;
	background: #fcfbf8;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: translateY(20px);
	transition: transform 0.25s ease;
}

.aire-ti-overlay.is-open .aire-ti-modal {
	transform: translateY(0);
}

.aire-ti-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.15s;
}

.aire-ti-modal__close:hover {
	background: #fff;
}

.aire-ti-modal__scroll {
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}

/* ===== Popup header ===== */
.aire-ti-header {
	background: #191919;
	padding: 14px 24px;
}

.aire-ti-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1040px;
	margin: 0 auto;
}

.aire-ti-header__logo svg {
	height: 22px;
	width: auto;
}

.aire-ti-header__search {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 20px;
	padding: 8px 16px;
	max-width: 420px;
}

.aire-ti-header__search input {
	border: none;
	outline: none;
	width: 100%;
	font-size: 13px;
	color: #666;
	background: transparent;
}

.aire-ti-header__nav {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
	font-size: 13px;
	color: #fff;
	white-space: nowrap;
}

.aire-ti-header__cta {
	background: #4285f4;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 500;
}

/* ===== Hero ===== */
.aire-ti-hero {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 28px 24px;
}

.aire-ti-hero__inner {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: 1040px;
	margin: 0 auto;
	flex-wrap: wrap;
}

.aire-ti-hero__logo {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.aire-ti-hero__logo-text {
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	line-height: 1.2;
	letter-spacing: 0.5px;
}

.aire-ti-hero__info {
	flex: 1;
	min-width: 200px;
}

.aire-ti-hero__info h1 {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 700;
	color: #191919;
	letter-spacing: -0.5px;
}

.aire-ti-hero__meta {
	margin: 0 0 10px;
	font-size: 14px;
	color: #666;
}

.aire-ti-hero__stars {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}

.aire-ti-star-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #00b67a;
	color: #fff;
	font-size: 16px;
	border-radius: 2px;
}

.aire-ti-hero__stars strong {
	font-size: 22px;
	font-weight: 700;
	color: #191919;
	margin-left: 4px;
}

.aire-ti-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #00b67a;
	background: #e8f5f0;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: 0.3px;
}

.aire-ti-hero__website {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border: 1px solid #1a73e8;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
	min-width: 200px;
	transition: background 0.15s;
}

.aire-ti-hero__website:hover {
	background: #f0f7ff;
}

.aire-ti-hero__website strong {
	display: block;
	font-size: 14px;
	color: #1a73e8;
}

.aire-ti-hero__website span {
	font-size: 12px;
	color: #666;
}

.aire-ti-hero__website > svg:last-child {
	margin-left: auto;
}

/* ===== Body layout ===== */
.aire-ti-body {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 20px;
	max-width: 1040px;
	margin: 0 auto;
	padding: 24px;
}

.aire-ti-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 16px;
}

.aire-ti-card:last-child {
	margin-bottom: 0;
}

/* Write review */
.aire-ti-write-review {
	display: flex;
	align-items: center;
	gap: 14px;
}

.aire-ti-write-review__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e8e8e8;
	flex-shrink: 0;
}

.aire-ti-write-review strong {
	flex: 1;
	font-size: 15px;
	color: #191919;
}

.aire-ti-write-review__stars {
	display: flex;
	gap: 4px;
	color: #ccc;
	font-size: 20px;
}

/* Summary */
.aire-ti-summary__head h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	color: #191919;
}

.aire-ti-summary__rating {
	color: #191919;
	font-weight: 700;
}

.aire-ti-summary__rating span:first-child,
.aire-ti-summary__rating {
	color: #ffce00;
}

.aire-ti-summary__head p {
	margin: 0 0 16px;
	font-size: 13px;
	color: #666;
}

.aire-ti-bar-row {
	display: grid;
	grid-template-columns: 18px 60px 1fr 40px;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
	color: #333;
}

.aire-ti-bar-row__track {
	height: 8px;
	background: #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
}

.aire-ti-bar-row__fill {
	height: 100%;
	background: #191919;
	border-radius: 4px;
	transition: width 0.3s ease;
}

.aire-ti-bar-row__pct {
	text-align: right;
	color: #666;
	font-size: 12px;
}

.aire-ti-summary__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
	flex-wrap: wrap;
	gap: 10px;
}

.aire-ti-btn-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	color: #333;
	cursor: default;
}

.aire-ti-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #666;
}

.aire-ti-sort select {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
	background: #fff;
}

/* Individual review */
.aire-ti-review__header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
}

.aire-ti-review__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #c8e6d9;
	color: #00b67a;
	font-weight: 700;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.aire-ti-review__header strong {
	display: block;
	font-size: 14px;
	color: #191919;
}

.aire-ti-review__header p {
	margin: 2px 0 0;
	font-size: 12px;
	color: #888;
}

.aire-ti-review__date {
	margin-left: auto;
	font-size: 12px;
	color: #888;
	white-space: nowrap;
}

.aire-ti-review__stars {
	display: flex;
	gap: 2px;
	color: #00b67a;
	font-size: 16px;
	margin-bottom: 10px;
}

.aire-ti-review h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #191919;
}

.aire-ti-review > p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.aire-ti-review__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 13px;
	color: #666;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.aire-ti-review__flag {
	margin-left: auto;
	opacity: 0.5;
}

/* Sidebar */
.aire-ti-about h2 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #191919;
}

.aire-ti-about__sub {
	margin: 0 0 16px;
	font-size: 12px;
	color: #888;
}

.aire-ti-about__contact {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 13px;
	color: #333;
	line-height: 1.5;
}

.aire-ti-about__contact a {
	color: #1a73e8;
	text-decoration: none;
}

.aire-ti-about__contact a:hover {
	text-decoration: underline;
}

.aire-ti-transparency {
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(135deg, #1a3a2a 0%, #0d2818 100%);
	min-height: 140px;
	position: relative;
}

.aire-ti-transparency__content {
	padding: 20px;
	color: #fff;
}

.aire-ti-transparency__content > span {
	font-size: 13px;
	opacity: 0.9;
}

.aire-ti-transparency__year {
	display: flex;
	gap: 4px;
	margin-top: 12px;
}

.aire-ti-transparency__year span {
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
}

.aire-ti-transparency__year span:first-child {
	color: #00b67a;
}

.aire-ti-transparency__year span:last-child {
	color: #ff6b35;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.aire-ti-widget {
		flex-wrap: wrap;
		gap: 12px;
		padding: 14px 16px;
	}

	.aire-ti-widget__divider {
		display: none;
	}

	.aire-ti-widget__trigger {
		width: 100%;
		justify-content: flex-end;
	}

	.aire-ti-header__search,
	.aire-ti-header__nav {
		display: none;
	}

	.aire-ti-body {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.aire-ti-hero__website {
		width: 100%;
	}

	.aire-ti-body__sidebar {
		order: -1;
	}

	.aire-ti-modal__scroll {
		max-height: calc(100vh - 40px);
	}

	.aire-ti-overlay {
		padding: 10px;
	}
}

body.aire-ti-no-scroll {
	overflow: hidden;
}
