@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sg-ink: #071825;
  --sg-deep: #041521;
  --sg-teal: #0d9488;
  --sg-teal-deep: #0f766e;
  --sg-sky: #0284c7;
  --sg-amber: #f59e0b;
  --sg-paper: #eef5f6;
  --sg-surface: #ffffff;
  --sg-muted: #5b6b7c;
  --sg-font: "IRANSans", Tahoma, sans-serif;
  --sg-shadow: 0 24px 60px rgba(4, 21, 33, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sg-font);
  color: var(--sg-ink);
  background: var(--sg-paper);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.sg-brand__accent {
  color: var(--sg-amber);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15),
    0 10px 28px rgba(245, 158, 11, 0.35);
}

.sg-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.sg-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px) saturate(1.2);
  background: linear-gradient(90deg, rgba(4, 21, 33, 0.94), rgba(7, 30, 46, 0.9));
  border-bottom: 1px solid rgba(45, 212, 191, 0.18);
}

.sg-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #e8f4f3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.sg-brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  transform: rotateX(18deg) rotateY(-18deg);
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 30% 28%, #5eead4, transparent 42%),
    linear-gradient(145deg, #0d9488, #0369a1);
  box-shadow:
    8px 10px 0 rgba(2, 132, 199, 0.25),
    0 12px 28px rgba(13, 148, 136, 0.4);
  animation: sg-mark-tilt 5s ease-in-out infinite;
}

.sg-nav__toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 0.75rem;
  background: rgba(13, 148, 136, 0.18);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.sg-nav__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: #e8f4f3;
}

.sg-nav__links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.sg-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #dceff0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sg-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.sg-nav__link--teal { background: rgba(13, 148, 136, 0.22); border-color: rgba(45, 212, 191, 0.28); }
.sg-nav__link--sky { background: rgba(2, 132, 199, 0.22); border-color: rgba(56, 189, 248, 0.28); }
.sg-nav__link--amber { background: rgba(245, 158, 11, 0.16); border-color: rgba(251, 191, 36, 0.3); }
.sg-nav__link--rose { background: rgba(190, 18, 60, 0.18); border-color: rgba(251, 113, 133, 0.28); }

.sg-main {
  flex: 1;
}

/* Hero — one composition, 3D scene */
.sg-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 4.6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  overflow: hidden;
}

.sg-hero__bg {
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 15%, rgba(13, 148, 136, 0.22), transparent 55%),
    radial-gradient(700px 420px at 10% 85%, rgba(2, 132, 199, 0.18), transparent 50%),
    linear-gradient(165deg, #e7f3f4 0%, #f4f8f9 48%, #eef5f6 100%);
}

.sg-hero__content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.sg-hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--sg-teal-deep);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sg-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.35;
  font-weight: 700;
}

.sg-hero__lead {
  margin: 0 0 1.75rem;
  color: var(--sg-muted);
  font-size: 1.02rem;
  font-weight: 400;
}

.sg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.95rem;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}

.sg-btn:hover {
  transform: translateY(-3px) rotateX(8deg);
}

.sg-btn--primary {
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0f766e 55%, #0e7490);
  box-shadow:
    0 14px 0 rgba(6, 78, 74, 0.35),
    0 22px 40px rgba(13, 148, 136, 0.35);
}

.sg-btn--ghost {
  color: var(--sg-teal-deep);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 12px 28px rgba(4, 21, 33, 0.08);
}

/* 3D Stage */
.sg-stage {
  position: relative;
  height: min(520px, 70vh);
  perspective: 1200px;
  perspective-origin: 50% 45%;
}

.sg-stage__world {
  position: absolute;
  inset: 8% 6% 12%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-28deg);
  animation: sg-world-spin 18s linear infinite;
}

.sg-floor {
  position: absolute;
  inset: 18% 8% 8%;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(2, 132, 199, 0.12)),
    repeating-linear-gradient(90deg, rgba(7, 24, 37, 0.06) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(7, 24, 37, 0.06) 0 1px, transparent 1px 42px);
  transform: translateZ(-40px);
  box-shadow: 0 40px 80px rgba(4, 21, 33, 0.18);
}

