:root {
	--blue: #071a3a;
	--blue2: #0d2d63;
	--gold: #f5c542;
	--text: #14213d;
	--muted: #667085;
	--light: #f5f7fb;
	--white: #fff;
	--border: #e4e7ec;
	--success: #0f9f6e;
	--danger: #dc2626;
	--warning: #f59e0b;
	--shadow: 0 18px 45px rgba(7, 26, 58, .12);
	--shadow-strong: 0 28px 70px rgba(7, 26, 58, .20);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: Inter, Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 6vw;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border);
}

.brand img { height: 56px; display: block; }

.main-nav { display: flex; align-items: center; gap: 8px; }

.main-nav a {
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	color: var(--blue);
	transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.active { background: var(--blue); color: white; }

.nav-toggle {
	display: none;
	border: 0;
	background: var(--blue);
	color: white;
	border-radius: 10px;
	padding: 8px 11px;
	font-size: 22px;
}


.rebuild-warning {
	padding: 14px 6vw;
	background: #fff7d6;
	border-bottom: 1px solid #f5c542;
	color: var(--blue);
	font-weight: 800;
	text-align: center;
}

.rebuild-warning strong {
	color: #991b1b;
}

.hero {
	min-height: 650px;
	display: grid;
	align-items: center;
	position: relative;
	color: white;
	background:
		linear-gradient(90deg, rgba(7,26,58,.92), rgba(7,26,58,.48)),
		url('../img/wide_sports_scene_on_a_soccer_football_field_low.png');
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	inset: auto -10% -35% -10%;
	height: 280px;
	background: radial-gradient(circle, rgba(245,197,66,.22), transparent 60%);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 780px;
	margin-left: 6vw;
	padding: 80px 0;
	animation: fadeUp .8s ease both;
}

.eyebrow,
.summary-label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 999px;
	padding: 7px 13px;
	font-weight: 900;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.summary-label {
	border-color: rgba(7,26,58,.12);
	background: #eef4ff;
	color: var(--blue);
}

.hero h1 {
	font-size: clamp(40px, 7vw, 82px);
	line-height: .98;
	margin: 22px 0;
}

.hero p { font-size: 20px; max-width: 680px; color: #eef2ff; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 14px 22px;
	font-weight: 900;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	font-family: inherit;
	font-size: 14px;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7,26,58,.18); }
.btn-primary { background: var(--gold); color: var(--blue); }
.btn-dark { background: var(--blue); color: white; }
.btn-outline { border-color: rgba(255,255,255,.7); color: white; }
.btn-soft { background: #eef4ff; color: var(--blue); }
.btn-wide { width: 100%; }

.section { padding: 86px 6vw; }
.section-light { background: var(--light); }

.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 0 0 12px; color: var(--blue); }
.section-head p { color: var(--muted); font-size: 18px; }
.compact-head { margin-bottom: 20px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 28px;
	box-shadow: var(--shadow);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); border-color: rgba(13,45,99,.18); }
.card h3 { margin: 0 0 10px; color: var(--blue); font-size: 24px; }

.icon-card { position: relative; overflow: hidden; }
.icon-card::before { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(245,197,66,.22); }

.term-card { display: flex; flex-direction: column; gap: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
	display: inline-flex;
	border-radius: 999px;
	padding: 7px 11px;
	background: #eef4ff;
	color: var(--blue);
	font-size: 13px;
	font-weight: 800;
}

.price-box,
.info-box {
	border-radius: 22px;
	padding: 24px;
	background: linear-gradient(135deg, var(--blue), var(--blue2));
	color: white;
}

