@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
	/* Color Palette */
	--am-bg-primary: #f4f7f9;
	--am-bg-card: #ffffff;
	--am-accent-indigo: #2a5d9f;
	--am-accent-mint: #00c9a7;
	--am-text-primary: #2d3436;
	--am-text-secondary: #636e72;
	--am-divider: #dfe6e9;
	--am-shadow-soft: rgba(42, 93, 159, 0.08);
	--am-shadow-accent: rgba(42, 93, 159, 0.15);
	--am-glass-bg: rgba(255, 255, 255, 0.75);
	--am-glass-border: rgba(255, 255, 255, 0.5);

	/* Typography */
	--am-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--am-font-heading: 'Montserrat', sans-serif;

	/* Spacing Scale */
	--am-space-xs: 0.25rem;
	--am-space-sm: 0.5rem;
	--am-space-md: 1rem;
	--am-space-lg: 1.5rem;
	--am-space-xl: 2rem;
	--am-space-2xl: 3rem;
	--am-space-3xl: 4rem;
	--am-space-4xl: 6rem;

	/* Border Radius */
	--am-radius-sm: 4px;
	--am-radius-md: 8px;
	--am-radius-lg: 12px;
	--am-radius-xl: 16px;
	--am-radius-2xl: 24px;

	/* Transitions */
	--am-transition-fast: 0.2s ease;
	--am-transition-base: 0.4s ease;
	--am-transition-slow: 0.6s ease;

	/* Container */
	--am-container-max: 1280px;
	--am-container-narrow: 960px;
}

.am-hidden {
	display: none !important;
}
.am-visible {
	display: block !important;
}

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--am-font-body);
	font-weight: 400;
	line-height: 1.7;
	color: var(--am-text-primary);
	background-color: var(--am-bg-primary);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color var(--am-transition-fast);
}

ul,
ol {
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

input,
textarea {
	font-family: inherit;
	font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.am-heading-1 {
	font-family: var(--am-font-heading);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: var(--am-text-primary);
}

.am-heading-2 {
	font-family: var(--am-font-heading);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.015em;
	color: var(--am-text-primary);
}

.am-heading-3 {
	font-family: var(--am-font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--am-text-primary);
}

.am-heading-4 {
	font-family: var(--am-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--am-text-primary);
}

.am-text-body {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--am-text-secondary);
}

.am-text-small {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--am-text-secondary);
}

.am-text-caption {
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--am-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
}

.am-text-accent {
	color: var(--am-accent-indigo);
}

.am-text-mint {
	color: var(--am-accent-mint);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.am-container {
	width: 100%;
	max-width: var(--am-container-max);
	margin: 0 auto;
	padding: 0 20px;
}

.am-container--narrow {
	max-width: var(--am-container-narrow);
}

.am-section {
	padding: var(--am-space-4xl) 0;
}

.am-section--compact {
	padding: var(--am-space-3xl) 0;
}

.am-grid {
	display: grid;
	gap: var(--am-space-xl);
}

.am-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.am-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.am-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.am-flex {
	display: flex;
}

.am-flex--center {
	align-items: center;
	justify-content: center;
}

.am-flex--between {
	align-items: center;
	justify-content: space-between;
}

.am-flex--column {
	flex-direction: column;
}

.am-gap-sm {
	gap: var(--am-space-sm);
}
.am-gap-md {
	gap: var(--am-space-md);
}
.am-gap-lg {
	gap: var(--am-space-lg);
}
.am-gap-xl {
	gap: var(--am-space-xl);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.am-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--am-glass-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--am-divider);
}

.am-header__top {
	background: var(--am-text-primary);
	color: var(--am-bg-card);
	padding: var(--am-space-sm) 0;
	font-size: 0.8125rem;
}

.am-header__top-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--am-space-xl);
}

.am-header__top-item {
	display: flex;
	align-items: center;
	gap: var(--am-space-sm);
	opacity: 0.9;
}

.am-header__top-item i {
	color: var(--am-accent-mint);
	font-size: 0.75rem;
}

.am-header__main {
	padding: var(--am-space-md) 0;
}

.am-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.am-logo {
	display: flex;
	align-items: center;
	gap: var(--am-space-sm);
	font-family: var(--am-font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--am-text-primary);
}

.am-logo__icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(
		135deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	border-radius: var(--am-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.25rem;
}

.am-logo__text span {
	color: var(--am-accent-indigo);
}

.am-nav {
	display: flex;
	align-items: center;
	gap: var(--am-space-xl);
}

.am-nav__link {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--am-text-secondary);
	position: relative;
	padding: var(--am-space-sm) 0;
	transition: color var(--am-transition-fast);
}

.am-nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--am-accent-indigo);
	transition: width var(--am-transition-base);
}

.am-nav__link:hover,
.am-nav__link--active {
	color: var(--am-accent-indigo);
}

.am-nav__link:hover::after,
.am-nav__link--active::after {
	width: 100%;
}

.am-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: var(--am-space-sm);
	cursor: pointer;
}