.sg-cube {
  --spin-dur: 14s;
  --spin-delay: 0s;
  --spin-x: 1;
  --spin-y: 1;
  --spin-z: 0;
  position: absolute;
  left: var(--left, 40%);
  top: var(--top, 40%);
  width: var(--size, 84px);
  height: var(--size, 84px);
  margin: 0;
  transform-style: preserve-3d;
  transform: translateZ(var(--z, 40px));
  animation: sg-cube-spin var(--spin-dur) linear infinite;
  animation-delay: var(--spin-delay);
  will-change: transform;
}

.sg-cube span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.sg-cube .f-front  { transform: translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #14b8a6, #0f766e); }
.sg-cube .f-back   { transform: rotateY(180deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #0e7490, #0369a1); }
.sg-cube .f-right  { transform: rotateY(90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #0d9488, #155e75); }
.sg-cube .f-left   { transform: rotateY(-90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #0891b2, #0e7490); }
.sg-cube .f-top    { transform: rotateX(90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #5eead4, #2dd4bf); color: #083344; }
.sg-cube .f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--size) / 2)); background: linear-gradient(160deg, #134e4a, #115e59); }

.sg-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 220px;
  height: 220px;
  margin: -110px;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.35);
  box-shadow:
    0 0 0 14px rgba(13, 148, 136, 0.06),
    inset 0 0 30px rgba(45, 212, 191, 0.15);
  transform: translateZ(60px) rotateX(70deg);
  animation: sg-ring-pulse 4.5s ease-in-out infinite;
}

.sg-ring--2 {
  width: 300px;
  height: 300px;
  margin: -150px;
  border-color: rgba(2, 132, 199, 0.28);
  animation-delay: -1.5s;
}

.sg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  background: radial-gradient(circle at 30% 30%, #fff8, transparent 35%), linear-gradient(145deg, #2dd4bf, #0284c7);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.28);
  animation: sg-orb-bob 5.5s ease-in-out infinite;
}

.sg-orb--a { width: 56px; height: 56px; top: 12%; left: 18%; animation-delay: 0s; }
.sg-orb--b { width: 36px; height: 36px; top: 22%; right: 14%; background: linear-gradient(145deg, #fbbf24, #f59e0b); animation-delay: -1.2s; }
.sg-orb--c { width: 44px; height: 44px; bottom: 18%; left: 28%; animation-delay: -2.2s; }

/* Sections */
.sg-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.75rem 1.25rem;
}

.sg-section--alt {
  position: relative;
  max-width: none;
  padding-inline: max(1.25rem, calc((100% - 1180px) / 2 + 1.25rem));
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(13, 148, 136, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(13, 148, 136, 0.04), rgba(2, 132, 199, 0.03));
}

.sg-section__head {
  margin-bottom: 1.85rem;
}

.sg-section__head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.sg-section__head p {
  margin: 0;
  color: var(--sg-muted);
  max-width: 46rem;
}

/* 3D service cards */
.sg-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  perspective: 1400px;
}

.sg-service {
  --accent: #0d9488;
  position: relative;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 1.2rem;
  background: linear-gradient(165deg, #ffffff, #f3faf9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    0 18px 0 rgba(7, 24, 37, 0.06),
    0 28px 40px rgba(7, 24, 37, 0.08);
}

.sg-service:hover {
  transform: translateY(-10px) rotateX(8deg) rotateY(-6deg);
  box-shadow:
    0 26px 0 rgba(7, 24, 37, 0.08),
    0 40px 55px rgba(7, 24, 37, 0.14);
}

.sg-service__icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  margin-bottom: 0.95rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, white), var(--accent));
  box-shadow:
    0 10px 0 color-mix(in srgb, var(--accent) 55%, black),
    0 16px 24px color-mix(in srgb, var(--accent) 35%, transparent);
  transform: translateZ(24px);
}

.sg-service h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.sg-service p {
  margin: 0;
  color: var(--sg-muted);
  font-size: 0.9rem;
}

.sg-services--compact .sg-service {
  padding: 1rem 0.9rem 1.05rem;
  text-align: center;
}

.sg-services--compact .sg-service__icon {
  margin: 0 auto 0.75rem;
}

.sg-services--compact .sg-service h3 {
  margin: 0;
  font-size: 0.95rem;
}

/* Trust strip */
.sg-trust {
  max-width: 1180px;
  margin: -0.5rem auto 0;
  padding: 0.85rem 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.sg-trust span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0b3b4a;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.88));
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 8px 18px rgba(4, 21, 33, 0.06);
}

/* Expertise showcase */
.sg-expertise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  perspective: 1400px;
}

