/* ==========================================================================
   RICHARDN — Technology. Creativity. Real Solutions.
   Shared stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #07101f;
  --ink-2: #0b1730;
  --ink-3: #101f3d;
  --brand: #3b5bff;
  --brand-deep: #2743e8;
  --cyan: #22d3ee;
  --text: #0b1526;
  --body: #52617a;
  --muted: #5d6b80;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e4e9f2;
  --line-strong: #d3dbe9;
  --grad: linear-gradient(118deg, #3b5bff 0%, #2e7bf6 48%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(59, 91, 255, 0.1), rgba(34, 211, 238, 0.12));
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(11, 21, 38, 0.05);
  --shadow: 0 24px 60px -28px rgba(9, 24, 54, 0.22);
  --shadow-lg: 0 46px 90px -34px rgba(7, 16, 31, 0.4);
  --max: 1180px;
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 0 0 0.55em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-deep);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(59, 91, 255, 0.2);
}

:focus-visible {
  outline: 3px solid rgba(59, 91, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--text);
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4.2rem, 8.5vw, 7rem) 0;
  position: relative;
}

.section-soft {
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.section-dark {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(59, 91, 255, 0.18), transparent 65%),
    radial-gradient(600px 340px at 8% 100%, rgba(34, 211, 238, 0.1), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-head h2 {
  margin-bottom: 0.45em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.eyebrow.light {
  color: var(--cyan);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

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

.text-muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 32px -12px rgba(43, 79, 245, 0.65);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(43, 79, 245, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(59, 91, 255, 0.04);
}

.btn-sm {
  padding: 0.68rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow.light {
  color: var(--cyan);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(6, 13, 26, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  margin-right: auto;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 38px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(43, 121, 245, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(43, 121, 245, 0.7));
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-name span {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-cta {
  margin-left: 14px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8.5rem, 16vh, 10.5rem) 0 clamp(5rem, 9vw, 7.5rem);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(900px 520px at 78% 10%, rgba(59, 91, 255, 0.22), transparent 62%),
    radial-gradient(700px 480px at 8% 88%, rgba(34, 211, 238, 0.1), transparent 60%),
    radial-gradient(1200px 800px at 50% -20%, #0e1e40 0%, transparent 70%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 255, 0.25), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.1rem;
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 2rem;
}

.hero .btn-row {
  margin-bottom: 2.3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.hero-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

/* Hero visual */
.hero-visual {
  position: relative;
  padding: 26px 10px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2%;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(140deg, rgba(59, 91, 255, 0.52), rgba(34, 211, 238, 0.24));
  filter: blur(56px);
  opacity: 0.72;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.36 / 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: #07152b;
  box-shadow: 0 38px 90px -35px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.035);
  transform: perspective(1200px) rotateY(-5deg) rotateX(1deg);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.hero-image-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0);
  box-shadow: 0 46px 100px -34px rgba(0, 0, 0, 0.82), 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(5, 13, 29, 0.78));
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.9);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 20, 40, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  animation: floaty 7s ease-in-out infinite;
}

.float-card .icon-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.2);
}

.float-card strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.float-card small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  line-height: 1.4;
}

.float-a {
  top: 4px;
  right: -6px;
}

.float-b {
  bottom: 0;
  left: -14px;
  animation-delay: 1.6s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8rem, 15vh, 9.5rem) 0 clamp(3.6rem, 7vw, 5rem);
  color: rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(800px 440px at 82% 0%, rgba(59, 91, 255, 0.24), transparent 65%),
    radial-gradient(600px 380px at 5% 100%, rgba(34, 211, 238, 0.1), transparent 60%),
    var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(85% 90% at 50% 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(85% 90% at 50% 0%, #000 20%, transparent 100%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  max-width: 820px;
  margin-bottom: 0.45em;
}

.page-hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 0;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.crumbs a:hover {
  color: #fff;
}

.crumbs .sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---------- Value strip ---------- */
.value-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

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

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}

.strip-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.strip-item:last-child {
  padding-right: 0;
}

.strip-item .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.strip-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.strip-item span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Cards & icons ---------- */
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  border: 1px solid rgba(59, 91, 255, 0.14);
  background: var(--grad-soft);
  color: var(--brand);
}

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

.icon-tile.light {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 91, 255, 0.28);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 1.15rem 0 0.5rem;
}

.card p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ---------- Services preview ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 0.6rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed rgba(59, 91, 255, 0.35);
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(59, 91, 255, 0.06), rgba(34, 211, 238, 0.05));
}

.cta-card h3 {
  margin-top: 0;
}