.am-hamburger__line {
	width: 24px;
	height: 2px;
	background: var(--am-text-primary);
	transition: var(--am-transition-base);
	transform-origin: center;
}

.am-hamburger.am-active .am-hamburger__line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.am-hamburger.am-active .am-hamburger__line:nth-child(2) {
	opacity: 0;
}

.am-hamburger.am-active .am-hamburger__line:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Curtain */
.am-mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--am-bg-card);
	z-index: 999;
	transform: translateY(-100%);
	transition: transform var(--am-transition-base);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--am-space-xl);
}

.am-mobile-nav.am-active {
	transform: translateY(0);
}

.am-mobile-nav__link {
	font-family: var(--am-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--am-text-primary);
	transition: color var(--am-transition-fast);
}

.am-mobile-nav__link:hover {
	color: var(--am-accent-indigo);
}

/* ============================================
   HERO SECTION
   ============================================ */
.am-hero {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 100px;
	position: relative;
	overflow: hidden;
}

.am-hero__left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--am-space-4xl);
	position: relative;
}

.am-hero__index {
	font-family: var(--am-font-heading);
	font-size: clamp(6rem, 15vw, 12rem);
	font-weight: 800;
	color: var(--am-divider);
	line-height: 1;
	position: absolute;
	top: 50%;
	left: var(--am-space-xl);
	transform: translateY(-50%);
	z-index: 0;
	opacity: 0.5;
}

.am-hero__content {
	position: relative;
	z-index: 1;
}

.am-hero__label {
	display: inline-flex;
	align-items: center;
	gap: var(--am-space-sm);
	padding: var(--am-space-sm) var(--am-space-md);
	background: rgba(42, 93, 159, 0.1);
	border-radius: var(--am-radius-2xl);
	color: var(--am-accent-indigo);
	font-size: 0.8125rem;
	font-weight: 500;
	margin-bottom: var(--am-space-lg);
}

.am-hero__title {
	margin-bottom: var(--am-space-lg);
}

.am-hero__subtitle {
	font-size: 1.125rem;
	color: var(--am-text-secondary);
	max-width: 500px;
	margin-bottom: var(--am-space-xl);
}

.am-hero__right {
	background: linear-gradient(
			135deg,
			rgba(42, 93, 159, 0.5),
			rgba(0, 201, 167, 0.5)
		),
		url('assets/am-hero.webp') center/cover;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--am-space-3xl);
	position: relative;
}

.am-hero__card {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-xl);
	padding: var(--am-space-2xl);
	box-shadow: 0 20px 60px var(--am-shadow-soft);
	max-width: 480px;
	position: relative;
}

.am-hero__card::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(
		135deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	border-radius: inherit;
	z-index: -1;
	opacity: 0.2;
}

.am-hero__card-title {
	display: flex;
	align-items: center;
	gap: var(--am-space-md);
	margin-bottom: var(--am-space-lg);
}

.am-hero__card-icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(
		135deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	border-radius: var(--am-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.25rem;
}

.am-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--am-space-md);
	margin-top: var(--am-space-xl);
	padding-top: var(--am-space-xl);
	border-top: 1px solid var(--am-divider);
}

.am-hero__stat {
	text-align: center;
}

.am-hero__stat-value {
	font-family: var(--am-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--am-accent-indigo);
}

.am-hero__stat-label {
	font-size: 0.75rem;
	color: var(--am-text-secondary);
	margin-top: var(--am-space-xs);
}

/* Decorative Elements */
.am-hero__decoration {
	position: absolute;
	width: 300px;
	height: 300px;
	border: 1px dashed var(--am-divider);
	border-radius: 50%;
	opacity: 0.5;
}

.am-hero__decoration--1 {
	top: 10%;
	right: 5%;
}

.am-hero__decoration--2 {
	bottom: 15%;
	right: 15%;
	width: 200px;
	height: 200px;
}

/* ============================================
   BUTTONS
   ============================================ */
.am-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--am-space-sm);
	padding: var(--am-space-md) var(--am-space-xl);
	font-family: var(--am-font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--am-radius-md);
	transition: all var(--am-transition-base);
	cursor: pointer;
	border: none;
}

.am-btn--primary {
	background: var(--am-accent-indigo);
	color: white;
	box-shadow: 0 4px 20px rgba(42, 93, 159, 0.3);
}

.am-btn--primary:hover {
	background: #1e4a80;
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(42, 93, 159, 0.4);
}

.am-btn--secondary {
	background: transparent;
	color: var(--am-accent-indigo);
	border: 2px solid var(--am-accent-indigo);
}

.am-btn--secondary:hover {
	background: var(--am-accent-indigo);
	color: white;
}

.am-btn--ghost {
	background: transparent;
	color: var(--am-text-secondary);
}

.am-btn--ghost:hover {
	color: var(--am-accent-indigo);
	background: rgba(42, 93, 159, 0.05);
}

.am-btn--large {
	padding: var(--am-space-lg) var(--am-space-2xl);
	font-size: 1rem;
}

.am-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

/* ============================================
   CARDS
   ============================================ */