.sg-expertise__card {
  --card-a: #0d9488;
  --card-b: #0f766e;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: 1.4rem;
  background: linear-gradient(160deg, #ffffff, #f4faf9);
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow:
    0 18px 0 rgba(7, 24, 37, 0.05),
    0 28px 48px rgba(4, 21, 33, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sg-expertise__card:hover {
  transform: translateY(-8px) rotateX(5deg) rotateY(-4deg);
  box-shadow:
    0 24px 0 rgba(7, 24, 37, 0.07),
    0 36px 55px rgba(4, 21, 33, 0.14);
}

.sg-expertise__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  left: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-a) 35%, white), transparent 70%);
  z-index: -1;
  opacity: 0.85;
  animation: sg-orb-bob 7s ease-in-out infinite;
}

.sg-expertise__visual {
  display: flex;
  justify-content: flex-end;
  margin: -0.35rem 0 0.65rem;
  opacity: 0.95;
}

.sg-expertise__visual svg {
  filter: drop-shadow(0 10px 16px rgba(4, 21, 33, 0.12));
}

.sg-expertise__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--card-a), var(--card-b));
  box-shadow:
    0 8px 0 color-mix(in srgb, var(--card-b) 55%, black),
    0 12px 20px color-mix(in srgb, var(--card-a) 30%, transparent);
}

.sg-expertise__card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  font-weight: 700;
}

.sg-expertise__card p {
  margin: 0 0 1rem;
  color: var(--sg-muted);
  font-size: 0.94rem;
}

.sg-expertise__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-expertise__tags li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--card-b) 80%, #083344);
  background: color-mix(in srgb, var(--card-a) 12%, white);
  border: 1px solid color-mix(in srgb, var(--card-a) 22%, transparent);
}

.sg-expertise__card--chat {
  --card-a: #14b8a6;
  --card-b: #0f766e;
}

.sg-expertise__card--rag {
  --card-a: #38bdf8;
  --card-b: #0284c7;
}

.sg-expertise__card--llm {
  --card-a: #fbbf24;
  --card-b: #d97706;
}

.sg-expertise__card--pbi {
  --card-a: #2dd4bf;
  --card-b: #0e7490;
}

.sg-expertise__card--llm .sg-expertise__badge,
.sg-expertise__card--llm .sg-expertise__tags li {
  color: #083344;
}

.sg-expertise__card--llm .sg-expertise__badge {
  color: #083344;
}

/* Capabilities */
.sg-caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.sg-cap {
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #ffffff, #f5fafb);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow:
    0 16px 0 rgba(7, 24, 37, 0.05),
    0 24px 40px rgba(4, 21, 33, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sg-cap:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 0 rgba(7, 24, 37, 0.07),
    0 32px 48px rgba(4, 21, 33, 0.12);
}

.sg-cap h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.sg-cap p {
  margin: 0 0 0.9rem;
  color: var(--sg-muted);
  font-size: 0.92rem;
}

.sg-cap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-cap li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0b3b4a;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.18);
}

/* Process 3D */
.sg-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
  perspective: 1200px;
}

