/* =========================================================
   INITZ TECHNOLOGIES — Modern Redesign
   Design system + components + animations
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --brand: #1f7ae0;
  --brand-2: #18b8d8;
  --brand-3: #7c5cff;
  --accent: #ff6b6b;

  --ink: #0b1220;
  --ink-soft: #41506b;
  --muted: #6b7a99;
  --line: #e6ecf5;

  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-deep: #070b18;

  --grad: linear-gradient(
    120deg,
    var(--brand) 0%,
    var(--brand-2) 50%,
    var(--brand-3) 100%
  );
  --grad-soft: linear-gradient(
    120deg,
    rgba(31, 122, 224, 0.12),
    rgba(124, 92, 255, 0.12)
  );

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(17, 40, 80, 0.08);
  --shadow: 0 18px 50px rgba(17, 40, 80, 0.12);
  --shadow-lg: 0 30px 80px rgba(17, 40, 80, 0.18);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
section {
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(31, 122, 224, 0.18);
}

.section {
  padding: clamp(70px, 9vw, 130px) 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 18px 0 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--grad);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--bg-btn);
  box-shadow: 0 12px 30px rgba(31, 122, 224, 0.35);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    filter 0.35s var(--ease);
  will-change: transform;
}
.btn i {
  transition: transform 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(31, 122, 224, 0.45);
  filter: saturate(1.1);
}
.btn:hover i {
  transform: translateX(4px);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  box-shadow: var(--shadow);
  border-color: rgba(31, 122, 224, 0.4);
}

.btn-light {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 11, 24, 0.25);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px rgba(17, 40, 80, 0.08);
  border-bottom: 1px solid rgba(230, 236, 245, 0.8);
}
.nav {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand img {
  height: 50px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.nav-links a .nav-ico {
  display: none;
}
.nav-menu-foot {
  display: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(
      900px 500px at 85% -10%,
      rgba(24, 184, 216, 0.16),
      transparent 60%
    ),
    radial-gradient(
      700px 500px at 0% 20%,
      rgba(124, 92, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-copy {
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin: 22px 0 22px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust {
  margin-top: 38px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-trust .t-item strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
}
.hero-trust .t-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-orb {
  position: relative;
  width: min(440px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 40px 120px rgba(31, 122, 224, 0.45);
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}
.hero-orb::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px dashed rgba(31, 122, 224, 0.35);
  animation: spin 26s linear infinite;
}
.hero-orb::after {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, 0.18);
  animation: spin 40s linear infinite reverse;
}
.hero-orb .orb-core {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 55%
    ),
    var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  box-shadow: inset 0 -20px 60px rgba(7, 11, 24, 0.3);
}
.hero-orb .orb-core i {
  font-size: 4.6rem;
  opacity: 0.95;
}
.hero-orb .orb-logo {
  width: 42%;
  height: auto;
  display: block;
  opacity: 0.98;
  filter: drop-shadow(0 8px 18px rgba(7, 11, 24, 0.2));
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}
.floating-card i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--grad);
  font-size: 1.1rem;
}
.floating-card small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
}
.fc-1 {
  top: 6%;
  left: -4%;
  animation: float 6s ease-in-out infinite;
}
.fc-2 {
  bottom: 10%;
  right: -6%;
  animation: float 7.5s ease-in-out infinite 0.6s;
}
.fc-3 {
  bottom: -2%;
  left: 8%;
  animation: float 6.8s ease-in-out infinite 1.2s;
}

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

/* ---------- Marquee (tech strip) ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 26s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.marquee-track span i {
  color: var(--brand);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 122, 224, 0.3);
}
.stat-card .num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
}
.stat-card .num .suffix {
  -webkit-text-fill-color: var(--brand);
}
.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px 200px at 100% 0%,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
}
.about-visual h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 14px;
  position: relative;
}
.about-visual p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.about-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  position: relative;
}
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.about-points li i {
  margin-top: 3px;
}
.about-points li strong {
  display: block;
  font-family: "Sora", sans-serif;
}
.about-points li span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 16px 0 18px;
}
.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
}
.service-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.45s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}
.service-card:hover .s-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.service-card:hover .s-link {
  color: #fff;
}

.s-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--brand);
  background: var(--grad-soft);
  margin-bottom: 22px;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}
.s-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
}
.s-link i {
  transition: transform 0.35s var(--ease);
}
.service-card:hover .s-link i {
  transform: translateX(5px);
}

/* ---------- Why / features ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-card i {
  font-size: 1.7rem;
  color: var(--brand);
  margin-bottom: 16px;
}
.why-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(60px, 8vw, 110px) 0;
}
.cta-inner {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-deep);
  color: #fff;
  text-align: center;
  padding: clamp(50px, 7vw, 90px) 26px;
  overflow: hidden;
  isolation: isolate;
}
.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
}
.cta-inner::before {
  width: 420px;
  height: 420px;
  background: rgba(31, 122, 224, 0.5);
  top: -120px;
  left: -80px;
}
.cta-inner::after {
  width: 380px;
  height: 380px;
  background: rgba(124, 92, 255, 0.45);
  bottom: -120px;
  right: -60px;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid img {
  height: 50px;
  margin-bottom: 18px;
}
.footer-grid h5 {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-grid p {
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.footer-grid a {
  transition: color 0.3s var(--ease);
}
.footer-grid a:hover {
  color: var(--brand-2);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--grad);
  transform: translateY(-3px);
  color: #fff;
}
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Page banner (contact) ---------- */
.page-banner {
  padding: calc(var(--header-h) + 80px) 0 80px;
  text-align: center;
  background:
    radial-gradient(
      700px 400px at 80% -20%,
      rgba(24, 184, 216, 0.18),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 0% 0%,
      rgba(124, 92, 255, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #f7faff, #fff);
  position: relative;
  overflow: hidden;
}
.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}
.page-banner .crumbs {
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}
.page-banner .crumbs a {
  color: var(--brand);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card p a {
  color: inherit;
  transition: color 0.3s var(--ease);
}
.info-card p a:hover {
  color: var(--brand);
}
.contact-info {
  display: grid;
  gap: 18px;
}
.info-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.info-card .ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  background: var(--grad);
}
.info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.info-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.contact-form > p {
  color: var(--muted);
  margin-bottom: 26px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}
[data-reveal][data-delay="5"] {
  transition-delay: 0.5s;
}

/* ---------- Scroll progress + to-top ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 200;
  transition: width 0.1s linear;
}
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
  z-index: 90;
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 10px;
  }
  .hero-orb {
    width: min(320px, 70%);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 18px) 20px 24px;
    background: linear-gradient(170deg, #ffffff 0%, #f4f8ff 100%);
    border-left: 1px solid var(--line);
    border-radius: 26px 0 0 26px;
    box-shadow: -30px 0 80px rgba(7, 11, 24, 0.18);
    transform: translateX(110%);
    opacity: 1;
    pointer-events: none;
    overflow-y: auto;
    transition: transform 0.5s var(--ease);
  }
  .nav-links::before {
    content: "Menu";
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 8px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    transform: none;
    pointer-events: auto;
  }
  .nav-links li {
    opacity: 0;
    transform: translateX(26px);
    transition:
      opacity 0.45s var(--ease),
      transform 0.45s var(--ease);
  }
  .nav-links.open li {
    opacity: 1;
    transform: none;
  }
  .nav-links.open li:nth-child(1) {
    transition-delay: 0.12s;
  }
  .nav-links.open li:nth-child(2) {
    transition-delay: 0.18s;
  }
  .nav-links.open li:nth-child(3) {
    transition-delay: 0.24s;
  }
  .nav-links.open li:nth-child(4) {
    transition-delay: 0.3s;
  }
  .nav-links.open li:nth-child(5) {
    transition-delay: 0.36s;
  }
  .nav-links a {
    padding: 14px 14px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: 16px;
  }
  .nav-links a .nav-ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--brand);
    background: var(--grad-soft);
    transition:
      color 0.3s var(--ease),
      background 0.3s var(--ease),
      transform 0.3s var(--ease);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--grad-soft);
    color: var(--brand);
  }
  .nav-links a:hover .nav-ico,
  .nav-links a.active .nav-ico {
    color: #fff;
    background: var(--grad);
    transform: scale(1.05);
  }
  .nav-menu-foot {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding: 18px 8px 4px;
    border-top: 1px solid var(--line);
  }
  .nav-menu-foot a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    transition:
      transform 0.3s var(--ease),
      color 0.3s var(--ease),
      background 0.3s var(--ease);
  }
  .nav-menu-foot a:hover {
    color: #fff;
    background: var(--grad);
    transform: translateY(-3px);
    border-color: transparent;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(7, 11, 24, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
  }
  .floating-card {
    display: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