.am-card {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	padding: var(--am-space-xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	transition: all var(--am-transition-base);
	position: relative;
	overflow: hidden;
}

.am-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px var(--am-shadow-accent);
}

.am-card--glass {
	background: var(--am-glass-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--am-glass-border);
}

.am-card__icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.1),
		rgba(0, 201, 167, 0.1)
	);
	border-radius: var(--am-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--am-space-lg);
	color: var(--am-accent-indigo);
	font-size: 1.5rem;
	transition: all var(--am-transition-base);
}

.am-card:hover .am-card__icon {
	background: linear-gradient(
		135deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	color: white;
}

.am-card__title {
	margin-bottom: var(--am-space-md);
}

.am-card__text {
	color: var(--am-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.am-card__tag {
	position: absolute;
	top: var(--am-space-lg);
	right: var(--am-space-lg);
	padding: var(--am-space-xs) var(--am-space-sm);
	background: var(--am-accent-mint);
	color: white;
	font-size: 0.6875rem;
	font-weight: 600;
	border-radius: var(--am-radius-sm);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Level Cards Grid */
.am-level-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: var(--am-space-lg);
}

.am-level-card {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	padding: var(--am-space-xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	transition: all var(--am-transition-base);
	position: relative;
	overflow: hidden;
}

.am-level-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--am-accent-indigo);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform var(--am-transition-base);
}

.am-level-card:hover::before {
	transform: scaleY(1);
}

.am-level-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px var(--am-shadow-accent);
}

.am-level-card--1 {
	grid-column: span 5;
}
.am-level-card--2 {
	grid-column: span 7;
}
.am-level-card--3 {
	grid-column: span 4;
}
.am-level-card--4 {
	grid-column: span 4;
}
.am-level-card--5 {
	grid-column: span 4;
}

.am-level-card__level {
	font-family: var(--am-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--am-accent-mint);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--am-space-sm);
}

.am-level-card__title {
	font-family: var(--am-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: var(--am-space-md);
	color: var(--am-text-primary);
}

.am-level-card__text {
	font-size: 0.9375rem;
	color: var(--am-text-secondary);
	line-height: 1.7;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.am-section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto var(--am-space-3xl);
}

.am-section-header__label {
	display: inline-flex;
	align-items: center;
	gap: var(--am-space-sm);
	color: var(--am-accent-indigo);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: var(--am-space-md);
}

.am-section-header__label::before,
.am-section-header__label::after {
	content: '';
	width: 30px;
	height: 1px;
	background: var(--am-accent-indigo);
}

.am-section-header__title {
	margin-bottom: var(--am-space-lg);
}

.am-section-header__text {
	color: var(--am-text-secondary);
	font-size: 1.0625rem;
	line-height: 1.8;
}

/* Left aligned variant */
.am-section-header--left {
	text-align: left;
	margin: 0 0 var(--am-space-2xl);
}

.am-section-header--left .am-section-header__label::before {
	display: none;
}

/* ============================================
   TIMELINE
   ============================================ */
.am-timeline {
	position: relative;
	padding-left: var(--am-space-3xl);
}

.am-timeline::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(
		to bottom,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
}

.am-timeline__item {
	position: relative;
	padding-bottom: var(--am-space-2xl);
}

.am-timeline__item:last-child {
	padding-bottom: 0;
}

.am-timeline__dot {
	position: absolute;
	left: calc(-1 * var(--am-space-3xl) + 8px);
	top: 0;
	width: 16px;
	height: 16px;
	background: var(--am-bg-card);
	border: 3px solid var(--am-accent-indigo);
	border-radius: 50%;
	transition: all var(--am-transition-base);
	cursor: pointer;
}

.am-timeline__dot:hover {
	background: var(--am-accent-indigo);
	transform: scale(1.3);
}

.am-timeline__content {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	padding: var(--am-space-xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	transition: all var(--am-transition-base);
}

.am-timeline__item:hover .am-timeline__content {
	box-shadow: 0 8px 30px var(--am-shadow-accent);
}

.am-timeline__step {
	font-family: var(--am-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--am-accent-mint);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--am-space-sm);
}

.am-timeline__title {
	font-family: var(--am-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: var(--am-space-md);
	color: var(--am-text-primary);
}

.am-timeline__text {
	color: var(--am-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* Timeline Tooltip */
.am-timeline__tooltip {
	position: absolute;
	left: 50px;
	top: -10px;
	background: var(--am-text-primary);
	color: white;
	padding: var(--am-space-md);
	border-radius: var(--am-radius-md);
	font-size: 0.8125rem;
	max-width: 250px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-10px);
	transition: all var(--am-transition-base);
	z-index: 10;
}

.am-timeline__tooltip::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 15px;
	border: 6px solid transparent;
	border-right-color: var(--am-text-primary);
}

.am-timeline__dot:hover + .am-timeline__tooltip,
.am-timeline__dot:focus + .am-timeline__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* ============================================
   TWO COLUMN SECTION
   ============================================ */
.am-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--am-space-3xl);
}

.am-split--reverse {
	direction: rtl;
}

.am-split--reverse > * {
	direction: ltr;
}