.sg-process li {
  counter-increment: step;
  position: relative;
  padding: 1.35rem 1.1rem 1.2rem;
  border-radius: 1.15rem;
  background: linear-gradient(160deg, #ffffff, #f7fbfb);
  border: 1px solid rgba(13, 148, 136, 0.12);
  transform: rotateX(4deg);
  box-shadow: 0 18px 36px rgba(4, 21, 33, 0.08);
  transition: transform 0.3s ease;
}

.sg-process li:hover {
  transform: translateY(-8px) rotateX(10deg);
}

.sg-process li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  margin-left: 0.5rem;
  background: linear-gradient(145deg, #0f766e, #083344);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 0 rgba(4, 21, 33, 0.35);
}

.sg-process strong {
  font-weight: 700;
}

.sg-process span {
  display: block;
  margin-top: 0.55rem;
  color: var(--sg-muted);
}

/* About panel */
.sg-about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.sg-about__panel {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.9));
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: var(--sg-shadow);
  transform: perspective(1000px) rotateY(4deg);
}

.sg-about__panel p {
  margin: 0 0 1rem;
}

.sg-about__values {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.sg-about__values li {
  position: relative;
  padding: 0.55rem 0.85rem 0.55rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.14);
  font-weight: 500;
  font-size: 0.92rem;
}

.sg-about__values li::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
  vertical-align: middle;
}

.sg-about__viz {
  min-height: 220px;
  border-radius: 1.4rem;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #041521, #0b3b4a);
  box-shadow: var(--sg-shadow);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.sg-about__viz::before,
.sg-about__viz::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.sg-about__viz::before {
  width: 140px;
  height: 140px;
  top: 10%;
  right: 8%;
  background: radial-gradient(circle at 35% 35%, #5eead4, #0d9488 60%, transparent 70%);
  animation: sg-orb-bob 6s ease-in-out infinite;
  opacity: 0.55;
}

.sg-about__viz::after {
  width: 90px;
  height: 90px;
  bottom: 12%;
  left: 10%;
  background: radial-gradient(circle at 35% 35%, #fbbf24, #f59e0b 65%, transparent 72%);
  animation: sg-orb-bob 5s ease-in-out infinite reverse;
  opacity: 0.5;
}

.sg-flow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sg-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.9rem;
  color: #ecfeff;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.45), rgba(2, 132, 199, 0.35));
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.sg-flow i {
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5eead4, transparent);
  display: block;
}

/* Contact */
.sg-contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.sg-contact-card {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(160deg, #041521, #0b2c3d);
  color: #e8f4f3;
  box-shadow: var(--sg-shadow);
  transform: perspective(900px) rotateY(6deg);
}

.sg-contact-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.sg-contact-card p {
  margin: 0;
  color: #b6cdd3;
}

.sg-contact-wrap--simple {
  align-items: stretch;
}

.sg-contact-info {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(13, 148, 136, 0.1), transparent 60%),
    radial-gradient(380px 160px at 0% 100%, rgba(2, 132, 199, 0.08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3faf9);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow:
    0 18px 0 rgba(7, 24, 37, 0.05),
    0 28px 55px rgba(4, 21, 33, 0.1);
  transform: perspective(900px) rotateY(-3deg);
}

.sg-contact-info__item {
  --item-accent: #0d9488;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.2rem;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 251, 0.92));
  border: 1px solid color-mix(in srgb, var(--item-accent) 22%, transparent);
  box-shadow:
    0 14px 0 color-mix(in srgb, var(--item-accent) 18%, transparent),
    0 18px 32px rgba(4, 21, 33, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sg-contact-info__item::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--item-accent) 28%, white), transparent 70%);
  z-index: -1;
  opacity: 0.9;
}

.sg-contact-info__item--phone {
  --item-accent: #0d9488;
}

.sg-contact-info__item--mail {
  --item-accent: #0284c7;
}

.sg-contact-info__item:hover {
  transform: translateY(-6px) rotateX(6deg);
  border-color: color-mix(in srgb, var(--item-accent) 45%, transparent);
  box-shadow:
    0 18px 0 color-mix(in srgb, var(--item-accent) 28%, transparent),
    0 28px 42px rgba(4, 21, 33, 0.14);
}

.sg-contact-info__icon {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--item-accent) 75%, white), var(--item-accent));
  box-shadow:
    0 10px 0 color-mix(in srgb, var(--item-accent) 45%, black),
    0 14px 22px color-mix(in srgb, var(--item-accent) 35%, transparent);
  transform: translateZ(18px);
}

