:root {
  --accent: #43d9c2;
  --accent-soft: rgba(67, 217, 194, 0.14);
  --bg: #0b1220;
  --bg-2: #0f172a;
  --panel: #111c2e;
  --panel-2: #16233a;
  --text: #e8eef7;
  --muted: #9fb0c6;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --max: 1180px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Open Sans", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #13324a 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #0e3b39 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 42px; width: auto; }
.brand .mark { height: 40px; width: 40px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.18s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #06231f;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(67, 217, 194, 0.3); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 18px 0 16px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #06231f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(67, 217, 194, 0.3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #132f45, #0d1b2c 60%, #0a1420);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual .glow {
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 70% 20%, rgba(67, 217, 194, 0.25), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(10, 18, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.hero-badge strong { color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head .kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Catalog ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(67, 217, 194, 0.4); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #16364f, #0c1a2b 70%);
  position: relative;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.14rem; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.94rem; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.card-link { color: var(--accent); font-weight: 700; font-size: 0.92rem; margin-top: 6px; }
.card-link:hover { text-decoration: underline; }

/* ---------- Services ---------- */
.services { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.service {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.service .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 14px;
}
.service h3 { margin: 0 0 6px; font-size: 1.05rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.step h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- CTA / Contact ---------- */
.cta-band {
  border-radius: 24px;
  border: 1px solid rgba(67, 217, 194, 0.3);
  background: linear-gradient(135deg, rgba(67, 217, 194, 0.16), rgba(19, 50, 74, 0.5));
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; color: var(--muted); max-width: 52ch; }
.cta-band .hero-actions { margin-top: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.contact-card h3 { margin: 0 0 6px; }
.contact-card p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid p { color: var(--muted); margin: 6px 0 0; font-size: 0.9rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.hashtags { color: var(--muted); font-size: 0.84rem; margin-top: 18px; }

/* ---------- Catalog page extras ---------- */
.page-hero { padding: 64px 0 24px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 12px 0; letter-spacing: -0.02em; }
.page-hero p { color: var(--muted); max-width: 60ch; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font-size: 0.9rem;
}
.chip.active, .chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16 / 9; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 16px 22px;
  }
  .nav-links.open a { padding: 8px 0; }
  .menu-toggle { display: block; }
  .grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .cta-band { padding: 30px; }
  .nav-cta { display: none; }
}