.am-split__chart {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-xl);
	padding: var(--am-space-xl);
	box-shadow: 0 8px 40px var(--am-shadow-soft);
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.am-split__content {
	padding: var(--am-space-xl) 0;
}

/* ============================================
   EXPERT CARDS
   ============================================ */
.am-experts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--am-space-xl);
}

.am-expert-card {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-xl);
	padding: var(--am-space-2xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	text-align: center;
	transition: all var(--am-transition-base);
	position: relative;
}

.am-expert-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	border-radius: 0 0 var(--am-radius-sm) var(--am-radius-sm);
}

.am-expert-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 50px var(--am-shadow-accent);
}

.am-expert-card__avatar {
	width: 100px;
	height: 100px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.1),
		rgba(0, 201, 167, 0.1)
	);
	border-radius: 50%;
	margin: 0 auto var(--am-space-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	color: var(--am-accent-indigo);
}

.am-expert-card__avatar img {
	width: 100%;
	border-radius: 50%;
	height: 100%;
	object-fit: cover;
}

.am-expert-card__name {
	font-family: var(--am-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: var(--am-space-xs);
	color: var(--am-text-primary);
}

.am-expert-card__location {
	font-size: 0.8125rem;
	color: var(--am-accent-indigo);
	margin-bottom: var(--am-space-lg);
}

.am-expert-card__quote {
	font-style: italic;
	color: var(--am-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
	position: relative;
	padding: 0 var(--am-space-md);
}

.am-expert-card__quote::before {
	content: '"';
	font-family: Georgia, serif;
	font-size: 3rem;
	color: var(--am-divider);
	position: absolute;
	top: -20px;
	left: -10px;
	line-height: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.am-contact-section {
	background: var(--am-bg-card);
}

.am-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--am-space-2xl);
}

.am-contact-grid__map {
	border-radius: var(--am-radius-xl);
	overflow: hidden;
	box-shadow: 0 8px 40px var(--am-shadow-soft);
	min-height: 300px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.05),
		rgba(0, 201, 167, 0.05)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--am-text-secondary);
}

.am-contact-grid__bottom {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: var(--am-space-2xl);
}

.am-contact-info {
	display: flex !important;
	flex-direction: column;
	gap: var(--am-space-lg);
}

.am-contact-info__item {
	display: flex;
	align-items: flex-start;
	gap: var(--am-space-md);
}

.am-contact-info__icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.1),
		rgba(0, 201, 167, 0.1)
	);
	border-radius: var(--am-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--am-accent-indigo);
	flex-shrink: 0;
}

.am-contact-info__label {
	font-size: 0.75rem;
	color: var(--am-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--am-space-xs);
}

.am-contact-info__value {
	font-weight: 500;
	color: var(--am-text-primary);
}

/* ============================================
   FORMS
   ============================================ */
.am-form {
	display: flex !important;
	flex-direction: column;
	gap: var(--am-space-lg);
}

.am-form__group {
	display: flex;
	flex-direction: column;
	gap: var(--am-space-sm);
}

.am-form__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--am-space-lg);
}

.am-form__label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--am-text-primary);
}

.am-form__input,
.am-form__textarea {
	width: 100%;
	padding: var(--am-space-md) var(--am-space-lg);
	border: 2px solid var(--am-divider);
	border-radius: var(--am-radius-md);
	font-size: 1rem;
	color: var(--am-text-primary);
	background: var(--am-bg-primary);
	transition: all var(--am-transition-fast);
}

.am-form__input:focus,
.am-form__textarea:focus {
	outline: none;
	border-color: var(--am-accent-indigo);
	box-shadow: 0 0 0 4px rgba(42, 93, 159, 0.1);
}

.am-form__input::placeholder,
.am-form__textarea::placeholder {
	color: var(--am-text-secondary);
	opacity: 0.6;
}

.am-form__input.am-error,
.am-form__textarea.am-error {
	border-color: #e74c3c;
}

.am-form__error {
	font-size: 0.75rem;
	color: #e74c3c;
	display: none;
}

.am-form__error.am-visible {
	display: block;
}

.am-form__textarea {
	min-height: 150px;
	resize: vertical;
}

.am-form__submit {
	align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.am-footer {
	background: var(--am-bg-card);
	border-top: 1px solid var(--am-divider);
	padding: var(--am-space-4xl) 0 var(--am-space-xl);
}

.am-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: var(--am-space-3xl);
	margin-bottom: var(--am-space-3xl);
}

.am-footer__brand {
	max-width: 300px;
}

.am-footer__brand .am-logo {
	margin-bottom: var(--am-space-lg);
}

.am-footer__brand-text {
	color: var(--am-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.am-footer__title {
	font-family: var(--am-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--am-text-primary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--am-space-lg);
}

.am-footer__links {
	display: flex;
	flex-direction: column;
	gap: var(--am-space-sm);
}

.am-footer__link {
	color: var(--am-text-secondary);
	font-size: 0.9375rem;
	transition: color var(--am-transition-fast);
	display: flex;
	align-items: center;
	gap: var(--am-space-sm);
}

.am-footer__link:hover {
	color: var(--am-accent-indigo);
}

.am-footer__link i {
	font-size: 0.875rem;
	color: var(--am-accent-mint);
}

.am-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--am-space-xl);
	border-top: 1px solid var(--am-divider);
}

