/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e8e8ec;
  background: #0b0c10;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --bg: #0b0c10;
  --bg-alt: #111218;
  --bg-card: #16181f;
  --bg-dark: #08090c;
  --text: #e8e8ec;
  --text-muted: #a0a4b0;
  --accent: #7c5cff;
  --accent-hover: #9478ff;
  --accent-glow: rgba(124, 92, 255, 0.35);
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --header-h: 72px;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 88px 0;
}
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.section-desc {
  color: var(--text-muted);
  font-size: 17px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}
.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}
.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--accent);
  color: #fff;
}
.btn-nav:hover { background: var(--accent-hover); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.logo-mark {
  color: var(--accent);
  font-size: 22px;
}
.logo-text span { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: #fff; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(124, 92, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56, 189, 248, 0.08), transparent),
    linear-gradient(180deg, rgba(11, 12, 16, 0.62) 0%, rgba(11, 12, 16, 0.55) 45%, rgba(17, 18, 24, 0.94) 100%),
    url('hero.jpg') center 35%/cover no-repeat;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(135deg, #a78bfa, #7c5cff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 32px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 650;
  color: #fff;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.gallery-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1c25, #12141b);
  position: relative;
}
img.gallery-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.gallery-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.why-card {
  padding: 8px 0;
}
.why-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.why-card h3 {
  font-size: 20px;
  font-weight: 650;
  color: #fff;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ===== AREAS ===== */
.areas-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.area-group h3 {
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  margin-bottom: 14px;
  text-align: center;
}
.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.areas span {
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.areas span:hover {
  border-color: rgba(124, 92, 255, 0.45);
  color: #fff;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA / CONTACT ===== */
.section-cta {
  padding: 100px 0;
}
.cta-box {
  background: linear-gradient(145deg, #16181f, #12141b);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.cta-box > p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  text-align: left;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
a.contact-card:hover {
  border-color: rgba(124, 92, 255, 0.5);
}
.contact-icon { font-size: 24px; }
.contact-card strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-card span:last-child {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .logo-mark { color: var(--accent); }
.footer p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-copy {
  margin-top: 16px !important;
  opacity: 0.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .burger { display: flex; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 60px); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-box { padding: 40px 24px; }
  .section { padding: 64px 0; }
}