.sg-contact-info__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.sg-contact-info__label {
  color: var(--sg-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.sg-contact-info__item strong {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 700;
  color: var(--sg-ink);
  letter-spacing: 0.03em;
  line-height: 1.5;
  word-break: break-word;
}

.sg-contact-info__hint {
  color: color-mix(in srgb, var(--item-accent) 70%, #64748b);
  font-size: 0.8rem;
  font-weight: 400;
}

.sg-contact-info__arrow {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--item-accent);
  background: color-mix(in srgb, var(--item-accent) 12%, white);
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.sg-contact-info__item:hover .sg-contact-info__arrow {
  transform: translateX(-4px);
  background: color-mix(in srgb, var(--item-accent) 18%, white);
}

.sg-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #041521, #031018);
  color: #dceff0;
  padding: 1.35rem;
  text-align: center;
  font-size: 0.92rem;
}

/* Reveal + FAB */
.sg-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.sg-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.sg-fab {
  position: fixed;
  left: 1rem;
  bottom: 1.15rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: #042f2e;
  background: linear-gradient(145deg, #fbbf24, #f59e0b);
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow:
    0 10px 0 rgba(146, 64, 14, 0.35),
    0 18px 32px rgba(4, 21, 33, 0.28);
}

@keyframes sg-world-spin {
  from { transform: rotateX(58deg) rotateZ(-28deg); }
  to { transform: rotateX(58deg) rotateZ(332deg); }
}

@keyframes sg-cube-spin {
  from {
    transform:
      translateZ(var(--z, 40px))
      rotateX(0deg)
      rotateY(0deg)
      rotateZ(0deg);
  }
  to {
    transform:
      translateZ(var(--z, 40px))
      rotateX(calc(360deg * var(--spin-x)))
      rotateY(calc(360deg * var(--spin-y)))
      rotateZ(calc(360deg * var(--spin-z)));
  }
}

@keyframes sg-ring-pulse {
  0%, 100% { opacity: 0.7; transform: translateZ(60px) rotateX(70deg) scale(1); }
  50% { opacity: 1; transform: translateZ(70px) rotateX(70deg) scale(1.04); }
}

@keyframes sg-orb-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes sg-mark-tilt {
  0%, 100% { transform: rotateX(18deg) rotateY(-18deg); }
  50% { transform: rotateX(10deg) rotateY(-28deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sg-stage__world,
  .sg-cube,
  .sg-ring,
  .sg-orb,
  .sg-brand__mark,
  .sg-about__viz::before,
  .sg-about__viz::after,
  .sg-reveal {
    animation: none !important;
    transition: none !important;
  }

  .sg-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .sg-hero,
  .sg-services,
  .sg-expertise,
  .sg-caps,
  .sg-process,
  .sg-about,
  .sg-contact-wrap {
    grid-template-columns: 1fr;
  }

  .sg-services--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-nav__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .sg-nav__toggle {
    display: inline-flex;
  }

  .sg-nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.35rem 0 0.25rem;
  }

  .sg-nav__links.is-open {
    display: flex;
  }

  .sg-nav__link {
    justify-content: center;
  }

  .sg-hero {
    min-height: auto;
    padding-top: 1.75rem;
  }

  .sg-stage {
    height: 340px;
    order: -1;
  }

  .sg-stage__world {
    animation-duration: 28s;
  }

  .sg-about__panel,
  .sg-about__viz,
  .sg-contact-card,
  .sg-contact-info {
    transform: none;
  }

  .sg-fab {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .sg-services--compact {
    grid-template-columns: 1fr 1fr;
  }

  .sg-trust {
    gap: 0.4rem;
  }

  .sg-trust span {
    font-size: 0.74rem;
    padding: 0.3rem 0.7rem;
  }
}