.am-footer__copyright {
	font-size: 0.875rem;
	color: var(--am-text-secondary);
}

.am-footer__legal {
	display: flex;
	gap: var(--am-space-lg);
}

.am-footer__legal a {
	font-size: 0.875rem;
	color: var(--am-text-secondary);
	transition: color var(--am-transition-fast);
}

.am-footer__legal a:hover {
	color: var(--am-accent-indigo);
}

/* ============================================
   COOKIE POPUP
   ============================================ */
.am-cookie {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--am-bg-card);
	box-shadow: 0 -4px 30px var(--am-shadow-soft);
	padding: var(--am-space-lg);
	z-index: 9999;
	transform: translateY(100%);
	transition: transform var(--am-transition-base);
}

.am-cookie.am-visible {
	transform: translateY(0);
}

.am-cookie__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--am-space-xl);
	max-width: var(--am-container-max);
	margin: 0 auto;
}

.am-cookie__text {
	font-size: 0.9375rem;
	color: var(--am-text-secondary);
}

.am-cookie__text a {
	color: var(--am-accent-indigo);
	text-decoration: underline;
}

.am-cookie__actions {
	display: flex;
	gap: var(--am-space-md);
	flex-shrink: 0;
}

/* ============================================
   PAGE HERO (Secondary Pages)
   ============================================ */
.am-page-hero {
	padding: calc(100px + var(--am-space-4xl)) 0 var(--am-space-4xl);
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.03),
		rgba(0, 201, 167, 0.03)
	);
	position: relative;
	overflow: hidden;
}

.am-page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 500px;
	height: 500px;
	background: radial-gradient(
		circle,
		rgba(42, 93, 159, 0.05) 0%,
		transparent 70%
	);
	transform: translate(30%, -30%);
}

.am-page-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: var(--am-space-sm);
	font-size: 0.875rem;
	color: var(--am-text-secondary);
	margin-bottom: var(--am-space-lg);
}

.am-page-hero__breadcrumb a {
	color: var(--am-accent-indigo);
}

.am-page-hero__title {
	max-width: 700px;
	margin-bottom: var(--am-space-lg);
}

.am-page-hero__text {
	max-width: 600px;
	color: var(--am-text-secondary);
	font-size: 1.125rem;
	line-height: 1.8;
}

/* ============================================
   INFOGRAPHIC BLOCKS
   ============================================ */
.am-infographic {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--am-space-lg);
}

.am-infographic__block {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	padding: var(--am-space-xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	text-align: center;
	transition: all var(--am-transition-base);
	position: relative;
}

.am-infographic__block::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--am-accent-indigo),
		var(--am-accent-mint)
	);
	transition: width var(--am-transition-base);
}

.am-infographic__block:hover::after {
	width: 60%;
}

.am-infographic__block:hover {
	transform: translateY(-4px);
}

.am-infographic__icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.1),
		rgba(0, 201, 167, 0.1)
	);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--am-space-lg);
	color: var(--am-accent-indigo);
	font-size: 1.5rem;
}

.am-infographic__title {
	font-family: var(--am-font-heading);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: var(--am-space-sm);
	color: var(--am-text-primary);
}

.am-infographic__text {
	font-size: 0.875rem;
	color: var(--am-text-secondary);
	line-height: 1.6;
}

/* ============================================
   DATA TABLE
   ============================================ */
.am-table-wrapper {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-xl);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	overflow-x: auto;
}

.am-table {
	width: 100%;
	border-collapse: collapse;
}

.am-table th,
.am-table td {
	padding: var(--am-space-lg);
	text-align: left;
	border-bottom: 1px solid var(--am-divider);
}

.am-table th {
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.05),
		rgba(0, 201, 167, 0.03)
	);
	font-family: var(--am-font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--am-text-primary);
}

.am-table td {
	font-size: 0.9375rem;
	color: var(--am-text-secondary);
}

.am-table tr:last-child td {
	border-bottom: none;
}

.am-table tr:hover td {
	background: rgba(42, 93, 159, 0.02);
}

.am-table__code {
	font-family: 'Fira Code', monospace;
	font-size: 0.8125rem;
	background: var(--am-bg-primary);
	padding: var(--am-space-xs) var(--am-space-sm);
	border-radius: var(--am-radius-sm);
	color: var(--am-accent-indigo);
}

.am-table__status {
	display: inline-flex;
	align-items: center;
	gap: var(--am-space-xs);
	padding: var(--am-space-xs) var(--am-space-sm);
	border-radius: var(--am-radius-2xl);
	font-size: 0.75rem;
	font-weight: 500;
}

.am-table__status--critical {
	background: rgba(231, 76, 60, 0.1);
	color: #e74c3c;
}

.am-table__status--warning {
	background: rgba(241, 196, 15, 0.1);
	color: #f1c40f;
}

