/* SoliSoul brand palette — from the logo: forest green (balance, growth),
   terracotta (warmth, human contact), cream (calm). */
:root {
  --ink: #f2ecdd;
  --soft: #d8d2c0;
  --muted: #97a692;
  --deep: #0e1712;
  --panel: rgba(17, 28, 21, 0.55);
  --panel-strong: rgba(15, 26, 19, 0.85);
  --mint: #8fc9a8;
  --violet: #9db48c;
  --gold: #e8c98f;
  --rose: #d98a68;
  --blue: #7fb5a3;
  --terracotta: #dd7d52;
  --line: rgba(242, 236, 221, 0.13);
  --line-strong: rgba(242, 236, 221, 0.28);
  --radius: 26px;
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--deep);
  font-family:
    Tahoma, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  direction: rtl;
  overflow-x: hidden;
}

::selection {
  color: #0e1712;
  background: var(--gold);
}

.contact-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin: 0 auto 18px;
  display: block;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ---------- canvas & overlays ---------- */

.scene-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(2, 4, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.5), transparent 18%, transparent 82%, rgba(2, 4, 8, 0.6));
}

/* ---------- loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--deep);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--mint);
  border-inline-start-color: var(--violet);
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-word {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.loader-pct {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--mint), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */

.skip-link {
  position: fixed;
  top: -60px;
  inset-inline-start: 16px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--mint);
  color: #06110d;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.85), rgba(4, 7, 12, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 24px rgba(221, 125, 82, 0.35);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: clamp(10px, 2.4vw, 26px);
}

.site-nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-color: var(--mint);
}

.header-action {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-action:hover {
  background: rgba(125, 224, 203, 0.14);
  border-color: var(--mint);
  transform: translateY(-1px);
}

/* ---------- side dots ---------- */

.shape-dots {
  position: fixed;
  z-index: 20;
  inset-inline-end: clamp(10px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 16px;
}

.shape-dots a {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  text-decoration: none;
}

.shape-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
  transition: all 0.3s ease;
}

.shape-dots em {
  position: absolute;
  inset-inline-end: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--soft);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.shape-dots a:hover em {
  opacity: 1;
}

.shape-dots a.is-active i {
  opacity: 1;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(125, 224, 203, 0.8);
  transform: scale(1.5);
}

/* ---------- panels ---------- */

main {
  position: relative;
  z-index: 10;
}

.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 24px) clamp(18px, 6vw, 80px) 60px;
}

.panel-inner {
  max-width: 560px;
}

.panel-hero .panel-inner {
  max-width: 660px;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--mint);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.18;
  font-weight: 800;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.3;
}

.grad {
  background: linear-gradient(90deg, var(--mint), var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede,
.card p {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 2;
}

.hint {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.8rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-solid {
  color: #14100b;
  background: linear-gradient(90deg, var(--terracotta), #e89468);
  box-shadow: 0 12px 34px rgba(221, 125, 82, 0.35);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(221, 125, 82, 0.5);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(143, 201, 168, 0.14);
  border-color: var(--mint);
}

.chips a {
  color: var(--mint);
  text-decoration: none;
}

.chips a:hover {
  text-decoration: underline;
}

/* ---------- blog ---------- */

.panel-blog {
  justify-content: center;
}

.card-blog {
  max-width: 760px;
  width: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.blog-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
  background: rgba(125, 224, 203, 0.07);
}

.blog-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 600;
}

.blog-tag {
  justify-self: start;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--violet);
  border: 1px solid rgba(166, 154, 245, 0.4);
}

.blog-more {
  font-size: 0.78rem;
  color: var(--mint);
}

.blog-all {
  justify-self: center;
  display: inline-block;
}

/* ---------- contact ---------- */

.contact-phone {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  background: linear-gradient(90deg, var(--mint), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot a {
  color: var(--soft);
}

.panel-contact {
  justify-content: center;
}

.card-contact {
  text-align: center;
  max-width: 620px;
}

.card-contact .hero-actions {
  justify-content: center;
  margin-bottom: 26px;
}

.foot {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.fallback {
  position: fixed;
  bottom: 16px;
  inset-inline: 16px;
  z-index: 30;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--soft);
  font-size: 0.85rem;
}

/* ---------- responsive / motion ---------- */

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .shape-dots {
    inset-inline-end: 8px;
    gap: 12px;
  }

  .panel {
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .panel-inner {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .loader-ring {
    animation: none;
  }
}
