:root {
	--bg: #0f2523;
	--fg: #d4ae64;
	--muted: #d4af64d0;
	--accent: #3275d8;
	--card: #121821;
	--maxw: 1100px;
	--radius: 14px;
	--shadow: 0 8px 30px rgba(0,0,0,.25);
}

footer {
	--fg: #f5f7fa;
	--muted: #c7ced6;
}

    /* Base */
* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
	color: var(--fg);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 20px;
}

    /* ===== 1) HERO ===== */
.hero {
	position: relative;
	min-height: 100svh;
 /* повна висота екрана, враховуючи моб. UI */
	display: grid;
	place-items: center;
	overflow: clip;
	isolation: isolate;
 /* щоб overlay працював коректно */
	;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: blur(3px) brightness(.5);
	transform: scale(1.05);
	z-index: -2;
}
    /* додаткове притемнення зверху + градієнт до низу */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(2,8,23,.55), rgba(2,8,23,.25) 40%, rgba(2,8,23,.6));
	z-index: -1;
}

.hero__content {
	text-align: center;
	padding: 48px 0;
	backdrop-filter: saturate(120%);
}

.hero h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 4.8vw, 56px);
	line-height: 1.1;
	letter-spacing: .2px;
}

.hero p {
	margin: 0 auto 28px;
	max-width: 780px;
	color: var(--muted);
	font-size: clamp(15px, 2.2vw, 18px);
}

.hero .cta {
	display: inline-block;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--accent);
	color: white;
	font-weight: 600;
	box-shadow: var(--shadow);
	border: 0;
	cursor: pointer;
	transition: transform .15s ease;
}

.hero .cta:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

    /* ===== 2) SERVICES ===== */
section.services {
	padding: 48px 0;
	background: radial-gradient(1200px 600px at 10% -10%, rgba(31,111,235,.08), transparent 40%),
        radial-gradient(1000px 500px at 110% 10%, rgba(31,111,235,.06), transparent 35%);
}

.section-title {
	font-size: clamp(22px, 3.6vw, 36px);
	margin: 0px;
	text-align: center;
}

.section-sub {
	text-align: center;
	color: var(--muted);
	margin: 0 auto 40px;
	max-width: 820px;
}

.grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(12, 1fr);
}

.card {
	grid-column: span 12;
	background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius);
	padding: 22px 20px;
	box-shadow: var(--shadow);
}

@media (min-width: 720px) {
	.card {
		grid-column: span 6;
	}
}

@media (min-width: 1040px) {
	.card {
		grid-column: span 4;
	}
}

.card h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.card p {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 15px;
}

.list {
	margin: 0;
	padding: 0 0 0 20px;
}

.list li {
	margin: 6px 0;
}

/* ===== 3) testimonials ===== */
    
.testimonials {
	padding: 0px 20px 80px 20px;
	background: #0f2523;
	text-align: center;
}

.testimonials h2 {
	font-size: 2rem;
	margin-bottom: 40px;
}

.testimonials-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.testimonial-card {
	background: #132e2b;
	border-radius: 10px;
	padding: 20px;
	max-width: 300px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
}

.testimonial-text {
	font-size: 1rem;
	margin-bottom: 15px;
	font-style: italic;
}

.testimonial-author {
	font-size: 1.2rem;
	margin: 0;
}

.testimonial-role {
	font-size: 0.9rem;
}


    /* ===== 4) FOOTER ===== */
footer {
	border-top: 1px solid rgba(255,255,255,.07);
	background: #132e2b;
	padding: 28px 48px 15px 48px;
	color: var(--muted);
	font-size: 15px;
}

.footer-grid {
	display: grid;
	gap: 18px;
}

@media (min-width: 720px) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr;
		align-items: start;
	}
}

.brand {
	color: var(--fg);
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 6px;
}

.muted {
	color: var(--muted);
}

.contact a {
	display: inline-block;
	margin: 2px 0;
	word-break: break-word;
}

.copy {
	text-align: center;
	margin-top: 20px;
	font-size: 13px;
	opacity: .8;
}

    /* дрібні покращення */
.hide {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 1040px) {
	.card {
		grid-column: span 6;
	} /* замість span 4 */;
}


    /* LOGO */
.logo-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
 /* завжди займає весь екран */
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
}

.logo-image {
	width: 45%;
	height: auto;
	margin-bottom: 20px;
}

@media (max-width: 624px) {
	.logo-image {
		width: 80%;
	}
}

@media (max-width: 1024px) {
	.logo-image {
		width: 65%;
	}
}

@media (max-width: 1444px) {
	.logo-image {
		width: 65%;
	}
}