.am-table__status--info {
	background: rgba(42, 93, 159, 0.1);
	color: var(--am-accent-indigo);
}

/* ============================================
   ACCORDION
   ============================================ */
.am-accordion {
	display: flex !important;
	flex-direction: column;
	gap: var(--am-space-md);
}

.am-accordion__item {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	overflow: hidden;
}

.am-accordion__header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--am-space-lg) var(--am-space-xl);
	background: transparent;
	border: none;
	gap: 10px;
	cursor: pointer;
	text-align: left;
	transition: all var(--am-transition-fast);
}

.am-accordion__header:hover {
	background: rgba(42, 93, 159, 0.02);
}

.am-accordion__title {
	font-family: var(--am-font-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--am-text-primary);
	display: flex;
	align-items: center;
	gap: var(--am-space-md);
}

.am-accordion__title i {
	color: var(--am-accent-indigo);
}

.am-accordion__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--am-bg-primary);
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	color: var(--am-accent-indigo);
	transition: transform var(--am-transition-base);
}

.am-accordion__item.am-active .am-accordion__icon {
	transform: rotate(180deg);
}

.am-accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--am-transition-base);
}

.am-accordion__body {
	padding: 1rem var(--am-space-xl) var(--am-space-xl);
	color: var(--am-text-secondary);
	line-height: 1.8;
}

/* ============================================
   IMAGE GALLERY / OSCILLOGRAM GRID
   ============================================ */
.am-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--am-space-lg);
}

.am-gallery__item {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-lg);
	overflow: hidden;
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	transition: all var(--am-transition-base);
}

.am-gallery__item:hover {
	transform: scale(1.02);
	box-shadow: 0 12px 40px var(--am-shadow-accent);
}

.am-gallery__image {
	width: 100%;
	height: 200px;
	background: linear-gradient(
		135deg,
		rgba(42, 93, 159, 0.1),
		rgba(0, 201, 167, 0.05)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--am-text-secondary);
	font-size: 0.875rem;
}

.am-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.am-gallery__caption {
	padding: var(--am-space-md);
	font-size: 0.875rem;
	color: var(--am-text-secondary);
	text-align: center;
	border-top: 1px solid var(--am-divider);
}

/* ============================================
   CONTACT PAGE SPECIAL LAYOUT
   ============================================ */
.am-contact-wrap {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: var(--am-space-xl);
	align-items: start;
}

.am-contact-wrap__sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--am-space-lg);
}

.am-map {
	height: 100%;
	min-height: 400px;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.am-map {
		height: 400px;
		/* min-width: auto; */
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.am-contact-map {
	position: relative;
	height: 100%;
	/* min-height: 300px; */

	/* flex: 1; */

	/* margin-top: 2rem; */
	/* border-radius: 10px; */
	/* overflow: hidden; */
}

.am-map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

	height: 100%;
	border-radius: 1rem;

	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
	cursor: pointer;
}

.am-contact-wrap__form {
	background: var(--am-bg-card);
	border-radius: var(--am-radius-xl);
	padding: var(--am-space-2xl);
	box-shadow: 0 8px 40px var(--am-shadow-soft);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes am-fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes am-fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes am-scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes am-lineDraw {
	from {
		stroke-dashoffset: 1000;
	}
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes am-pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.8;
	}
}

.am-animate-fadeInUp {
	animation: am-fadeInUp 0.6s ease forwards;
}

.am-animate-fadeIn {
	animation: am-fadeIn 0.4s ease forwards;
}

.am-animate-scaleIn {
	animation: am-scaleIn 0.4s ease forwards;
}

.am-animate-delay-1 {
	animation-delay: 0.1s;
}
.am-animate-delay-2 {
	animation-delay: 0.2s;
}
.am-animate-delay-3 {
	animation-delay: 0.3s;
}
.am-animate-delay-4 {
	animation-delay: 0.4s;
}
.am-animate-delay-5 {
	animation-delay: 0.5s;
}

/* Intersection Observer Animation Classes */
.am-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.am-reveal.am-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================
   CHART CONTAINER
   ============================================ */
.am-chart-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.am-chart-container canvas {
	width: 100% !important;
	height: 100% !important;
}

/* ============================================
   TABS
   ============================================ */
.am-tabs {
	display: flex;
	flex-direction: column;
}

.am-tabs__nav {
	display: flex;
	gap: var(--am-space-sm);
	border-bottom: 2px solid var(--am-divider);
	margin-bottom: var(--am-space-xl);
}

.am-tabs__btn {
	padding: var(--am-space-md) var(--am-space-xl);
	font-family: var(--am-font-heading);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--am-text-secondary);
	background: transparent;
	border: none;
	cursor: pointer;
	position: relative;
	transition: color var(--am-transition-fast);
}

.am-tabs__btn::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--am-accent-indigo);
	transform: scaleX(0);
	transition: transform var(--am-transition-base);
}

.am-tabs__btn:hover,
.am-tabs__btn.am-active {
	color: var(--am-accent-indigo);
}

.am-tabs__btn.am-active::after {
	transform: scaleX(1);
}

.am-tabs__panel {
	display: none;
}

