﻿:root {
  color-scheme: dark;
  --bg: #0b1018;
  --bg-alt: #111b2a;
  --surface: #121d2c;
  --surface-strong: #18293b;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #edf3fb;
  --muted: #a7b5c9;
  --accent: #d7a865;
  --accent-strong: #c88f40;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  --success: #53d39c;
  --radius-lg: 28px;
  --radius-md: 18px;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #f5f5f2;
  --bg-alt: #ece9e2;
  --surface: #fdfcf8;
  --surface-strong: #f2efe8;
  --surface-soft: rgba(15, 23, 42, 0.04);
  --border: rgba(15, 23, 42, 0.12);
  --text: #171a1f;
  --muted: #5d6470;
  --accent: #b6732d;
  --accent-strong: #9a5b19;
  --shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
  --success: #239869;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(215, 168, 101, 0.12), transparent 28%), linear-gradient(180deg, var(--bg), var(--bg-alt));
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: none; cursor: pointer; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 24, 0.8);
  border-bottom: 1px solid var(--border);
}
html[data-theme='light'] .site-header { background: rgba(245, 245, 242, 0.8); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #1b120a; font-weight: 800;
}
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-size: 0.98rem; }
.brand-text small { color: var(--muted); }
.nav-desktop { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.nav-desktop a { color: var(--muted); transition: color 0.2s ease; }
.nav-desktop a:hover, .nav-desktop a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle, .theme-toggle {
  padding: 0.8rem 1rem; border-radius: 999px; background: var(--surface-soft); color: var(--text); border: 1px solid var(--border);
}
.menu-toggle { display: none; }
.mobile-menu { display: none; flex-direction: column; gap: 0.4rem; padding: 0 1rem 1rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }

.hero { padding: 5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.eyebrow, .section-label {
  display: inline-flex; align-items: center; padding: 0.38rem 0.75rem; border-radius: 999px; background: rgba(215, 168, 101, 0.12); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700;
}
.hero h1 { margin: 1rem 0 0.9rem; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 0.96; letter-spacing: -0.05em; }
.hero-subtitle { margin: 0 0 1rem; font-size: 1.15rem; color: var(--accent); max-width: 620px; }
.hero-text { margin: 0 0 1.5rem; font-size: 1.04rem; color: var(--muted); max-width: 620px; }
.hero-actions, .project-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.35rem; border-radius: 999px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #1b120a; font-weight: 700; box-shadow: 0 12px 26px rgba(215, 168, 101, 0.25);
}
.btn-secondary { background: var(--surface-soft); color: var(--text); border: 1px solid var(--border); }
.hero-highlights { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; color: var(--muted); }
.hero-highlights li { position: relative; padding-left: 1.15rem; }
.hero-highlights li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }
.hero-visual { display: flex; justify-content: center; }
.dashboard-window {
  width: min(100%, 500px); background: rgba(16, 23, 35, 0.92); border: 1px solid var(--border); border-radius: 28px; padding: 1rem; box-shadow: var(--shadow);
}
.window-header { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dot-one { background: #ff6b6b; }
.dot-two { background: #fbbf24; }
.dot-three { background: var(--success); }
.window-body { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; min-height: 320px; }
.window-sidebar {
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: 18px; padding: 0.8rem 0.7rem; display: grid; gap: 0.7rem; align-content: start;
}
.window-sidebar span { display: block; height: 12px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.window-main { display: grid; gap: 1rem; }
.metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.metric-card {
  border: 1px solid var(--border); background: rgba(255,255,255,0.04); border-radius: 18px; padding: 0.9rem;
}
.metric-card.accent { background: linear-gradient(135deg, rgba(215, 168, 101, 0.2), rgba(255,255,255,0.04)); }
.metric-card small { color: var(--muted); }
.metric-card strong { display: block; margin-top: 0.3rem; font-size: 1.25rem; }
.chart-block {
  display: flex; align-items: end; gap: 0.45rem; min-height: 120px; padding: 0.8rem; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.chart-bar { display: block; flex: 1; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--accent), rgba(215, 168, 101, 0.35)); }
.w-70 { height: 70%; }
.w-90 { height: 90%; }
.w-75 { height: 75%; }
.w-88 { height: 88%; }
.w-60 { height: 60%; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.mini-card {
  min-height: 82px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.section { padding: 4rem 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2 { margin: 0.8rem 0 0; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.04em; }
.services-grid, .business-grid, .projects-grid, .tech-grid { display: grid; gap: 1.2rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.business-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.service-card, .business-card, .project-card, .info-card, .contact-card, .process-card {
  background: rgba(18, 29, 44, 0.72); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow);
}
.service-card h3, .business-card h3, .project-card h3, .info-card h3, .contact-card h3, .process-card h3 { margin: 0.7rem 0 0.5rem; }
.service-card p, .business-card p, .project-card p, .info-card p, .contact-card p, .about-copy p, .section-heading p, .process-card p { color: var(--muted); }
.service-number {
  display: inline-flex; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: rgba(215, 168, 101, 0.12); color: var(--accent); font-weight: 700;
}

.business-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.project-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.filter-btn {
  padding: 0.7rem 1rem; border-radius: 999px; background: var(--surface-soft); color: var(--text); border: 1px solid var(--border);
}
.filter-btn.is-active { background: rgba(215, 168, 101, 0.14); border-color: rgba(215, 168, 101, 0.3); color: var(--accent); }
.projects-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.project-card { padding: 0; overflow: hidden; }
.project-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border); }
.project-body { padding: 1.25rem; }
.project-topline { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.project-tag, .project-badge { display: inline-flex; align-items: center; padding: 0.35rem 0.6rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.project-tag { background: rgba(215, 168, 101, 0.12); color: var(--accent); }
.project-badge { background: rgba(83, 211, 156, 0.12); color: var(--success); }
.tech-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0; }
.tech-list li {
  padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: var(--text); border: 1px solid var(--border); font-size: 0.82rem;
}
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.process-card span {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(215, 168, 101, 0.12); color: var(--accent); font-weight: 800;
}
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }
.about-copy h2 { margin: 0.9rem 0 1rem; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.04em; }
.about-panel { display: grid; gap: 1rem; }
.tech-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.tech-grid span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); font-weight: 600;
}
.cta-section { padding-top: 0; }
.cta-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(215, 168, 101, 0.12), rgba(255,255,255,0.02));
}
.cta-wrap h2 { margin: 0.7rem 0 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.8rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.contact-list span { color: var(--muted); }
.contact-list a { color: var(--accent); }
.site-footer { padding: 1rem 0 2rem; }
.footer-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.2rem; color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .cta-wrap { grid-template-columns: 1fr; display: grid; }
  .cta-wrap { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 3rem; }
}

@media (max-width: 560px) {
  .hero-actions, .project-actions, .contact-actions, .footer-grid { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-list li { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