.price-box strong { font-size: 34px; color: var(--gold); }
.list { padding-left: 20px; }
.trainer img { width: 100%; border-radius: 20px; aspect-ratio: 1 / 1; object-fit: cover; background: #eee; }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { margin: 0 0 6px; color: var(--blue); }

.form { display: grid; gap: 18px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { display: block; font-weight: 900; margin-bottom: 7px; color: var(--blue); }
.field input,
.field textarea,
.field select {
	width: 100%;
	border: 1px solid #cfd6e4;
	border-radius: 14px;
	padding: 14px 15px;
	font: inherit;
	background: white;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(13,45,99,.10); }
.field textarea { min-height: 110px; resize: vertical; }

.notice { padding: 16px 18px; border-radius: 16px; background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; font-weight: 800; }
.danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.booking-page { padding-top: 54px; }
.booking-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.booking-summary { position: sticky; top: 110px; overflow: hidden; }
.booking-summary h1 { color: var(--blue); line-height: 1.1; margin: 14px 0; font-size: clamp(30px, 4vw, 46px); }
.booking-price-box { margin: 22px 0; }
.booking-facts { display: grid; gap: 12px; }
.booking-facts div,
.booking-detail-grid div {
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: #fbfcff;
}
.booking-facts b,
.booking-detail-grid b { display: block; color: var(--blue); margin-bottom: 3px; }
.booking-facts span,
.booking-detail-grid span { color: var(--muted); }
.booking-form-card { padding: 34px; }
.question-block { display: grid; gap: 16px; padding: 22px; background: #f8fbff; border: 1px solid var(--border); border-radius: 22px; }
.question-block h3 { margin: 0; color: var(--blue); }
.payment-select { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.payment-option { display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 18px; padding: 18px; cursor: pointer; background: #fff; transition: .2s ease; }
.payment-option:hover { border-color: var(--blue2); box-shadow: var(--shadow); }
.payment-option small { display: block; color: var(--muted); }
.checkbox-row { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--blue); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 44px 6vw; background: var(--blue); color: white; }
.footer-logo { height: 54px; background: white; border-radius: 12px; padding: 6px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #dbeafe; font-weight: 800; }

.table { width: 100%; border-collapse: collapse; background: white; border-radius: 18px; overflow: hidden; }
.table th,
.table td { padding: 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { background: #eef4ff; color: var(--blue); }

.admin-wrap { max-width: 1280px; margin: auto; padding: 40px 6vw 70px; }
.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.admin-nav a { background: #eef4ff; color: var(--blue); border-radius: 999px; padding: 9px 13px; font-weight: 900; }
.admin-hero { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; background: linear-gradient(135deg, #fff, #eef4ff); }
.admin-hero h1 { margin: 8px 0; color: var(--blue); }
.admin-grid-wide { grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); align-items: start; }
.admin-form-card,
.admin-list-card { overflow: hidden; }
.admin-table { font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.actions .btn { padding: 9px 12px; font-size: 12px; }
.filter-card { margin-bottom: 18px; }

.status-badge { display: inline-flex; border-radius: 999px; padding: 5px 9px; font-weight: 900; font-size: 12px; background: #eef4ff; color: var(--blue); }
.status-paid,
.status-confirmed,
.status-active { background: #ecfdf3; color: #05603a; }
.status-pending { background: #fffbeb; color: #92400e; }
.status-cancelled,
.status-failed,
.status-refunded,
.status-hidden,
.status-sold_out { background: #fef2f2; color: #991b1b; }

.question-admin-block { border: 1px solid var(--border); border-radius: 22px; padding: 18px; background: #fbfcff; }
.question-admin-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 14px; }
.question-admin-head h3 { margin: 0; color: var(--blue); }
.question-admin-row { display: grid; grid-template-columns: 1.2fr .75fr 1fr .45fr auto auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: white; margin-bottom: 12px; }
.question-admin-row .field textarea { min-height: 54px; }

.booking-detail-card h1 { color: var(--blue); margin: 10px 0 20px; }
.booking-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 30px; }
.answer-list { display: grid; gap: 12px; }
.answer-item { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: #fbfcff; }
.answer-item b { color: var(--blue); }
.answer-item p { margin: 6px 0 0; }

.reveal { animation: fadeUp .7s ease both; }
.card:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3) { animation-delay: .16s; }

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1050px) {
	.booking-shell,
	.admin-grid-wide { grid-template-columns: 1fr; }
	.booking-summary { position: static; }
	.question-admin-row { grid-template-columns: 1fr 1fr; }
	.booking-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.grid-3,
	.grid-2,
	.form-grid-2,
	.payment-select,
	.booking-detail-grid { grid-template-columns: 1fr; }
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 85px; background: white; padding: 18px 6vw; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; }
	.main-nav.open { display: flex; }
	.site-footer { grid-template-columns: 1fr; }
	
.rebuild-warning {
	padding: 14px 6vw;
	background: #fff7d6;
	border-bottom: 1px solid #f5c542;
	color: var(--blue);
	font-weight: 800;
	text-align: center;
}

.rebuild-warning strong {
	color: #991b1b;
}

.hero { min-height: 560px; }
	.hero-content { padding: 60px 6vw; margin: 0; }
	.section { padding: 64px 5vw; }
	.booking-form-card { padding: 22px; }
	.question-admin-row { grid-template-columns: 1fr; }
	.table { display: block; overflow-x: auto; white-space: nowrap; }
}
