:root {
	--primary: #2563eb;
	--primary-dark: #1d4ed8;
	--primary-soft: #dbeafe;
	--secondary: #0f172a;
	--surface: #ffffff;
	--surface-muted: #f8fafc;
	--surface-alt: #eef4ff;
	--text: #0f172a;
	--text-muted: #64748b;
	--border: rgba(15, 23, 42, 0.1);
	--shadow: 0 18px 45px rgba(37, 99, 235, 0.08);
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 35%, #f5f8fc 100%);
	line-height: 1.6;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	font-size: 1.65rem;
	font-weight: 800;
}

.logo-icon {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.logo-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links li {
	position: relative;
}

.has-dropdown {
	padding-bottom: 0.75rem;
	margin-bottom: -0.75rem;
}

.nav-links a,
.dropdown-toggle {
	text-decoration: none;
	font-weight: 600;
	color: var(--text-muted);
	transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.dropdown-toggle:hover,
.has-dropdown.open > .dropdown-toggle,
.has-dropdown > .dropdown-toggle.active {
	color: var(--primary);
}

.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0;
	cursor: pointer;
}

.nav-links a:focus {
	outline: none;
}

.nav-links a:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.35);
	outline-offset: 4px;
	border-radius: 8px;
}

.dropdown-toggle::after {
	content: '';
	width: 0.42rem;
	height: 0.42rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-toggle::after,
.has-dropdown.open .dropdown-toggle::after {
	transform: rotate(-135deg) translateY(-1px);
}

.dropdown-menu {
	position: absolute;
	top: calc(100% + 0.2rem);
	left: 0;
	min-width: 280px;
	padding: 0.7rem;
	margin: 0;
	list-style: none;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 1001;
}

.dropdown-menu li + li {
	margin-top: 0.35rem;
}

.dropdown-menu a {
	display: block;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	color: var(--text);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
	background: var(--surface-alt);
	color: var(--primary);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mobile-menu-btn {
	display: none;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 1.75rem;
	cursor: pointer;
}

main {
	padding-top: 98px;
}

.container {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
}

.page-shell {
	padding: 0.75rem 0 5rem;
}

.hero-panel,
.detail-hero {
	padding: clamp(2.5rem, 4vw, 4rem);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.88)),
		linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent);
	color: #fff;
	box-shadow: var(--shadow);
}

.hero-panel h1,
.detail-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1.1;
}

.hero-panel p,
.detail-hero p {
	margin: 0;
	max-width: 760px;
	font-size: 1.08rem;
	color: rgba(255, 255, 255, 0.86);
}

.section-title {
	text-align: center;
	margin: 2.4rem auto 2rem;
}

.section-title h1,
.section-title h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.section-title p {
	margin: 0 auto;
	max-width: 760px;
	color: var(--text-muted);
	font-size: 1.04rem;
}

.services {
	padding: 2rem 0 4.5rem;
}

.intro-card,
.contact-card,
.detail-section,
.feature-card,
.service-overview {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.intro-card,
.contact-card,
.service-overview,
.detail-section {
	padding: 1.75rem;
}

.intro-card {
	margin-top: 2rem;
	color: var(--text-muted);
}

.services-accordion {
	display: grid;
	gap: 1.35rem;
	margin-top: 2rem;
}

.accordion-item {
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.92));
	box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.accordion-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
	border-color: rgba(37, 99, 235, 0.25);
}

.accordion-trigger {
	width: 100%;
	border: 0;
	background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.72));
	padding: 1.55rem 1.7rem;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease;
}

.accordion-trigger:hover {
	background: linear-gradient(180deg, rgba(219, 234, 254, 0.7), rgba(255, 255, 255, 0.92));
}

.accordion-trigger:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.4);
	outline-offset: -2px;
}

.accordion-title {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.accordion-title strong {
	font-size: clamp(1.15rem, 2vw, 1.8rem);
	line-height: 1.2;
}

.accordion-title span {
	color: var(--text-muted);
	max-width: 78ch;
}

.accordion-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(219, 234, 254, 0.95), rgba(191, 219, 254, 0.85));
	border: 1px solid rgba(59, 130, 246, 0.25);
	color: var(--primary);
	font-size: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.accordion-icon::before {
	content: '';
	width: 10px;
	height: 10px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
}

.accordion-item.is-open .accordion-icon {
	transform: rotate(180deg);
	background: linear-gradient(145deg, rgba(191, 219, 254, 0.95), rgba(147, 197, 253, 0.9));
	border-color: rgba(37, 99, 235, 0.35);
}

.accordion-item.is-open {
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 24px 48px rgba(37, 99, 235, 0.14);
}

.accordion-panel {
	padding: 0 1.6rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.28s ease;
}

.accordion-panel-inner {
	padding: 0.25rem 0 1.6rem;
}

.accordion-panel p,
.detail-section p,
.service-overview p {
	color: var(--text-muted);
}

.feature-list {
	margin: 1.25rem 0 0;
	padding-left: 1.15rem;
}

.feature-list li {
	margin-bottom: 0.95rem;
	color: var(--text-muted);
}

.feature-list strong {
	color: var(--text);
}

.inline-actions,
.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.5rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.35rem;
	border-radius: 14px;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), #38bdf8);
	color: #fff;
	box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.92);
	color: var(--text);
	border: 1px solid rgba(148, 163, 184, 0.3);
}

.detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.3rem;
}

.feature-card {
	padding: 1.35rem;
}

.feature-card h3,
.detail-section h2,
.service-overview h2 {
	margin-top: 0;
}

.breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
}

.breadcrumbs a {
	text-decoration: none;
}

.contact-card {
	margin-top: 2.5rem;
	text-align: center;
}

footer {
	margin-top: 2rem;
	padding: 3rem 2rem 1.5rem;
	background:
		linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%),
		url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
	color: #e2e8f0;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
	animation: waterFlow 15s ease-in-out infinite;
	pointer-events: none;
}

@keyframes waterFlow {
	0%,
	100% {
		opacity: 0.3;
		transform: translateY(0) scale(1);
	}

	50% {
		opacity: 0.6;
		transform: translateY(-20px) scale(1.1);
	}
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	position: relative;
	z-index: 1;
}

.footer-section h3 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #fff;
}

.footer-section p,
.footer-section a {
	display: block;
	margin-bottom: 0.5rem;
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: #3b82f6;
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: #94a3b8;
	position: relative;
	z-index: 1;
}

@media (max-width: 900px) {
	.detail-grid,
	.feature-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	nav {
		flex-wrap: wrap;
	}

	.mobile-menu-btn {
		display: inline-flex;
	}

	.nav-links {
		width: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.6rem 0 0.2rem;
	}

	.nav-links.is-open {
		display: flex;
	}

	.nav-links li {
		width: 100%;
	}

	.nav-links a,
	.dropdown-toggle {
		display: block;
		width: 100%;
		padding: 0.95rem 0;
	}

	.dropdown-toggle {
		display: flex;
		justify-content: space-between;
	}

	.dropdown-menu {
		position: static;
		min-width: 0;
		margin: 0.25rem 0 0.8rem;
		padding: 0.4rem;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		box-shadow: none;
	}

	.has-dropdown {
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.has-dropdown.open .dropdown-menu {
		display: block;
	}

	.hero-panel,
	.detail-hero,
	.intro-card,
	.contact-card,
	.detail-section,
	.service-overview {
		padding: 1.4rem;
	}

	.accordion-trigger,
	.accordion-panel {
		padding-left: 1.2rem;
		padding-right: 1.2rem;
	}
}
