:root {
	--color-bg: #ffffff;
	--color-surface: #ffffff;
	--color-elev: #f8fafc; /* slate-50 */
	--color-text: #0f172a; /* slate-900 */
	--color-text-muted: #475569; /* slate-600 */
	--color-primary: #166534; /* green-800 */
	--color-primary-600: #16a34a; /* green-600 */
	--color-accent: #2563eb; /* blue-600 */
	--color-border: #e5e7eb; /* gray-200 */
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
	--shadow-md: 0 10px 30px rgba(15,23,42,0.08);
	--container: 1200px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: #ffffff;
	color: var(--color-text);
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

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

header.site-header {
	position: sticky; top: 0; z-index: 50;
	backdrop-filter: saturate(1.2) blur(6px);
	background: rgba(255,255,255,0.85);
	/* border-bottom: 1px solid var(--color-border); */
	box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-logo { width: 100px; height: 100px; border-radius: 8px; object-fit: contain; background: transparent; box-shadow: none; }
.brand-name { font-weight: 700; letter-spacing: 0.3px; }

.navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.navlinks a { text-decoration: none; color: var(--color-text-muted); padding: 10px 12px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.navlinks a[aria-current="page"], .navlinks a:hover { color: var(--color-text); background: rgba(2,6,23,0.04); }

.cta { appearance: none; border: none; cursor: pointer; text-decoration: none; color: #daaf52 !important; background: rgb(2, 50, 36); padding: 12px 16px; border-radius: 12px; font-weight: 700; box-shadow: 0 6px 20px rgba(22,163,74,0.25); }
.cta.secondary { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #ffffff; box-shadow: 0 6px 20px rgba(59,130,246,0.25); }

main { display: block; }

.section { padding: 48px 0; }
.section-title { font-size: 28px; margin: 0 0 16px; letter-spacing: 0.2px; }
.section-subtitle { color: var(--color-text-muted); margin: 0 0 24px; }

/* Slideshow */
.slideshow { position: relative; overflow: hidden; margin: 16px 0 0; }
.slideshow .slides { position: relative; height: clamp(920px, 60vh, 640px); }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; background: #000; }
.slideshow .slide.is-active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.slideshow .caption { position: absolute; inset: 0; display: grid; place-items: center; text-align: left; }
.slideshow .caption-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 20px; color: #ffffff; }
.slideshow .caption h1 { font-size: clamp(28px, 5.2vw, 56px); line-height: 1.1; margin: 0 0 12px; color: #ffffff; }
.slideshow .caption p { max-width: 720px; color: #e5e7eb; margin: 0 0 16px; }
.slideshow .controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; pointer-events: none; }
.slideshow .control { pointer-events: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--color-text); border: 1px solid var(--color-border); cursor: pointer; }
.slideshow .dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slideshow .dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.1); cursor: pointer; }
.slideshow .dot.is-active { background: #ffffff; }

.hero {
	padding: 56px 0 32px;
	background: linear-gradient(180deg, #ffffff, var(--color-elev) 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.hero p { color: var(--color-text-muted); margin: 0 0 20px; }
.hero .quicklinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-card { border: 1px solid var(--color-border); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)); padding: 18px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero-card img { border-radius: var(--radius-md); }

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

.card { border: 1px solid var(--color-border); background: #ffffff; border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.card .meta { color: var(--color-text-muted); font-size: 14px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.kpi { padding: 14px; border: 1px solid var(--color-border); border-radius: 12px; background: #ffffff; }
.kpi .value { font-size: 24px; font-weight: 800; color: var(--color-primary); }
.kpi .label { color: var(--color-text-muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.input, select, .select, .field input { appearance: none; border: 1px solid var(--color-border); background: #ffffff; color: var(--color-text); padding: 10px 12px; border-radius: 10px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--color-text-muted); font-size: 14px; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--color-border); text-align: left; }
.table th { color: var(--color-text-muted); font-weight: 600; }

footer.site-footer { margin-top: 48px; border-top: 1px solid var(--color-border); background: #ffffff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; padding: 28px 0; }
.footer-inner a { color: var(--color-text-muted); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 24px; color: var(--color-text-muted); font-size: 14px; }

.notice { padding: 12px 14px; border: 1px dashed var(--color-border); border-radius: 12px; color: var(--color-text-muted); background: #fcfcfd; }

@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.navlinks { display: none; }
	.grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
	.kpis { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
}

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; background: var(--color-accent); color: #ffffff; padding: 8px 12px; border-radius: 8px; }
