/* ============ Omnya brand ============
   Primary:   #6667ab (periwinkle)
   Secondary: #8c7bc2 (light violet)
====================================== */

:root {
  --primary: #6667ab;
  --primary-dark: #52538f;
  --secondary: #8c7bc2;
  --ink: #23243a;
  --ink-soft: #5b5c74;
  --bg: #ffffff;
  --bg-soft: #f5f5fb;
  --border: #e4e4f0;
  --header-bg: rgba(255, 255, 255, 0.88);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(102, 103, 171, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --primary: #9a9bdb;
  --primary-dark: #7d7ec4;
  --secondary: #ab9ade;
  --ink: #e8e8f4;
  --ink-soft: #a8a9c6;
  --bg: #131427;
  --bg-soft: #1a1b33;
  --border: #2b2c4a;
  --header-bg: rgba(19, 20, 39, 0.85);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 750; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }

p { color: var(--ink-soft); }

.lead { font-size: 1.15rem; max-width: 42rem; }

.accent {
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(102, 103, 171, 0.35);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(102, 103, 171, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-ghost:hover { box-shadow: none; background: rgba(102, 103, 171, 0.07); }

.btn-small { padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-large { padding: 1rem 2.2rem; font-size: 1.1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo { height: 34px; width: auto; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-right: 0.6rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover { color: var(--primary); }

.nav-links a.btn { color: #fff; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }

.theme-toggle svg { width: 18px; height: 18px; }

.icon-sun { display: none; }

:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-burger svg { width: 20px; height: 20px; }

.icon-close { display: none; }

.site-header.nav-open .icon-close { display: block; }
.site-header.nav-open .icon-menu { display: none; }

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(140, 123, 194, 0.18), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(102, 103, 171, 0.12), transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-text .lead { margin: 1.4rem 0 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; }

.hero-orb {
  width: min(340px, 70vw);
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(102, 103, 171, 0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

/* ---------- Trust strip ---------- */

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.4rem 0;
}

.strip-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strip-item { text-align: center; }

.strip-item strong { display: block; color: var(--primary); font-size: 1.05rem; }
.strip-item span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */

.section { padding: 90px 0; }

.section-alt { background: var(--bg-soft); }

/* ---------- Service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(102, 103, 171, 0.4);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 103, 171, 0.14), rgba(140, 123, 194, 0.14));
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.card-icon svg { width: 24px; height: 24px; }

.card p { font-size: 0.95rem; }

/* ---------- Expertise split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin-top: 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 100% no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 100% no-repeat;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(102, 103, 171, 0.07);
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Approach steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(102, 103, 171, 0.3);
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.92rem; }

/* ---------- Contact ---------- */

.section-contact {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(140, 123, 194, 0.2), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  text-align: center;
}

.contact-inner { max-width: 640px; }

.contact-inner .lead { margin: 1rem auto 2.2rem; }

.contact-mark {
  width: 72px;
  margin: 0 auto 1.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo { height: 26px; width: auto; opacity: 0.85; }

.site-footer p { font-size: 0.85rem; }

/* ---------- Dark theme adjustments ---------- */

:root[data-theme="dark"] .brand-logo,
:root[data-theme="dark"] .footer-logo {
  filter: brightness(1.4);
}

:root[data-theme="dark"] .step-num { color: rgba(154, 155, 219, 0.4); }

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(140, 123, 194, 0.22), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(102, 103, 171, 0.16), transparent 60%);
}

:root[data-theme="dark"] .btn {
  color: #131427;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .btn:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); }

:root[data-theme="dark"] .btn-ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-orb { width: min(220px, 55vw); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { justify-content: center; text-align: center; }

  .nav-burger { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-right: 0;
    padding: 1.4rem 24px 1.8rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .nav-links { display: flex; }

  .nav-links a { font-size: 1.05rem; }
}