.am-tabs__panel.am-active {
	display: block;
	animation: am-fadeIn 0.4s ease;
}

/* ============================================
   CAROUSEL
   ============================================ */
.am-carousel {
	position: relative;
	overflow: hidden;
}

.am-carousel__track {
	display: flex;
	transition: transform var(--am-transition-base);
}

.am-carousel__slide {
	flex: 0 0 100%;
	padding: 0 var(--am-space-md);
}

.am-carousel__nav {
	display: flex;
	justify-content: center;
	gap: var(--am-space-sm);
	margin-top: var(--am-space-xl);
}

.am-carousel__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--am-divider);
	border: none;
	cursor: pointer;
	transition: all var(--am-transition-fast);
}

.am-carousel__dot.am-active {
	background: var(--am-accent-indigo);
	transform: scale(1.2);
}

.am-carousel__arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 0 var(--am-space-md);
	pointer-events: none;
}

.am-carousel__arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--am-bg-card);
	box-shadow: 0 4px 20px var(--am-shadow-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--am-accent-indigo);
	cursor: pointer;
	pointer-events: all;
	transition: all var(--am-transition-fast);
	border: none;
}

.am-carousel__arrow:hover {
	background: var(--am-accent-indigo);
	color: white;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.am-text-center {
	text-align: center;
}
.am-text-left {
	text-align: left;
}
.am-text-right {
	text-align: right;
}

.am-mb-0 {
	margin-bottom: 0;
}
.am-mb-sm {
	margin-bottom: var(--am-space-sm);
}
.am-mb-md {
	margin-bottom: var(--am-space-md);
}
.am-mb-lg {
	margin-bottom: var(--am-space-lg);
}
.am-mb-xl {
	margin-bottom: var(--am-space-xl);
}
.am-mb-2xl {
	margin-bottom: var(--am-space-2xl);
}
.am-mb-3xl {
	margin-bottom: var(--am-space-3xl);
}

.am-mt-0 {
	margin-top: 0;
}
.am-mt-lg {
	margin-top: var(--am-space-lg);
}
.am-mt-xl {
	margin-top: var(--am-space-xl);
}
.am-mt-2xl {
	margin-top: var(--am-space-2xl);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
	.am-header,
	.am-footer,
	.am-cookie,
	.am-hamburger {
		display: none !important;
	}

	body {
		background: white;
		color: black;
	}

	.am-section {
		padding: 2rem 0;
	}
}

/* ============================================
   SCROLLBAR STYLES
   ============================================ */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--am-bg-primary);
}

::-webkit-scrollbar-thumb {
	background: var(--am-divider);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--am-text-secondary);
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
	background: var(--am-accent-indigo);
	color: white;
}

::-moz-selection {
	background: var(--am-accent-indigo);
	color: white;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
	.am-level-card--1,
	.am-level-card--2 {
		grid-column: span 6;
	}
	.am-level-card--3,
	.am-level-card--4,
	.am-level-card--5 {
		grid-column: span 4;
	}
}

@media (max-width: 1024px) {
	.am-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.am-hero__left {
		padding: var(--am-space-3xl) var(--am-space-xl);
	}

	.am-hero__right {
		padding: var(--am-space-2xl);
	}

	.am-hero__index {
		font-size: 8rem;
		opacity: 0.3;
	}

	.am-split {
		grid-template-columns: 1fr;
	}

	.am-split--reverse {
		direction: ltr;
	}

	.am-experts {
		grid-template-columns: repeat(2, 1fr);
	}

	.am-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.am-contact-wrap {
		grid-template-columns: 1fr;
	}

	.am-infographic {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 768px) {
	:root {
		--am-space-4xl: 4rem;
		--am-space-3xl: 3rem;
	}

	.am-header__top {
		display: none;
	}

	.am-nav {
		display: none;
	}

	.am-hamburger {
		display: flex;
	}

	.am-level-card--1,
	.am-level-card--2,
	.am-level-card--3,
	.am-level-card--4,
	.am-level-card--5 {
		grid-column: span 12;
	}

	.am-grid--2,
	.am-grid--3,
	.am-grid--4 {
		grid-template-columns: 1fr;
	}

	.am-experts {
		grid-template-columns: 1fr;
	}

	.am-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.am-footer__grid {
		grid-template-columns: 1fr;
	}

	.am-footer__bottom {
		flex-direction: column;
		gap: var(--am-space-lg);
		text-align: center;
	}

	.am-contact-grid__bottom {
		grid-template-columns: 1fr;
	}

	.am-form__row {
		grid-template-columns: 1fr;
	}

	.am-cookie__inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.am-hero__left {
		padding: var(--am-space-2xl) var(--am-space-md);
	}

	.am-hero__index {
		font-size: 5rem;
	}

	.am-hero__stats {
		grid-template-columns: 1fr;
		gap: var(--am-space-lg);
	}

	.am-infographic {
		grid-template-columns: 1fr !important;
	}

	.am-gallery {
		grid-template-columns: 1fr;
	}

	.am-tabs__nav {
		flex-wrap: wrap;
	}

	.am-tabs__btn {
		flex: 1;
		text-align: center;
		padding: var(--am-space-sm) var(--am-space-md);
	}

	.am-heading-1 {
		font-size: 2rem;
	}

	.am-hero__card-title {
		flex-direction: column;
	}

	.am-hero__right {
		padding: 2rem;
	}

	.am-page-hero__title,
	.am-heading-2 {
		font-size: 1.5rem;
	}

	.am-accordion__title {
		flex-direction: column;
		text-align: left;
	}
}

:root {
	--am-legal-bg-main: #f4f7f9;
	--am-legal-bg-card: #ffffff;
	--am-legal-accent-primary: #2a5d9f;
	--am-legal-accent-secondary: #00c9a7;
	--am-legal-text-primary: #2d3436;
	--am-legal-text-secondary: #636e72;
	--am-legal-divider: #dfe6e9;
	--am-legal-shadow: rgba(42, 93, 159, 0.08);
	--am-legal-shadow-hover: rgba(42, 93, 159, 0.15);
}

.am-legal-container {
	max-width: 960px;
	margin: 150px auto;
	background-color: var(--am-legal-bg-card);
	border-radius: 2px;
	box-shadow: 0 2px 20px var(--am-legal-shadow);
	overflow: hidden;
}

/* === Заголовок страницы === */
.am-legal-header {
	background: linear-gradient(
		135deg,
		var(--am-legal-accent-primary) 0%,
		#1e4a7a 100%
	);
	padding: 60px 50px 50px;
	border-bottom: 3px solid var(--am-legal-accent-secondary);
	position: relative;
}

.am-legal-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--am-legal-accent-secondary),
		var(--am-legal-accent-primary)
	);
}