/* ---------- Why us split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.split-side {
  position: sticky;
  top: 110px;
}

.split-side h2 {
  margin-bottom: 0.6em;
}

.split-side p {
  margin-bottom: 1.6rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-card {
  padding: 26px;
}

.why-card .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.why-card h3 {
  font-size: 1.03rem;
  margin: 0.9rem 0 0.4rem;
}

.why-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 3.4rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 91, 255, 0.4), rgba(34, 211, 238, 0.4));
}

.step {
  position: relative;
  padding-top: 0;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(59, 91, 255, 0.28), rgba(34, 211, 238, 0.12));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.7);
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Pricing preview / cards ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 91, 255, 0.28);
  box-shadow: var(--shadow);
}

.price-card.featured {
  position: relative;
  border-color: rgba(59, 91, 255, 0.4);
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
    var(--card);
  box-shadow: 0 30px 70px -34px rgba(43, 79, 245, 0.45);
}

.price-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.1);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-label {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.price-value small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card p {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.price-card .btn {
  margin-top: auto;
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}

.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 2.4rem;
}

/* ---------- CTA band ---------- */
.cta-section {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.6rem, 6vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 320px at 100% 0%, rgba(59, 91, 255, 0.3), transparent 65%),
    radial-gradient(480px 300px at 0% 100%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(140deg, #0b1730, #07101f);
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 100%);
  mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 100%);
  pointer-events: none;
}

.cta-band > div {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4em;
}

.cta-band p {
  max-width: 460px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
}

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

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.story-grid p {
  font-size: 1.02rem;
}

.story-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-figure {
  position: relative;
  margin: 0;
  height: 232px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #07101f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 50px -38px rgba(6, 16, 33, 0.9);
}

.story-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-figure:hover img {
  transform: scale(1.05);
}

.story-quote {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(34, 211, 238, 0.16), transparent 70%),
    linear-gradient(150deg, #0c1a33, #07101f);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.story-quote .icon-tile {
  margin-bottom: 1.4rem;
}

.story-quote blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-head);
  font-size: 1.28rem;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.01em;
}

.story-quote span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.quote-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1.6rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.quote-stat {
  padding: 14px;
  background: rgba(8, 16, 31, 0.8);
  text-align: center;
}

.quote-stat strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.quote-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.mv-card {
  padding: 36px;
}

.mv-card .icon-tile {
  margin-bottom: 1.3rem;
}

.mv-card h3 {
  font-size: 1.35rem;
}

.mv-card p {
  margin: 0;
  font-size: 0.96rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 91, 255, 0.25);
  box-shadow: var(--shadow);
}

.value-card .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.value-card h3 {
  font-size: 1rem;
  margin: 0.85rem 0 0.35rem;
}

.value-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- Services page ---------- */
.service-rows {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.8rem, 6vw, 4.4rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.service-row .service-visual {
  order: 2;
}

.service-row:nth-child(even) .service-visual {
  order: -1;
}

.service-info .eyebrow {
  margin-bottom: 0.8rem;
}

.service-info h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 0.5em;
}

.service-info p {
  font-size: 0.98rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 1.5rem 0 1.8rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.feature-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}

.service-visual {
  position: relative;
  min-height: 320px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(300px 220px at 100% 0%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(320px 240px at 0% 100%, rgba(59, 91, 255, 0.16), transparent 70%),
    var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.service-visual::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(59, 91, 255, 0.18);
  box-shadow: 0 0 0 40px rgba(59, 91, 255, 0.05), 0 0 0 80px rgba(34, 211, 238, 0.03);
}

/* Photo-panel variant */
.service-visual.has-img {
  min-height: 360px;
  padding: 26px;
  justify-content: flex-start;
  background: #07101f;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -40px rgba(6, 16, 33, 0.7);
}

.service-visual.has-img::before {
  display: none;
}

.sv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-row:hover .sv-img {
  transform: scale(1.045);
}

.service-visual.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.72) 0%, rgba(6, 13, 25, 0.12) 45%, rgba(6, 13, 25, 0.5) 100%);
}

.service-visual.has-img .sv-top {
  z-index: 2;
  width: 100%;
}

.service-visual.has-img .icon-tile {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(8, 17, 32, 0.48);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.service-visual.has-img .sv-tag {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(8, 17, 32, 0.48);
  color: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.sv-top .icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.sv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.sv-tag {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--body);
  font-size: 0.74rem;
  font-weight: 500;
}

.sv-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.sv-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(59, 91, 255, 0.2), rgba(34, 211, 238, 0.12));
}

.sv-line:nth-child(2) {
  width: 84%;
}

.sv-line:nth-child(3) {
  width: 62%;
}

.sv-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  position: relative;
  z-index: 1;
}

.sv-chart span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #3b5bff, rgba(34, 211, 238, 0.6));
  opacity: 0.8;
}

.sv-chart span:nth-child(1) { height: 34%; }
.sv-chart span:nth-child(2) { height: 52%; }
.sv-chart span:nth-child(3) { height: 42%; }
.sv-chart span:nth-child(4) { height: 68%; }
.sv-chart span:nth-child(5) { height: 58%; }
.sv-chart span:nth-child(6) { height: 84%; }

/* ---------- Pricing page ---------- */
.starting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.start-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.start-card .price-value {
  margin-bottom: 0.4rem;
}

.start-card p {
  margin-bottom: 1.3rem;
}

.start-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.quote-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.quote-row:last-child {
  border-bottom: 0;
}

.quote-row:hover {
  background: rgba(59, 91, 255, 0.03);
}