.am-legal-title {
	font-size: 36px;
	font-weight: 300;
	color: #ffffff;
	letter-spacing: -0.5px;
	margin-bottom: 12px;
	text-transform: uppercase;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.am-legal-date {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
	letter-spacing: 0.3px;
}

/* === Контентная область === */
.am-legal-content {
	padding: 50px;
}

/* === Секции === */
.am-legal-section {
	margin-bottom: 45px;
	padding-bottom: 35px;
	border-bottom: 1px solid var(--am-legal-divider);
	transition: all 0.3s ease;
}

.am-legal-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.am-legal-section:hover {
	transform: translateX(5px);
}

/* === Заголовки секций === */
.am-legal-section-title {
	font-size: 22px;
	font-weight: 600;
	color: var(--am-legal-accent-primary);
	margin-bottom: 18px;
	position: relative;
	padding-left: 20px;
	letter-spacing: -0.3px;
}

.am-legal-section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 24px;
	background: linear-gradient(
		180deg,
		var(--am-legal-accent-secondary),
		var(--am-legal-accent-primary)
	);
	border-radius: 2px;
}

/* === Текст === */
.am-legal-text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--am-legal-text-primary);
	text-align: justify;
	hyphens: auto;
}

/* === Подвал === */
.am-legal-footer {
	background-color: var(--am-legal-bg-main);
	padding: 30px 50px;
	border-top: 1px solid var(--am-legal-divider);
}

.am-legal-contact {
	font-size: 14px;
	color: var(--am-legal-text-secondary);
	line-height: 1.6;
	text-align: center;
}

.am-legal-contact strong {
	color: var(--am-legal-accent-primary);
	font-weight: 600;
}

/* === Адаптивность для планшетов === */
@media screen and (max-width: 768px) {
	.am-legal-body {
		padding: 20px 15px;
	}

	.am-legal-container {
		margin: 150px 20px;
	}

	.am-legal-header {
		padding: 40px 30px 35px;
	}

	.am-legal-title {
		font-size: 2rem;
	}

	.am-legal-content {
		padding: 35px 30px;
	}

	.am-legal-section-title {
		font-size: 20px;
	}

	.am-legal-text {
		font-size: 15px;
		text-align: left;
	}

	.am-legal-footer {
		padding: 25px 30px;
	}

	.am-legal-contact {
		font-size: 13px;
	}
}

/* === Адаптивность для мобильных устройств === */
@media screen and (max-width: 480px) {
	.am-legal-body {
		padding: 15px 10px;
	}

	.am-legal-header {
		padding: 30px 20px 25px;
	}

	.am-legal-title {
		font-size: 1.3rem;
		letter-spacing: -0.3px;
	}

	.am-legal-date {
		font-size: 13px;
	}

	.am-legal-content {
		padding: 25px 20px;
	}

	.am-legal-section {
		margin-bottom: 35px;
		padding-bottom: 25px;
	}

	.am-legal-section:hover {
		transform: none;
	}

	.am-legal-section-title {
		font-size: 18px;
		padding-left: 15px;
		margin-bottom: 15px;
	}

	.am-legal-section-title::before {
		width: 3px;
		height: 20px;
	}

	.am-legal-text {
		font-size: 14px;
		line-height: 1.7;
	}

	.am-legal-footer {
		padding: 20px 15px;
	}

	.am-legal-contact {
		font-size: 12px;
		text-align: left;
	}
}