.quote-row .q-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.quote-row .q-name svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--brand);
}

.quote-row .q-val {
  flex: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-row a.q-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
}

.quote-row a.q-val svg {
  width: 14px;
  height: 14px;
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.factor-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.factor-card strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--text);
}

.factor-card span {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq details[open] {
  border-color: rgba(59, 91, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(59, 91, 255, 0.08);
  color: var(--brand);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 0.92rem;
}

/* ---------- Portfolio page ---------- */
.portfolio-link {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(400px 240px at 90% 0%, rgba(34, 211, 238, 0.2), transparent 65%),
    linear-gradient(140deg, #0c1a33, #07101f);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-link:hover {
  color: #fff;
}

.portfolio-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(60% 100% at 100% 50%, #000, transparent 100%);
  mask-image: radial-gradient(60% 100% at 100% 50%, #000, transparent 100%);
  pointer-events: none;
}

.portfolio-link > div {
  position: relative;
  z-index: 1;
}

.portfolio-link h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin-bottom: 0.3rem;
}

.portfolio-link p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.portfolio-link .link-arrow {
  flex: none;
  color: var(--cyan);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.showcase-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.showcase-thumb {
  position: relative;
  height: 196px;
  overflow: hidden;
  display: grid;
  align-content: start;
  justify-content: start;
  border-bottom: 1px solid var(--line);
  background: #07101f;
}

.showcase-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.showcase-card:hover .showcase-thumb img {
  transform: scale(1.055);
}

.showcase-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.55) 0%, rgba(6, 13, 25, 0) 42%, rgba(6, 13, 25, 0.4) 100%);
}

.showcase-thumb .icon-tile {
  position: relative;
  z-index: 2;
  margin: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(8, 17, 32, 0.5);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tone-a { background: linear-gradient(135deg, #2646e8, #22d3ee); }
.tone-b { background: linear-gradient(135deg, #1f3bb8, #3b5bff); }
.tone-c { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.tone-d { background: linear-gradient(135deg, #3b3bd8, #8b5cf6); }
.tone-e { background: linear-gradient(135deg, #0f4c81, #2ea7e0); }
.tone-f { background: linear-gradient(135deg, #1e3a8a, #22d3ee); }

.showcase-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.showcase-body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.showcase-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.showcase-tag {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.showcase-link {
  margin-top: 1.1rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 0.5em;
}

.contact-intro > p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--body);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  border-color: rgba(59, 91, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--body);
}

.contact-card .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.contact-card .cc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}

.contact-card .cc-value {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
}

.contact-card .cc-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1.6rem;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  font-size: 0.84rem;
  color: var(--muted);
}

.contact-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}

.form-card {
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.form-card .form-sub {
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #f9fbfe;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2352617a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.4rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa6b8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 91, 255, 0.1);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #e5484d;
  background: #fff6f6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.form-actions .btn {
  flex: 1;
  min-width: 180px;
}

.form-hint {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 12px 16px;
  border-radius: 11px;
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #177245;
  font-size: 0.85rem;
}

.form-status.visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #060d19;
  color: rgba(255, 255, 255, 0.55);
  padding: clamp(3.5rem, 7vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-brand .brand {
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 300px;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: rgba(34, 211, 238, 0.75);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid,
  .values-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 6.2rem 1.6rem 2rem;
    background:
      radial-gradient(400px 300px at 100% 0%, rgba(59, 91, 255, 0.2), transparent 65%),
      #08111f;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--cyan);
  }

  .nav-cta {
    margin: 1.2rem 0 0;
    width: 100%;
  }

  .hero-grid,
  .split,
  .story-grid,
  .service-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-visual {
    max-width: 560px;
    margin-top: 1rem;
  }

  .mock {
    transform: none;
  }

  .split-side {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 22px;
  }

  .steps::before {
    display: none;
  }

  .service-row .service-visual,
  .service-row:nth-child(even) .service-visual {
    order: 0;
  }

  .service-visual {
    min-height: 260px;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item {
    padding: 22px;
  }

  .strip-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .starting-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(var(--max), calc(100% - 2.2rem));
  }

  .services-grid,
  .values-grid,
  .showcase-grid,
  .mv-grid,
  .why-grid,
  .factors-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-left: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .float-card {
    padding: 10px 12px;
  }

  .float-a {
    right: -4px;
    top: -10px;
  }

  .float-b {
    left: -4px;
    bottom: -14px;
  }

  .mock-app {
    grid-template-columns: 60px 1fr;
    min-height: 260px;
  }

  .mock-main {
    padding: 16px 14px;
    gap: 12px;
  }

  .mock-chart {
    height: 84px;
    padding: 10px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .form-actions .btn {
    flex: none;
    width: 100%;
  }

  .quote-row {
    padding: 16px 18px;
  }

  .quote-row .q-val {
    font-size: 0.78rem;
  }

  .portfolio-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }

  .story-quote {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  .hero .btn-row .btn,
  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .float-b {
    display: none;
  }

  .mock-side {
    display: none;
  }

  .mock-app {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
