:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f8f9fa;
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --purple: #7c3aed;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 10px 35px rgba(32, 33, 36, 0.08);
  --shadow-md: 0 24px 70px rgba(32, 33, 36, 0.13);
  --shadow-lg: 0 40px 100px rgba(32, 33, 36, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, .navbar-brand {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: top 0.2s ease;
}

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

.container { max-width: 1220px; }
.section-space { padding: 120px 0; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-kicker.light { color: rgba(255,255,255,.78); }

.section-heading h2,
.process-copy h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
}

.section-heading > div > p,
.section-heading > p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 999px;
  border-width: 1px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 25px; font-size: 1rem; }
.btn-sm { min-height: 42px; padding: 0 18px; }

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue-dark);
  --bs-btn-hover-border-color: var(--blue-dark);
  --bs-btn-active-bg: var(--blue-dark);
  --bs-btn-active-border-color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(26, 115, 232, .24);
}

.btn-primary:hover { box-shadow: 0 16px 36px rgba(26, 115, 232, .30); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #101114; border-color: #101114; box-shadow: 0 12px 28px rgba(32,33,36,.20); }

.btn-soft {
  color: var(--ink);
  background: rgba(255,255,255,.74);
  border-color: rgba(95,99,104,.18);
  box-shadow: 0 8px 25px rgba(32,33,36,.06);
  backdrop-filter: blur(14px);
}

.btn-soft:hover { background: #fff; border-color: rgba(95,99,104,.28); }
.btn-ghost { color: var(--ink); background: transparent; border-color: transparent; }
.btn-ghost:hover { background: #f1f3f4; }

.btn-plan {
  color: var(--ink);
  background: #fff;
  border-color: #d7dce1;
}
.btn-plan:hover { background: #f8f9fa; border-color: #b9bec5; }

/* Navigation */
.agency-navbar {
  top: 14px;
  z-index: 1050;
  padding: 0;
  transition: top .3s ease;
}

.nav-shell {
  min-height: 70px;
  padding: 10px 12px 10px 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(32,33,36,.08);
  backdrop-filter: blur(22px) saturate(150%);
  transition: min-height .3s ease, border-radius .3s ease, box-shadow .3s ease;
}

.agency-navbar.is-scrolled { top: 8px; }
.agency-navbar.is-scrolled .nav-shell { min-height: 62px; box-shadow: 0 14px 42px rgba(32,33,36,.12); }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 28px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 3px;
  width: 19px;
  height: 19px;
  transform: rotate(8deg);
}

.brand-mark i { display: block; border-radius: 2px 6px 2px 6px; }
.brand-mark i:nth-child(1) { background: var(--blue); }
.brand-mark i:nth-child(2) { background: var(--red); }
.brand-mark i:nth-child(3) { background: var(--yellow); }
.brand-mark i:nth-child(4) { background: var(--green); }

.nav-links { gap: 4px; }
.nav-links .nav-link {
  position: relative;
  padding: 10px 13px !important;
  color: #4b4e53;
  font-size: .94rem;
  font-weight: 600;
  border-radius: 999px;
}
.nav-links .nav-link:hover { color: var(--ink); background: #f1f3f4; }

.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f4;
  box-shadow: none !important;
}
.navbar-toggler-icon { width: 20px; height: 20px; }

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 80px 0 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(66,133,244,.16), transparent 27%),
    radial-gradient(circle at 92% 4%, rgba(234,67,53,.10), transparent 23%),
    linear-gradient(180deg, #fff 0%, #fbfcff 62%, #fff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: radial-gradient(rgba(26,115,232,.13) 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-row { padding-top: 50px; padding-bottom: 40px; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .68;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-one { width: 260px; height: 260px; top: 18%; left: -130px; background: rgba(52,168,83,.12); }
.hero-orb-two { width: 220px; height: 220px; right: -90px; bottom: 12%; background: rgba(251,188,4,.14); animation-delay: -3s; }

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 13px 8px 9px;
  color: #3c4043;
  background: rgba(255,255,255,.80);
  border: 1px solid #e4e7eb;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(32,33,36,.06);
  font-size: .83rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}
.announcement-pill:hover { color: var(--blue); }
.announcement-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(52,168,83,.12); }

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.15rem);
  font-weight: 700;
  line-height: .98;
}

.gradient-text {
  display: inline-block;
  min-width: 5.9em;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--purple) 42%, var(--red) 72%, var(--yellow));
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 7s ease infinite;
  transition: opacity .25s ease, transform .25s ease;
}
.word-switcher.is-changing { opacity: 0; transform: translateY(8px); }

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}
.avatar-stack { display: flex; padding-left: 9px; }
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -9px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 800;
}
.avatar-stack span:nth-child(1) { background: var(--blue); }
.avatar-stack span:nth-child(2) { background: var(--red); }
.avatar-stack span:nth-child(3) { background: var(--green); }
.proof-stars { display: flex; gap: 2px; color: var(--yellow); font-size: .74rem; }
.hero-proof p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }

.hero-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  max-width: 650px;
  margin-left: auto;
  padding: 36px 20px 54px 40px;
  transform: perspective(1200px) rotateY(var(--tilt-x)) rotateX(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

.visual-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.browser-topbar,
.showcase-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 54px;
  padding: 0 18px;
  color: #777b80;
  background: #fff;
  border-bottom: 1px solid #eceff2;
  font-size: .72rem;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  max-width: 250px;
  margin: 0 auto;
  padding: 7px 13px;
  background: #f1f3f4;
  border-radius: 999px;
}

.hero-image-wrap { position: relative; min-height: 560px; overflow: hidden; }
.hero-image-wrap > img { width: 100%; height: 560px; object-fit: cover; object-position: center; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,18,24,.55) 100%); }

.mini-site-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding: 27px;
  color: #fff;
  background: rgba(16,20,26,.64);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  backdrop-filter: blur(16px);
}
.mini-site-card span { display: block; margin-bottom: 9px; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.mini-site-card strong { display: block; font-family: "Manrope", sans-serif; font-size: 2rem; line-height: 1.08; letter-spacing: -.04em; }
.mini-site-card button { margin-top: 20px; padding: 10px 16px; color: var(--ink); background: #fff; border: 0; border-radius: 999px; font-size: .78rem; font-weight: 800; }

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(32,33,36,.16);
  backdrop-filter: blur(16px);
  animation: cardFloat 5s ease-in-out infinite;
}
.floating-card small { display: block; color: var(--muted); font-size: .67rem; }
.floating-card strong { display: block; color: var(--ink); font-size: .85rem; line-height: 1.35; }
.metric-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.metric-icon.blue { color: var(--blue); background: rgba(26,115,232,.12); }
.metric-rise { margin-left: 8px; color: var(--green); font-size: .68rem; font-weight: 800; }
.speed-card { top: 2px; right: -10px; }
.support-card { left: 0; bottom: 0; animation-delay: -1.5s; }
.launch-card { right: -10px; bottom: 80px; animation-delay: -3s; }
.launch-card > i { color: var(--green); font-size: 1.5rem; }
.status-avatar { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: linear-gradient(145deg, var(--blue), var(--purple)); border-radius: 50%; font-weight: 800; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }

/* Trust strip */
.trust-strip { padding: 30px 0 18px; border-top: 1px solid #f0f1f3; border-bottom: 1px solid #f0f1f3; }
.trust-label { margin-bottom: 20px; color: #8a8d91; text-align: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 24s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 9px; padding: 0 28px; color: #60646a; font-family: "Manrope", sans-serif; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.marquee-track i { color: #9aa0a6; font-size: 1.15rem; }
.logo-marquee:hover .marquee-track { animation-play-state: paused; }

/* Services */
.services-section { background: #fff; }
.bento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  padding: 34px;
  background: var(--surface-soft);
  border: 1px solid #edf0f2;
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bento-card:hover { transform: translateY(-6px); border-color: #dfe4e8; box-shadow: var(--shadow-md); }
.bento-card h3 { max-width: 480px; margin: 18px 0 12px; font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 700; line-height: 1.13; }
.bento-card p { max-width: 550px; margin-bottom: 22px; color: var(--muted); }
.bento-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; }
.bento-large { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; grid-column: span 2; min-height: 510px; background: linear-gradient(145deg, #f7faff, #f1f6ff); }
.bento-wide { grid-column: span 2; min-height: 360px; background: linear-gradient(145deg, #f7fff9, #f0faf4); }
.service-number { position: absolute; top: 30px; right: 30px; color: #c6cbd1; font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; font-size: 1.25rem; }
.google-blue { color: var(--blue); background: rgba(26,115,232,.12); }
.google-red { color: var(--red); background: rgba(234,67,53,.12); }
.google-yellow { color: #9a6c00; background: rgba(251,188,4,.18); }
.google-green { color: var(--green); background: rgba(52,168,83,.12); }

.ui-preview {
  position: relative;
  display: flex;
  align-self: end;
  height: 365px;
  margin: 25px -65px -70px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5f2;
  border-radius: 24px 0 0 0;
  box-shadow: 0 35px 70px rgba(26,115,232,.16);
  transform: rotate(-2deg);
}
.ui-sidebar { width: 58px; padding: 22px 16px; background: #1d2430; }
.ui-sidebar i { display: block; width: 25px; height: 25px; margin-bottom: 14px; border-radius: 8px; background: rgba(255,255,255,.12); }
.ui-sidebar i:first-child { background: var(--blue); }
.ui-body { flex: 1; padding: 24px; }
.ui-nav { width: 56%; height: 11px; border-radius: 99px; background: #e9edf2; }
.ui-headline { width: 78%; height: 36px; margin-top: 55px; border-radius: 8px; background: #202124; }
.ui-copy { width: 56%; height: 11px; margin-top: 16px; border-radius: 99px; background: #d9dfe6; box-shadow: 0 18px 0 #d9dfe6; }
.ui-button { width: 105px; height: 36px; margin-top: 50px; border-radius: 99px; background: var(--blue); }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.ui-cards i { height: 90px; border-radius: 12px; background: linear-gradient(145deg, #f2f5f8, #e8eef6); }

.speed-gauge {
  position: absolute;
  right: -35px;
  bottom: -45px;
  display: grid;
  place-items: center;
  width: 215px;
  height: 215px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 352deg, #dfe5eb 352deg 360deg);
  box-shadow: inset 0 0 0 23px #f8f9fa, 0 20px 45px rgba(32,33,36,.10);
}
.speed-gauge::before { content: ""; position: absolute; inset: 39px; border-radius: 50%; background: #fff; }
.speed-gauge span, .speed-gauge small { position: relative; z-index: 1; }
.speed-gauge span { font-family: "Manrope", sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; }
.speed-gauge small { margin-top: -55px; color: var(--muted); font-size: .72rem; }

.care-list { display: grid; gap: 10px; margin-top: 30px; }
.care-list span { display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: rgba(255,255,255,.72); border: 1px solid #e6e9ec; border-radius: 14px; font-size: .88rem; font-weight: 700; }
.care-list i { color: var(--green); }

.growth-chart { position: relative; height: 220px; padding: 22px; overflow: hidden; background: rgba(255,255,255,.72); border: 1px solid #e0ebe4; border-radius: 22px; }
.chart-bars { position: absolute; inset: 30px 24px 30px; display: flex; align-items: end; justify-content: space-between; gap: 9px; opacity: .55; }
.chart-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(to top, rgba(52,168,83,.20), rgba(52,168,83,.02)); }
.chart-bars i:nth-child(1) { height: 24%; } .chart-bars i:nth-child(2) { height: 38%; } .chart-bars i:nth-child(3) { height: 32%; } .chart-bars i:nth-child(4) { height: 58%; } .chart-bars i:nth-child(5) { height: 70%; } .chart-bars i:nth-child(6) { height: 92%; }
.growth-chart svg { position: absolute; inset: 32px 22px auto; width: calc(100% - 44px); height: 140px; overflow: visible; }
.growth-chart path { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 5px 7px rgba(52,168,83,.20)); stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawLine 4s ease-in-out infinite alternate; }
.chart-badge { position: absolute; right: 18px; bottom: 16px; padding: 8px 11px; color: #176b34; background: #e7f6ec; border-radius: 999px; font-size: .7rem; font-weight: 800; }

/* Process */
.process-section { background: #f7f8fa; }
.process-shell { padding: 28px; background: #fff; border: 1px solid #eaedf0; border-radius: 40px; box-shadow: var(--shadow-sm); }
.process-image { position: relative; min-height: 680px; overflow: hidden; border-radius: 30px; }
.process-image img { width: 100%; height: 680px; object-fit: cover; object-position: center; }
.process-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(13,16,22,.72) 100%); }
.process-quote { position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 22px; color: #fff; background: rgba(21,25,31,.52); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; backdrop-filter: blur(16px); }
.process-quote i { font-size: 1.5rem; opacity: .72; }
.process-quote p { margin: 4px 0 0; font-family: "Manrope", sans-serif; font-size: 1.3rem; font-weight: 700; }
.process-copy { padding: 30px 28px 30px 10px; }
.process-copy h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.process-intro { margin: 22px 0 28px; color: var(--muted); font-size: 1.05rem; }
.process-steps { border-top: 1px solid var(--line); }
.process-step { border-bottom: 1px solid var(--line); }
.process-step button { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; width: 100%; padding: 20px 0; color: var(--ink); background: transparent; border: 0; text-align: left; }
.process-step button span { color: #9aa0a6; font-size: .75rem; font-weight: 800; }
.process-step button strong { font-family: "Manrope", sans-serif; font-size: 1.15rem; }
.process-step button i { transition: transform .3s ease; }
.step-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.step-content p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); padding-left: 40px; }
.process-step.active .step-content { grid-template-rows: 1fr; }
.process-step.active .step-content p { padding-bottom: 20px; }
.process-step.active button strong { color: var(--blue); }
.process-step.active button i { transform: rotate(45deg); }

/* Showcase */
.showcase-section { overflow: hidden; background: #fff; }
.showcase-section .section-heading { max-width: 790px; }
.showcase-section .section-heading p { margin: 22px auto 0; }
.showcase-browser { position: relative; max-width: 1050px; margin-left: auto; margin-right: auto; border: 1px solid #dde2e7; border-radius: 28px; box-shadow: var(--shadow-lg); }
.showcase-toolbar { border-radius: 28px 28px 0 0; }
.showcase-url { flex: 1; max-width: 290px; margin: auto; padding: 7px 15px; color: #7b8085; background: #f1f3f4; border-radius: 999px; text-align: center; }
.showcase-content { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 560px; overflow: hidden; border-radius: 0 0 28px 28px; background: #101319; }
.showcase-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px; color: #fff; background: radial-gradient(circle at 0 0, rgba(26,115,232,.32), transparent 40%), #101319; }
.showcase-copy > span { color: #8ab4f8; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.showcase-copy h3 { margin: 16px 0; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 700; line-height: 1.02; }
.showcase-copy p { color: rgba(255,255,255,.65); }
.showcase-actions { display: flex; gap: 10px; margin-top: 14px; }
.showcase-actions i { display: block; width: 118px; height: 42px; border-radius: 999px; background: #fff; }
.showcase-actions i:last-child { width: 90px; background: transparent; border: 1px solid rgba(255,255,255,.34); }
.showcase-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.mobile-preview { position: absolute; right: -70px; bottom: -65px; width: 210px; height: 420px; padding: 32px 14px 16px; overflow: hidden; background: #fff; border: 7px solid #17191d; border-radius: 36px; box-shadow: 0 35px 70px rgba(0,0,0,.30); transform: rotate(5deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 78px; height: 18px; background: #17191d; border-radius: 999px; transform: translateX(-50%); }
.mobile-nav { width: 55%; height: 9px; margin: 8px 0 26px; border-radius: 99px; background: #e4e8ec; }
.mobile-photo { height: 145px; border-radius: 14px; background: linear-gradient(145deg, rgba(26,115,232,.75), rgba(124,58,237,.80)), url('/images/developer-workspace.jpg') center/cover; }
.mobile-title { width: 82%; height: 20px; margin-top: 24px; border-radius: 5px; background: #202124; box-shadow: 0 27px 0 #202124; }
.mobile-line { width: 68%; height: 8px; margin-top: 51px; border-radius: 99px; background: #dfe3e7; box-shadow: 0 15px 0 #dfe3e7; }
.mobile-button { width: 92px; height: 34px; margin-top: 34px; border-radius: 99px; background: var(--blue); }

/* Pricing */
.pricing-section { background: #f7f8fa; }
.pricing-card { position: relative; height: 100%; padding: 32px; background: #fff; border: 1px solid #e3e6e9; border-radius: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pricing-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: rgba(26,115,232,.55); box-shadow: 0 20px 60px rgba(26,115,232,.12); }
.popular-badge { position: absolute; top: -14px; right: 22px; padding: 8px 13px; color: #fff; background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 999px; box-shadow: 0 10px 22px rgba(26,115,232,.22); font-size: .7rem; font-weight: 800; }
.plan-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--blue); background: #eef5ff; border-radius: 15px; font-family: "Manrope", sans-serif; font-size: .82rem; font-weight: 800; }
.pricing-top h3 { margin: 21px 0 8px; font-size: 1.6rem; font-weight: 700; }
.pricing-top p { min-height: 78px; color: var(--muted); font-size: .94rem; }
.price-block { margin: 25px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-block > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-block > div:first-child strong { font-family: "Manrope", sans-serif; font-size: 1.15rem; }
.price-block span { color: var(--muted); font-size: .78rem; }
.monthly-price { margin-top: 8px; }
.monthly-price strong { font-family: "Manrope", sans-serif; font-size: 2.1rem; letter-spacing: -.05em; }
.plan-features { display: grid; gap: 12px; min-height: 190px; margin: 0 0 28px; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 10px; color: #464a4f; font-size: .9rem; }
.plan-features i { margin-top: 3px; color: var(--green); }

/* Testimonial */
.testimonial-section { background: #fff; }
.testimonial-card { position: relative; max-width: 1000px; margin: 0 auto; padding: 70px; overflow: hidden; background: linear-gradient(145deg, #f6f9ff, #fff8f5); border: 1px solid #eceff3; border-radius: 36px; text-align: center; }
.testimonial-card::before, .testimonial-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; filter: blur(5px); }
.testimonial-card::before { top: -100px; left: -70px; background: rgba(26,115,232,.12); }
.testimonial-card::after { right: -70px; bottom: -100px; background: rgba(234,67,53,.10); }
.quote-mark { position: relative; z-index: 1; color: var(--blue); font-family: Georgia, serif; font-size: 5rem; line-height: .7; }
.testimonial-text { position: relative; z-index: 1; max-width: 820px; margin: 22px auto 35px; font-family: "Manrope", sans-serif; font-size: clamp(1.65rem, 3vw, 2.65rem); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.testimonial-meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 13px; text-align: left; }
.client-avatar { display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: linear-gradient(145deg, var(--blue), var(--purple)); border-radius: 50%; font-weight: 800; }
.testimonial-meta strong, .testimonial-meta span { display: block; }
.testimonial-meta span { color: var(--muted); font-size: .8rem; }
.testimonial-stars { display: flex; gap: 2px; color: var(--yellow); font-size: .75rem; }

/* CTA */
.final-cta-section { padding: 0 0 90px; }
.final-cta { position: relative; overflow: hidden; padding: 100px 50px; color: #fff; background: #15171b; border-radius: 40px; text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(rgba(255,255,255,.34) 1px, transparent 1px); background-size: 22px 22px; }
.final-cta h2 { max-width: 900px; margin: 0 auto 22px; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 700; line-height: 1.05; }
.final-cta p { max-width: 700px; margin: 0 auto 34px; color: rgba(255,255,255,.68); font-size: 1.06rem; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.cta-orb-one { width: 330px; height: 330px; left: -120px; top: -150px; background: rgba(26,115,232,.55); }
.cta-orb-two { width: 260px; height: 260px; right: -80px; bottom: -120px; background: rgba(124,58,237,.50); }

/* Footer */
.site-footer { padding: 80px 0 28px; background: #f7f8fa; border-top: 1px solid #eceff1; }
.footer-brand { margin-bottom: 22px; }
.footer-intro { max-width: 470px; color: var(--muted); }
.footer-socials { display: flex; gap: 9px; margin-top: 24px; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; color: #4b4f54; background: #fff; border: 1px solid #e2e5e8; border-radius: 50%; transition: transform .25s ease, color .25s ease, border-color .25s ease; }
.footer-socials a:hover { color: var(--blue); border-color: rgba(26,115,232,.4); transform: translateY(-3px); }
.footer-main h3 { margin: 4px 0 19px; font-family: "DM Sans", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-main .col-6 a, .footer-main .col-12 a { display: block; width: fit-content; margin-bottom: 11px; color: var(--muted); font-size: .92rem; }
.footer-main a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 60px; padding-top: 24px; color: #81858a; border-top: 1px solid #e1e4e7; font-size: .78rem; }

/* Reveal and motion */
.reveal-up, .reveal-scale { opacity: 0; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal-up { transform: translateY(34px); }
.reveal-scale { transform: translateY(20px) scale(.97); }
.reveal-up.is-visible, .reveal-scale.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }

@keyframes gradientShift { 0%,100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes orbFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(15px,-20px,0); } }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,168,83,.35); } 50% { box-shadow: 0 0 0 6px rgba(52,168,83,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

@media (max-width: 1199.98px) {
  .hero-copy h1 { font-size: clamp(3.1rem, 6.6vw, 5.25rem); }
  .hero-visual { padding-left: 15px; }
  .floating-card { transform: scale(.92); }
  .support-card { left: -15px; }
  .launch-card { right: -5px; }
  .mobile-preview { right: -20px; }
}

@media (max-width: 991.98px) {
  .section-space { padding: 90px 0; }
  .agency-navbar { top: 8px; padding: 0 10px; }
  .nav-shell { padding: 9px 12px 9px 17px; border-radius: 19px; }
  .navbar-collapse { margin-top: 12px; padding: 12px 0 4px; border-top: 1px solid #eceff1; }
  .nav-links { align-items: stretch !important; }
  .nav-links .nav-link { padding: 11px 12px !important; }
  .nav-actions { padding-top: 9px; }
  .nav-actions .btn, .nav-actions form { flex: 1; }
  .nav-actions form .btn { width: 100%; }
  .hero-section { padding-top: 115px; }
  .hero-row { min-height: auto !important; text-align: center; }
  .hero-copy h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { max-width: 690px; margin: 25px auto 0; }
  .bento-large { grid-template-columns: 1fr; }
  .ui-preview { margin: 30px -80px -90px 80px; }
  .process-copy { padding: 20px 10px; }
  .process-image, .process-image img { min-height: 520px; height: 520px; }
  .showcase-browser { max-width: 850px; }
  .showcase-content { grid-template-columns: 1fr; }
  .showcase-copy { min-height: 430px; }
  .showcase-photo img { min-height: 430px; height: 430px; }
  .mobile-preview { right: 20px; bottom: -55px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 767.98px) {
  .section-space { padding: 72px 0; }
  .hero-section { padding-top: 104px; }
  .hero-row { padding-top: 35px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .gradient-text { min-width: auto; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: flex-start; text-align: left; }
  .hero-visual { padding: 24px 0 55px; }
  .visual-frame { transform: none; border-radius: 21px; }
  .hero-image-wrap, .hero-image-wrap > img { min-height: 480px; height: 480px; }
  .mini-site-card { left: 18px; right: 18px; bottom: 18px; padding: 20px; }
  .mini-site-card strong { font-size: 1.55rem; }
  .floating-card { padding: 11px 12px; animation: none; }
  .speed-card { top: 3px; right: -4px; }
  .support-card { left: 5px; bottom: 5px; }
  .launch-card { display: none; }
  .trust-strip { padding-top: 25px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-large, .bento-wide { grid-column: auto; min-height: auto; padding: 28px; }
  .bento-large { padding-bottom: 0; }
  .ui-preview { height: 310px; margin: 25px -55px -50px 0; }
  .speed-gauge { position: relative; right: auto; bottom: auto; width: 175px; height: 175px; margin: 30px auto -15px; }
  .growth-chart { margin-top: 25px; }
  .process-shell { padding: 16px; border-radius: 28px; }
  .process-image, .process-image img { min-height: 430px; height: 430px; border-radius: 22px; }
  .process-quote { left: 16px; right: 16px; bottom: 16px; }
  .showcase-content { min-height: auto; }
  .showcase-copy { min-height: 390px; padding: 38px 28px; }
  .showcase-copy h3 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .showcase-photo img { min-height: 350px; height: 350px; }
  .mobile-preview { display: none; }
  .pricing-top p, .plan-features { min-height: auto; }
  .testimonial-card { padding: 50px 24px; border-radius: 28px; }
  .testimonial-meta { flex-wrap: wrap; }
  .testimonial-stars { width: 100%; justify-content: center; margin: 5px 0 0; }
  .final-cta-section { padding-bottom: 30px; }
  .final-cta { padding: 75px 24px; border-radius: 28px; }
  .final-cta .btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .nav-shell { padding-left: 14px; }
  .navbar-brand { font-size: 1.08rem; }
  .hero-copy h1 { font-size: 2.75rem; }
  .announcement-pill { font-size: .72rem; }
  .hero-proof p { max-width: 240px; }
  .hero-image-wrap, .hero-image-wrap > img { height: 430px; min-height: 430px; }
  .floating-card small { display: none; }
  .floating-card strong { font-size: .74rem; }
  .metric-rise { display: none; }
  .bento-card h3 { font-size: 1.75rem; }
  .ui-preview { height: 270px; }
  .ui-headline { margin-top: 36px; }
  .process-image, .process-image img { height: 380px; min-height: 380px; }
  .footer-bottom { margin-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up, .reveal-scale { opacity: 1; transform: none; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.subpage-main {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.inner-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(66,133,244,.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(234,67,53,.08), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.inner-hero::before,
.contact-hero-section::before,
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image: radial-gradient(rgba(26,115,232,.15) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}

.inner-hero-row { position: relative; z-index: 2; min-height: 520px; }
.inner-hero-copy { position: relative; z-index: 2; }
.inner-hero-copy h1,
.pricing-hero-copy h1,
.contact-intro h1,
.legal-hero-inner h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.065em;
}
.inner-hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}
.inner-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.inner-orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .72; animation: orbFloat 9s ease-in-out infinite; }
.inner-orb-blue { width: 360px; height: 360px; left: -190px; top: 220px; background: rgba(26,115,232,.13); }
.inner-orb-green { width: 300px; height: 300px; right: -160px; bottom: -40px; background: rgba(52,168,83,.12); animation-delay: -3s; }
.inner-orb-purple { width: 420px; height: 420px; right: -210px; top: 140px; background: rgba(124,58,237,.13); }
.inner-orb-yellow { width: 310px; height: 310px; right: -150px; bottom: -100px; background: rgba(251,188,4,.15); animation-delay: -2s; }

.inner-image-stack { position: relative; max-width: 610px; margin-left: auto; padding: 32px 22px 44px; }
.inner-image-stack::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 12%;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(26,115,232,.18), rgba(124,58,237,.10));
  transform: rotate(5deg);
}
.inner-image-main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.90);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2.2deg);
}
.inner-image-main img { width: 100%; height: 590px; object-fit: cover; }
.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 13px 15px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(32,33,36,.14);
  backdrop-filter: blur(18px);
  animation: cardFloat 5s ease-in-out infinite;
}
.floating-note-top { top: 4px; right: -25px; }
.floating-note-bottom { left: -18px; bottom: 8px; animation-delay: -2s; }
.note-icon,
.contact-route-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1.05rem;
}
.floating-note strong,
.floating-note small { display: block; }
.floating-note strong { font-size: .88rem; }
.floating-note small { color: var(--muted); font-size: .72rem; }
.google-blue { color: #1557b0; background: #e8f0fe; }
.google-red { color: #b3261e; background: #fce8e6; }
.google-yellow { color: #8a6200; background: #fff3cd; }
.google-green { color: #137333; background: #e6f4ea; }

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid rgba(95,99,104,.18);
}
.about-proof-grid div { padding-right: 18px; }
.about-proof-grid div + div { padding-left: 18px; border-left: 1px solid rgba(95,99,104,.16); }
.about-proof-grid strong,
.about-proof-grid span { display: block; }
.about-proof-grid strong { font-family: "Manrope", sans-serif; font-size: .95rem; }
.about-proof-grid span { margin-top: 4px; color: var(--muted); font-size: .76rem; }

.about-values-section { background: #fff; }
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.about-value-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #eaedf0;
  border-radius: 28px;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.about-value-card:nth-child(1) { background: linear-gradient(145deg, #f3f7ff, #fff); }
.about-value-card:nth-child(2) { background: linear-gradient(145deg, #fff5f3, #fff); }
.about-value-card:nth-child(3) { background: linear-gradient(145deg, #fff9e9, #fff); }
.about-value-card:nth-child(4) { background: linear-gradient(145deg, #eef9f1, #fff); }
.about-value-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.value-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: #a2a7ad;
  font-family: "Manrope", sans-serif;
  font-size: .76rem;
  font-weight: 800;
}
.about-value-card .service-icon { margin-bottom: 42px; }
.about-value-card h3 { margin-bottom: 12px; font-size: 1.65rem; font-weight: 700; }
.about-value-card p { max-width: 460px; margin: 0; color: var(--muted); }

.about-model-section { background: #f7f8fa; }
.about-model-shell {
  padding: 28px;
  background: #fff;
  border: 1px solid #e8ebee;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
}
.about-model-image { position: relative; overflow: hidden; border-radius: 30px; }
.about-model-image img { width: 100%; height: 650px; object-fit: cover; }
.image-caption-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: #fff;
  background: rgba(18,21,27,.62);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  backdrop-filter: blur(15px);
}
.image-caption-card > span { display: grid; place-items: center; width: 46px; height: 46px; background: rgba(255,255,255,.14); border-radius: 14px; }
.image-caption-card strong,
.image-caption-card small { display: block; }
.image-caption-card small { color: rgba(255,255,255,.65); }
.about-model-copy { padding: 30px 34px 30px 12px; }
.about-model-copy h2,
.service-delivery-copy h2,
.pricing-faq-copy h2,
.contact-next-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
}
.about-model-copy > p,
.service-delivery-copy > p,
.pricing-faq-copy > p { color: var(--muted); font-size: 1.05rem; }
.about-check-list { display: grid; gap: 18px; margin: 34px 0; }
.about-check-list > div { display: flex; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.about-check-list i { margin-top: 4px; color: var(--green); }
.about-check-list span { color: var(--muted); }
.about-check-list strong { color: var(--ink); }
.text-arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; }
.text-arrow-link i { transition: transform .25s ease; }
.text-arrow-link:hover i { transform: translateX(4px); }

/* Services */
.services-inner-hero { background: radial-gradient(circle at 10% 16%, rgba(52,168,83,.10), transparent 25%), radial-gradient(circle at 90% 12%, rgba(124,58,237,.12), transparent 28%), #fff; }
.services-hero-visual { position: relative; min-height: 480px; padding: 40px 10px 35px; }
.services-visual-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 27px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
}
.services-screen { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 370px; padding: 42px; background: linear-gradient(145deg, #f7faff, #fffaf7); }
.services-screen-copy { display: flex; flex-direction: column; justify-content: center; }
.services-screen-copy > i { width: 68px; height: 8px; border-radius: 99px; background: #8ab4f8; }
.services-screen-copy strong { display: block; width: 88%; height: 26px; margin-top: 25px; border-radius: 7px; background: #202124; box-shadow: 0 38px 0 #202124; }
.services-screen-copy span { display: block; width: 75%; height: 8px; margin-top: 64px; border-radius: 99px; background: #d6dbe0; box-shadow: 0 17px 0 #e1e5e9; }
.services-screen-copy button { width: 110px; height: 40px; margin-top: 44px; border: 0; border-radius: 99px; background: var(--blue); }
.services-screen-art { position: relative; min-height: 286px; }
.services-screen-art > div { position: absolute; inset: 20px 0 0 25px; border-radius: 50% 45% 42% 55%; background: linear-gradient(135deg, rgba(26,115,232,.92), rgba(124,58,237,.84)); transform: rotate(-8deg); }
.services-screen-art span { position: absolute; display: block; background: rgba(255,255,255,.86); border-radius: 18px; box-shadow: 0 14px 35px rgba(32,33,36,.13); }
.services-screen-art span:nth-child(2) { width: 130px; height: 90px; top: 52px; right: -10px; }
.services-screen-art span:nth-child(3) { width: 115px; height: 110px; left: -8px; bottom: 12px; }
.service-float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; box-shadow: 0 15px 35px rgba(32,33,36,.13); backdrop-filter: blur(16px); font-size: .75rem; font-weight: 800; animation: cardFloat 5s ease-in-out infinite; }
.service-float-card i { font-size: 1rem; }
.service-float-code { left: -15px; top: 18px; color: #1557b0; }
.service-float-speed { right: -12px; top: 112px; color: #b3261e; animation-delay: -1.7s; }
.service-float-care { left: 35px; bottom: 3px; color: #137333; animation-delay: -3.2s; }

.service-catalog-section { background: #f7f8fa; }
.service-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.catalog-service-card {
  position: relative;
  min-height: 320px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.catalog-service-card:hover { transform: translateY(-7px); border-color: rgba(26,115,232,.25); box-shadow: var(--shadow-md); }
.catalog-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.catalog-index { color: #a2a7ad; font-family: "Manrope", sans-serif; font-size: .74rem; font-weight: 800; }
.catalog-service-card h3 { margin: 42px 0 13px; font-size: clamp(1.55rem, 2.4vw, 2rem); font-weight: 700; }
.catalog-service-card p { min-height: 78px; color: var(--muted); }
.catalog-service-card > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--blue); font-size: .9rem; font-weight: 800; }
.catalog-service-card > a i { transition: transform .25s ease; }
.catalog-service-card > a:hover i { transform: translateX(4px); }

.service-delivery-section { background: #fff; }
.service-delivery-shell { padding: 50px; background: linear-gradient(145deg, #f5f8ff, #fff8f4); border: 1px solid #e9edf2; border-radius: 38px; }
.service-delivery-copy { padding-right: 20px; }
.delivery-step-list { display: grid; gap: 14px; }
.delivery-step { display: grid; grid-template-columns: 42px 1fr 48px; gap: 16px; align-items: center; padding: 23px; background: rgba(255,255,255,.82); border: 1px solid rgba(222,226,230,.9); border-radius: 22px; box-shadow: 0 12px 30px rgba(32,33,36,.05); }
.delivery-step > span { color: #9aa0a6; font-size: .74rem; font-weight: 800; }
.delivery-step h3 { margin: 0 0 5px; font-size: 1.18rem; }
.delivery-step p { margin: 0; color: var(--muted); font-size: .88rem; }
.delivery-step > i { display: grid; place-items: center; width: 48px; height: 48px; color: var(--blue); background: #edf4ff; border-radius: 16px; font-size: 1.15rem; }
.service-support-strip { padding: 0 0 110px; background: #fff; }
.support-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid #e3e7eb; border-radius: 25px; overflow: hidden; }
.support-strip-grid > div { padding: 27px; background: #fff; }
.support-strip-grid > div + div { border-left: 1px solid #e3e7eb; }
.support-strip-grid i { color: var(--blue); font-size: 1.2rem; }
.support-strip-grid strong,
.support-strip-grid span { display: block; }
.support-strip-grid strong { margin-top: 14px; font-size: .92rem; }
.support-strip-grid span { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.services-final-cta { background: #fff; }

/* Pricing page */
.pricing-inner-hero { min-height: auto; padding: 165px 0 155px; text-align: center; }
.pricing-hero-copy { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; }
.pricing-hero-copy h1 { max-width: 980px; margin-left: auto; margin-right: auto; }
.pricing-hero-copy > p { max-width: 680px; margin: 27px auto 0; color: var(--muted); font-size: 1.08rem; }
.pricing-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 33px; }
.pricing-trust-row span { display: inline-flex; align-items: center; gap: 7px; color: #4f5358; font-size: .88rem; font-weight: 700; }
.pricing-trust-row i { color: var(--green); }
.pricing-page-section { position: relative; z-index: 3; margin-top: -72px; padding: 0 0 105px; background: linear-gradient(to bottom, transparent 0 72px, #f7f8fa 72px 100%); }
.pricing-page-row { align-items: stretch; }
.pricing-card-page { padding: 34px; box-shadow: 0 15px 45px rgba(32,33,36,.07); }
.pricing-card-page.featured { transform: translateY(-15px); }
.pricing-card-page.featured:hover { transform: translateY(-21px); }
.pricing-card-heading { display: flex; align-items: center; justify-content: space-between; }
.plan-label { color: #8a8f95; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-block-page > div:first-child { flex-direction: column; align-items: flex-start; }
.price-block-page > div:first-child span { margin-top: 2px; }
.included-label { margin-bottom: 15px; color: #7c8187; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pricing-page-features { min-height: 225px; }
.pricing-admin-note { display: flex; align-items: flex-start; gap: 13px; max-width: 850px; margin: 45px auto 0; padding: 18px 20px; background: #fff; border: 1px solid #e1e5e9; border-radius: 17px; }
.pricing-admin-note > i { color: var(--blue); }
.pricing-admin-note strong,
.pricing-admin-note span { display: block; }
.pricing-admin-note strong { font-size: .88rem; }
.pricing-admin-note span { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.pricing-includes-section { background: #fff; }
.pricing-section-heading { max-width: 800px; }
.pricing-section-heading p { margin: 20px auto 0; }
.pricing-includes-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pricing-include-card { min-height: 285px; padding: 34px; background: #f8f9fa; border: 1px solid #e6e9ed; border-radius: 26px; }
.pricing-include-card i { display: grid; place-items: center; width: 52px; height: 52px; color: var(--blue); background: #e8f0fe; border-radius: 17px; font-size: 1.25rem; }
.pricing-include-card:nth-child(2) i { color: #137333; background: #e6f4ea; }
.pricing-include-card:nth-child(3) i { color: #b3261e; background: #fce8e6; }
.pricing-include-card h3 { margin: 34px 0 12px; font-size: 1.45rem; }
.pricing-include-card p { margin: 0; color: var(--muted); }
.pricing-faq-section { background: #f7f8fa; }
.pricing-faq-copy { position: sticky; top: 115px; }
.faq-list { background: #fff; border: 1px solid #e3e7eb; border-radius: 26px; overflow: hidden; }
.faq-list details + details { border-top: 1px solid #e7eaed; }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 24px 26px; cursor: pointer; list-style: none; font-family: "Manrope", sans-serif; font-size: 1.05rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { transition: transform .3s ease; }
.faq-list details[open] summary { color: var(--blue); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { margin: -6px 26px 0; padding: 0 40px 24px 0; color: var(--muted); }

/* Contact */
.contact-hero-section { position: relative; padding: 165px 0 110px; overflow: hidden; background: linear-gradient(180deg, #fff, #f8faff); }
.contact-grid-bg { position: absolute; inset: auto -10% 0 45%; height: 85%; opacity: .28; background-image: linear-gradient(rgba(26,115,232,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(26,115,232,.12) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(135deg, transparent, #000 30%, transparent 90%); }
.contact-page-row { position: relative; z-index: 2; }
.contact-intro { position: sticky; top: 120px; padding-top: 34px; }
.contact-intro h1 { max-width: 620px; font-size: clamp(3.3rem, 6vw, 5.8rem); }
.contact-intro > p { max-width: 580px; margin-top: 25px; color: var(--muted); font-size: 1.05rem; }
.contact-route-list { display: grid; gap: 12px; margin-top: 35px; }
.contact-route-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; padding: 15px; background: rgba(255,255,255,.76); border: 1px solid #e3e7eb; border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.contact-route-card:hover { transform: translateY(-3px); border-color: rgba(26,115,232,.3); box-shadow: var(--shadow-sm); }
.contact-route-card strong,
.contact-route-card small { display: block; }
.contact-route-card strong { font-size: .9rem; }
.contact-route-card small { color: var(--muted); font-size: .75rem; }
.contact-route-card > i { color: #8b9096; }
.contact-expectation { display: flex; gap: 14px; margin-top: 30px; padding: 20px; background: #202124; color: #fff; border-radius: 20px; }
.expectation-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; color: #8ab4f8; background: rgba(255,255,255,.09); border-radius: 14px; }
.contact-expectation strong { font-size: .92rem; }
.contact-expectation p { margin: 5px 0 0; color: rgba(255,255,255,.62); font-size: .78rem; }
.contact-form-wrap { padding: 38px; background: rgba(255,255,255,.92); border: 1px solid #e2e6ea; border-radius: 34px; box-shadow: 0 30px 80px rgba(32,33,36,.12); backdrop-filter: blur(18px); }
.contact-form-heading { margin-bottom: 28px; }
.contact-form-heading > span { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-form-heading h2 { margin: 10px 0 8px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
.contact-form-heading p { margin: 0; color: var(--muted); }
.modern-contact-form label { display: block; margin-bottom: 8px; color: #4a4e53; font-size: .8rem; font-weight: 800; }
.modern-contact-form label span { color: var(--red); }
.input-shell { position: relative; }
.input-shell > i { position: absolute; left: 16px; top: 50%; z-index: 2; color: #959aa0; transform: translateY(-50%); }
.modern-contact-form .form-control { min-height: 54px; padding: 13px 16px 13px 45px; color: var(--ink); background: #f8f9fa; border: 1px solid #dfe3e7; border-radius: 15px; box-shadow: none; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.modern-contact-form .textarea-shell .form-control { min-height: 165px; padding: 15px 16px; resize: vertical; }
.modern-contact-form .form-control:focus { background: #fff; border-color: rgba(26,115,232,.65); box-shadow: 0 0 0 4px rgba(26,115,232,.10); }
.modern-contact-form .form-control::placeholder { color: #a5aab0; }
.field-help { display: block; margin-top: 8px; color: #8a8f95; font-size: .72rem; }
.contact-submit { min-width: 205px; }
.contact-next-section { padding: 0 0 110px; background: #f8faff; }
.contact-next-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 48px; background: #fff; border: 1px solid #e4e8eb; border-radius: 32px; }
.contact-next-heading h2 { margin-bottom: 0; font-size: clamp(2.1rem, 3.7vw, 3.5rem); }
.contact-next-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.contact-next-steps > div { padding-left: 18px; border-left: 2px solid #e1e5e9; }
.contact-next-steps span { color: var(--blue); font-size: .72rem; font-weight: 800; }
.contact-next-steps strong { display: block; margin: 15px 0 7px; font-family: "Manrope", sans-serif; }
.contact-next-steps p { margin: 0; color: var(--muted); font-size: .8rem; }

/* Legal */
.legal-hero { position: relative; padding: 175px 0 95px; overflow: hidden; background: linear-gradient(180deg, #fff, #f7f9fc); }
.legal-hero-inner { position: relative; z-index: 2; max-width: 920px; }
.legal-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 28px; color: var(--blue); background: #e8f0fe; border: 1px solid rgba(26,115,232,.12); border-radius: 20px; font-size: 1.45rem; }
.legal-hero-inner h1 { font-size: clamp(3.2rem, 6vw, 5.8rem); }
.legal-hero-inner > p { max-width: 650px; margin: 23px 0 0; color: var(--muted); font-size: 1.05rem; }
.legal-content-section { padding: 90px 0 120px; background: #f7f9fc; }
.legal-side-card { position: sticky; top: 120px; padding: 24px; background: #fff; border: 1px solid #e3e7ea; border-radius: 22px; }
.legal-side-card > span { display: block; color: #92979d; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-side-card > strong { display: block; margin-top: 9px; font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.legal-side-rule { height: 1px; margin: 22px 0; background: #e5e8eb; }
.legal-side-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--blue); font-size: .8rem; font-weight: 800; }
.legal-document-card { padding: 52px; background: #fff; border: 1px solid #e2e6e9; border-radius: 30px; box-shadow: 0 20px 55px rgba(32,33,36,.07); }
.document-label { display: inline-flex; padding: 7px 10px; color: #1557b0; background: #edf4ff; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.legal-lead { margin: 22px 0 0; color: #45494e; font-size: 1.25rem; line-height: 1.8; }
.legal-divider { height: 1px; margin: 42px 0; background: #e4e8eb; }
.legal-placeholder-note { display: flex; gap: 15px; padding: 22px; background: #fff8e6; border: 1px solid #f3dfaa; border-radius: 19px; }
.legal-placeholder-note > i { margin-top: 3px; color: #9b6c00; }
.legal-placeholder-note strong { color: #704f00; }
.legal-placeholder-note p { margin: 5px 0 0; color: #76612b; font-size: .88rem; }
.legal-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.legal-review-grid > div { min-height: 180px; padding: 23px; background: #f8f9fa; border: 1px solid #e6e9ec; border-radius: 20px; }
.legal-review-grid i { color: var(--blue); font-size: 1.25rem; }
.legal-review-grid strong,
.legal-review-grid span { display: block; }
.legal-review-grid strong { margin-top: 22px; }
.legal-review-grid span { margin-top: 6px; color: var(--muted); font-size: .82rem; }

@media (max-width: 1199.98px) {
  .inner-hero-copy h1 { font-size: clamp(3.4rem, 6.4vw, 5.5rem); }
  .floating-note-top { right: 0; }
  .floating-note-bottom { left: 0; }
  .pricing-card-page { padding: 28px; }
  .contact-form-wrap { padding: 32px; }
}

@media (max-width: 991.98px) {
  .inner-hero { min-height: auto; padding: 145px 0 85px; }
  .inner-hero-row { min-height: auto; }
  .inner-hero-copy { text-align: center; }
  .inner-hero-copy h1,
  .inner-hero-lead { margin-left: auto; margin-right: auto; }
  .inner-hero-actions { justify-content: center; }
  .about-proof-grid { margin-left: auto; margin-right: auto; text-align: left; }
  .inner-image-stack { max-width: 680px; margin: 25px auto 0; }
  .inner-image-main img { height: 600px; }
  .about-model-copy { padding: 25px 12px 15px; }
  .services-hero-visual { max-width: 700px; margin: 20px auto 0; }
  .service-delivery-copy { padding: 0; }
  .support-strip-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .support-strip-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid #e3e7eb; }
  .support-strip-grid > div:nth-child(4) { border-top: 1px solid #e3e7eb; }
  .pricing-inner-hero { padding: 150px 0 130px; }
  .pricing-card-page.featured,
  .pricing-card-page.featured:hover { transform: none; }
  .pricing-faq-copy,
  .contact-intro,
  .legal-side-card { position: static; }
  .contact-hero-section { padding: 145px 0 90px; }
  .contact-intro { padding-top: 0; text-align: center; }
  .contact-intro h1,
  .contact-intro > p { margin-left: auto; margin-right: auto; }
  .contact-route-list,
  .contact-expectation { max-width: 620px; margin-left: auto; margin-right: auto; text-align: left; }
  .contact-form-wrap { margin-top: 20px; }
  .contact-next-shell { grid-template-columns: 1fr; gap: 36px; }
  .legal-content-section { padding-top: 65px; }
}

@media (max-width: 767.98px) {
  .inner-hero { padding: 125px 0 70px; }
  .inner-hero-copy h1,
  .pricing-hero-copy h1,
  .contact-intro h1,
  .legal-hero-inner h1 { font-size: clamp(2.8rem, 13vw, 4.35rem); }
  .inner-hero-actions .btn { width: 100%; }
  .about-proof-grid { grid-template-columns: 1fr; gap: 15px; }
  .about-proof-grid div { padding: 0 0 15px; }
  .about-proof-grid div + div { padding: 0 0 15px; border-left: 0; border-top: 1px solid rgba(95,99,104,.16); padding-top: 15px; }
  .inner-image-stack { padding: 30px 0 45px; }
  .inner-image-main { border-width: 7px; border-radius: 25px; transform: none; }
  .inner-image-main img { height: 470px; }
  .floating-note { min-width: 185px; }
  .floating-note-top { right: -3px; }
  .floating-note-bottom { left: -3px; }
  .about-value-grid,
  .service-catalog-grid,
  .pricing-includes-grid,
  .legal-review-grid { grid-template-columns: 1fr; }
  .about-value-card,
  .catalog-service-card { min-height: auto; padding: 28px; }
  .about-model-shell { padding: 15px; border-radius: 29px; }
  .about-model-image img { height: 500px; }
  .about-model-copy { padding: 25px 8px 10px; }
  .services-screen { grid-template-columns: 1fr; min-height: 430px; padding: 30px; }
  .services-screen-art { min-height: 180px; margin-top: 10px; }
  .services-screen-art > div { inset: 5px 20px; }
  .services-screen-art span:nth-child(2) { width: 95px; height: 62px; top: 15px; right: 5px; }
  .services-screen-art span:nth-child(3) { width: 85px; height: 72px; left: 4px; bottom: 8px; }
  .services-visual-window { transform: none; }
  .service-float-speed { right: 0; }
  .service-float-code { left: 0; }
  .service-float-care { left: 18px; }
  .service-delivery-shell { padding: 28px; border-radius: 28px; }
  .delivery-step { grid-template-columns: 34px 1fr; }
  .delivery-step > i { display: none; }
  .support-strip-grid { grid-template-columns: 1fr; }
  .support-strip-grid > div + div { border-left: 0; border-top: 1px solid #e3e7eb; }
  .service-support-strip { padding-bottom: 75px; }
  .pricing-inner-hero { padding: 130px 0 118px; }
  .pricing-trust-row { align-items: flex-start; flex-direction: column; max-width: 240px; margin-left: auto; margin-right: auto; text-align: left; }
  .pricing-page-section { margin-top: -52px; background: linear-gradient(to bottom, transparent 0 52px, #f7f8fa 52px 100%); }
  .pricing-card-page { padding: 28px; }
  .pricing-page-features { min-height: auto; }
  .pricing-admin-note { margin-top: 30px; }
  .pricing-include-card { min-height: auto; }
  .faq-list summary { padding: 20px; }
  .faq-list details p { margin-left: 20px; padding-right: 20px; }
  .contact-hero-section { padding: 125px 0 75px; }
  .contact-form-wrap { padding: 26px 20px; border-radius: 26px; }
  .contact-submit { width: 100%; }
  .contact-next-shell { padding: 30px 24px; }
  .contact-next-steps { grid-template-columns: 1fr; }
  .contact-next-steps > div { padding: 0 0 18px; border-left: 0; border-bottom: 2px solid #e1e5e9; }
  .contact-next-steps > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .legal-hero { padding: 135px 0 75px; }
  .legal-document-card { padding: 30px 22px; border-radius: 24px; }
  .legal-lead { font-size: 1.08rem; }
  .legal-placeholder-note { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .inner-image-main img { height: 410px; }
  .floating-note { position: relative; inset: auto; width: calc(100% - 20px); margin: -5px auto 0; animation: none; }
  .floating-note-bottom { margin-top: 10px; }
  .image-caption-card { left: 14px; right: 14px; bottom: 14px; padding: 14px; }
  .about-model-image img { height: 420px; }
  .services-hero-visual { min-height: 430px; padding-left: 0; padding-right: 0; }
  .service-float-card { font-size: .68rem; }
  .service-float-speed { top: 96px; }
  .service-float-care { bottom: -8px; }
  .pricing-card-heading { align-items: flex-start; gap: 10px; }
  .contact-route-card { grid-template-columns: 42px 1fr auto; }
  .legal-side-card { padding: 20px; }
}

/* Authentication */
.auth-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 135px 0 60px;
  overflow-x: hidden;
  overflow-y: visible;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 52%, #ffffff 100%);
}

.auth-background,
.error-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.auth-grid,
.error-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: radial-gradient(rgba(26, 115, 232, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.auth-orb,
.error-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  animation: authOrbFloat 9s ease-in-out infinite;
}

.auth-orb-blue { width: 340px; height: 340px; left: -150px; top: 8%; background: rgba(66, 133, 244, .15); }
.auth-orb-red { width: 250px; height: 250px; right: -90px; top: 16%; background: rgba(234, 67, 53, .11); animation-delay: -2s; }
.auth-orb-yellow { width: 280px; height: 280px; right: 12%; bottom: -155px; background: rgba(251, 188, 4, .15); animation-delay: -4s; }
.auth-orb-green { width: 280px; height: 280px; right: -100px; top: 20%; background: rgba(52, 168, 83, .12); animation-delay: -2.5s; }

.auth-page-container { position: relative; z-index: 2; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr);
  min-height: 710px;
  overflow: hidden;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 36px;
  box-shadow: 0 40px 110px rgba(32, 33, 36, .16);
  backdrop-filter: blur(18px);
}

.auth-layout-register { min-height: 790px; }

.auth-story-panel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: #fff;
  background: #12151b;
}

.auth-story-image,
.auth-story-image::after,
.auth-story-overlay {
  position: absolute;
  inset: 0;
}

.auth-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.auth-layout:hover .auth-story-image img { transform: scale(1.08); }

.auth-story-overlay {
  background:
    linear-gradient(180deg, rgba(9, 12, 18, .12) 0%, rgba(9, 12, 18, .55) 55%, rgba(9, 12, 18, .92) 100%),
    linear-gradient(135deg, rgba(26, 115, 232, .24), transparent 46%);
}

.auth-register-story .auth-story-overlay {
  background:
    linear-gradient(180deg, rgba(9, 12, 18, .14) 0%, rgba(9, 12, 18, .56) 54%, rgba(9, 12, 18, .92) 100%),
    linear-gradient(135deg, rgba(52, 168, 83, .20), transparent 50%);
}

.auth-story-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 38px;
}

.auth-mini-brand,
.error-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.auth-mini-brand { color: #fff; }
.auth-mini-brand .brand-mark i { box-shadow: 0 0 0 1px rgba(255,255,255,.10); }

.auth-story-copy { margin-top: auto; max-width: 490px; }
.auth-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.auth-story-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.02;
}

.auth-story-copy p { margin: 0; color: rgba(255,255,255,.67); font-size: .98rem; }

.auth-benefit-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.auth-benefit-list > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.auth-benefit-list i { color: #81c995; font-size: 1rem; }

.auth-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.auth-stat-grid > div {
  min-height: 104px;
  padding: 15px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.auth-stat-grid strong,
.auth-stat-grid span { display: block; }
.auth-stat-grid strong { color: #8ab4f8; font-family: "Manrope", sans-serif; font-size: 1.05rem; }
.auth-stat-grid span { margin-top: 18px; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; line-height: 1.4; }

.auth-form-panel {
  display: grid;
  place-items: center;
  padding: 45px clamp(34px, 5vw, 72px);
  background: rgba(255,255,255,.96);
}

.auth-form-inner { width: 100%; max-width: 510px; }
.auth-form-inner-wide { max-width: 610px; }
.auth-form-heading { margin-bottom: 30px; }
.auth-form-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
}
.auth-form-heading p { max-width: 510px; margin: 0; color: var(--muted); }

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding: 16px 17px;
  border-radius: 16px;
}
.auth-alert > i { margin-top: 1px; font-size: 1.05rem; }
.auth-alert strong,
.auth-alert span { display: block; }
.auth-alert strong { margin-bottom: 4px; font-size: .82rem; }
.auth-alert span { font-size: .76rem; }
.auth-alert-danger { color: #8c1d18; background: #fce8e6; border: 1px solid #f4c7c3; }

.modern-auth-form { display: grid; gap: 18px; }
.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #41454a;
  font-size: .78rem;
  font-weight: 800;
}

.optional-label {
  margin-left: 6px;
  color: #8b9096;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.auth-label-row { display: flex; align-items: center; justify-content: space-between; }
.auth-input-shell { position: relative; }
.auth-input-shell > i {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  color: #8d9298;
  transform: translateY(-50%);
}

.modern-auth-form .form-control {
  min-height: 55px;
  padding: 13px 16px 13px 46px;
  color: var(--ink);
  background: #f8f9fa;
  border: 1px solid #dfe3e7;
  border-radius: 15px;
  box-shadow: none;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.modern-auth-form .form-control::placeholder { color: #a1a6ac; }
.modern-auth-form .form-control:hover { border-color: #c6cbd0; }
.modern-auth-form .form-control:focus {
  background: #fff;
  border-color: rgba(26,115,232,.7);
  box-shadow: 0 0 0 4px rgba(26,115,232,.10);
}

.auth-password-shell .form-control { padding-right: 50px; }
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #777c82;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: color .2s ease, background-color .2s ease;
}
.password-toggle:hover { color: var(--blue); background: #e8f0fe; }
.password-toggle:focus-visible { outline: 3px solid rgba(26,115,232,.22); }

.auth-submit { margin-top: 2px; }
.auth-submit i { transition: transform .22s ease; }
.auth-submit:hover i { transform: translateX(4px); }

.auth-terms-copy {
  margin: -2px 0 0;
  color: #7a7f85;
  font-size: .72rem;
  line-height: 1.55;
}
.auth-terms-copy a { color: var(--blue); font-weight: 700; }
.auth-terms-copy a:hover { text-decoration: underline; }

.auth-switch-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e7eaed;
  color: var(--muted);
  font-size: .82rem;
}
.auth-switch-copy a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 800; }
.auth-switch-copy a i { font-size: .72rem; }

.auth-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 19px 0 0;
  color: #8a8f95;
  font-size: .7rem;
}
.auth-security-note i { color: var(--green); }

/* Error pages */
.error-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  padding: 50px 0 85px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.error-orb-one { width: 420px; height: 420px; top: -180px; right: -130px; background: rgba(66,133,244,.14); }
.error-orb-two { width: 340px; height: 340px; left: -170px; bottom: -130px; background: rgba(52,168,83,.10); animation-delay: -3s; }
.error-page-403 .error-orb-two { background: rgba(251,188,4,.14); }
.error-page-500 .error-orb-two { background: rgba(234,67,53,.10); }

.error-page-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 135px);
}

.error-brand {
  color: var(--ink);
  margin-bottom: 45px;
}

.error-card {
  width: min(720px, 100%);
  margin: auto;
  padding: 54px;
  text-align: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 34px;
  box-shadow: 0 35px 100px rgba(32,33,36,.14);
  backdrop-filter: blur(18px);
}

.error-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin-bottom: 6px;
}

.error-code-shadow {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(32,33,36,.09);
  font-family: "Manrope", sans-serif;
  font-size: clamp(7rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.09em;
  user-select: none;
}

.error-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 29px;
  box-shadow: 0 18px 45px rgba(32,33,36,.13);
  font-size: 2rem;
  transform: rotate(-5deg);
  animation: errorIconFloat 5s ease-in-out infinite;
}
.error-icon-search { color: var(--blue); background: #e8f0fe; }
.error-icon-warning { color: #8a5a00; background: #fff4ce; }
.error-icon-server { color: #b3261e; background: #fce8e6; }

.error-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  color: #5f6368;
  background: #f1f3f4;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.error-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 700;
  line-height: 1.03;
}
.error-card > p { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 1rem; }

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.error-help { display: block; margin-top: 25px; color: #92979d; font-size: .72rem; }

@keyframes authOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.04); }
}

@keyframes errorIconFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1099.98px) {
  .auth-layout { grid-template-columns: .85fr 1.15fr; }
  .auth-story-content { padding: 30px; }
  .auth-form-panel { padding-left: 38px; padding-right: 38px; }
}

@media (max-width: 991.98px) {
  .auth-page { padding-top: 120px; }
  .auth-layout,
  .auth-layout-register { grid-template-columns: 1fr; min-height: auto; }
  .auth-story-panel { min-height: 470px; }
  .auth-form-panel { padding: 52px 42px; }
  .auth-story-copy { max-width: 640px; }
  .auth-benefit-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .auth-benefit-list > div { align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .auth-page { padding: 110px 0 65px; }
  .auth-layout { border-radius: 28px; }
  .auth-story-panel { min-height: 420px; }
  .auth-story-content { padding: 26px; }
  .auth-story-copy h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .auth-benefit-list { grid-template-columns: 1fr; gap: 8px; }
  .auth-stat-grid { grid-template-columns: 1fr; }
  .auth-stat-grid > div { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: auto; }
  .auth-stat-grid span { margin-top: 0; }
  .auth-form-panel { padding: 40px 24px; }
  .auth-form-heading h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .auth-switch-copy { flex-direction: column; }
  .error-page { padding: 32px 0 65px; }
  .error-page-container { min-height: calc(100vh - 97px); }
  .error-brand { margin-bottom: 30px; }
  .error-card { padding: 38px 24px; border-radius: 27px; }
  .error-visual { min-height: 155px; }
  .error-icon { width: 76px; height: 76px; border-radius: 24px; font-size: 1.7rem; }
  .error-actions .btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .auth-page { padding-left: 5px; padding-right: 5px; }
  .auth-story-panel { min-height: 390px; }
  .auth-story-content { padding: 22px; }
  .auth-story-copy p { font-size: .88rem; }
  .auth-form-panel { padding: 34px 18px; }
  .auth-form-heading { margin-bottom: 25px; }
  .modern-auth-form { gap: 15px; }
  .auth-security-note { text-align: center; }
  .error-card h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb,
  .error-orb,
  .error-icon,
  .auth-story-image img { animation: none !important; transition: none !important; }
}

/* =========================================================
   WebNuvia admin workspace
   ========================================================= */
.dashboard-layout {
  --admin-sidebar-width: 286px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 0%, rgba(66,133,244,.08), transparent 28%),
    #f5f7fb;
}

.dashboard-layout + .site-footer { display: none; }

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1100;
  width: var(--admin-sidebar-width);
  padding: 16px;
  color: #edf2ff;
  background: #111827;
  transition: transform .28s ease;
}

.admin-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(66,133,244,.22), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 34%);
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 8px 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.admin-brand:hover { color: #fff; }
.admin-brand .brand-mark { flex: 0 0 auto; }
.admin-brand > span:last-child { display: grid; line-height: 1.2; }
.admin-brand strong { font-family: "Manrope", sans-serif; font-size: 1rem; letter-spacing: -.025em; }
.admin-brand small { margin-top: 3px; color: #93a0b8; font-size: .66rem; font-weight: 600; letter-spacing: .03em; }

.admin-sidebar-close,
.dashboard-menu-button,
.admin-profile-logout {
  display: grid;
  place-items: center;
  border: 0;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.admin-sidebar-close {
  display: none;
  width: 40px;
  height: 40px;
  color: #c7d0e0;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
}
.admin-sidebar-close:hover { color: #fff; background: rgba(255,255,255,.12); }

.admin-nav { padding: 22px 2px; }
.admin-nav-label {
  display: block;
  padding: 0 12px 9px;
  color: #728098;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.admin-nav-label-spaced { margin-top: 20px; }

.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 5px;
  padding: 0 13px;
  color: #aeb9cc;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .84rem;
  font-weight: 700;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.admin-nav-link i { width: 22px; font-size: 1rem; text-align: center; }
.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(2px); }
.admin-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(66,133,244,.30), rgba(124,58,237,.20));
  border-color: rgba(140,180,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.admin-nav-link.active::before {
  content: "";
  position: absolute;
  left: -3px;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #8ab4f8;
}

.admin-sidebar-promo {
  margin: auto 2px 14px;
  padding: 17px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
}
.admin-sidebar-promo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  color: #b7d1ff;
  background: rgba(66,133,244,.20);
  border-radius: 11px;
}
.admin-sidebar-promo strong { display: block; color: #fff; font-size: .8rem; }
.admin-sidebar-promo p { margin: 6px 0 0; color: #8f9bb0; font-size: .69rem; line-height: 1.55; }

.admin-profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(7,12,24,.45);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
}
.admin-avatar,
.table-avatar,
.admin-client-avatar,
.admin-message-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #174ea6;
  background: #dbe8ff;
  font-weight: 800;
}
.admin-avatar { width: 38px; height: 38px; border-radius: 12px; font-size: .72rem; }
.admin-profile-copy { display: grid; min-width: 0; flex: 1; line-height: 1.2; }
.admin-profile-copy strong,
.admin-profile-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-copy strong { color: #fff; font-size: .75rem; }
.admin-profile-copy span { margin-top: 4px; color: #7f8da4; font-size: .61rem; }
.admin-profile-logout { width: 36px; height: 36px; color: #9aa7bb; background: transparent; border-radius: 11px; }
.admin-profile-logout:hover { color: #fff; background: rgba(255,255,255,.08); }

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: none;
  background: rgba(15,23,42,.58);
  backdrop-filter: blur(3px);
}

.dashboard-main {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--admin-sidebar-width);
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(22px, 3vw, 48px);
  background: rgba(245,247,251,.86);
  border-bottom: 1px solid rgba(218,224,232,.78);
  backdrop-filter: blur(18px) saturate(145%);
}
.dashboard-topbar-left,
.dashboard-topbar-actions { display: flex; align-items: center; gap: 14px; }
.dashboard-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  color: #374151;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(32,33,36,.06);
  font-size: 1.25rem;
}
.dashboard-breadcrumb { display: grid; line-height: 1.2; }
.dashboard-breadcrumb span { color: #8a929d; font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.dashboard-breadcrumb strong { margin-top: 4px; color: #252a31; font-family: "Manrope", sans-serif; font-size: .88rem; }
.dashboard-site-link,
.dashboard-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #dfe4ea;
  border-radius: 13px;
  font-size: .72rem;
  font-weight: 700;
}
.dashboard-site-link { color: #47505c; background: #fff; }
.dashboard-site-link:hover { color: var(--blue); border-color: #cbdcff; }
.dashboard-live-status { color: #417550; background: #f4fbf6; }
.dashboard-live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,168,83,.12); }

.dashboard-content {
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 48px) 70px;
}
.dashboard-content > .alert { margin-bottom: 24px; border: 0; border-radius: 16px; box-shadow: 0 10px 28px rgba(32,33,36,.06); }

.dashboard-page-header,
.admin-client-hero,
.admin-ticket-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}
.dashboard-page-header h1,
.admin-client-hero h1,
.admin-ticket-hero h1 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 700;
  line-height: 1.04;
}
.dashboard-page-header p,
.admin-client-hero p,
.admin-ticket-hero p { max-width: 720px; margin: 0; color: #707884; font-size: .96rem; }
.dashboard-page-header p span,
.admin-client-hero p span,
.admin-ticket-hero p span { margin: 0 5px; color: #b2b8c0; }
.dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #376fbf;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dashboard-eyebrow i { font-size: .8rem; }
.dashboard-header-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.dashboard-summary-pill {
  display: grid;
  min-width: 142px;
  padding: 17px 20px;
  background: #fff;
  border: 1px solid #e1e6ec;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(32,33,36,.07);
}
.dashboard-summary-pill span { color: #7a828d; font-size: .69rem; font-weight: 700; }
.dashboard-summary-pill strong { margin-top: 2px; font-family: "Manrope", sans-serif; font-size: 1.9rem; letter-spacing: -.05em; }

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.admin-metric-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 168px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e6ec;
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(32,33,36,.065);
  transition: transform .25s ease, box-shadow .25s ease;
}
.admin-metric-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 120px;
  right: -45px;
  bottom: -55px;
  border-radius: 50%;
  background: var(--metric-soft);
}
.admin-metric-card:hover { transform: translateY(-3px); box-shadow: 0 20px 52px rgba(32,33,36,.10); }
.metric-blue { --metric: #1a73e8; --metric-soft: rgba(26,115,232,.10); }
.metric-green { --metric: #18864b; --metric-soft: rgba(52,168,83,.11); }
.metric-yellow { --metric: #9a6a00; --metric-soft: rgba(251,188,4,.14); }
.metric-red { --metric: #c43c31; --metric-soft: rgba(234,67,53,.10); }
.admin-metric-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--metric);
  background: var(--metric-soft);
  border-radius: 14px;
  font-size: 1.08rem;
}
.admin-metric-copy { display: grid; }
.admin-metric-copy > span { color: #6d7580; font-size: .72rem; font-weight: 700; }
.admin-metric-copy strong { margin-top: 10px; font-family: "Manrope", sans-serif; font-size: clamp(1.65rem, 2.5vw, 2.35rem); line-height: 1; letter-spacing: -.055em; }
.admin-metric-copy small { margin-top: 11px; color: #9aa1aa; font-size: .65rem; line-height: 1.45; }

.admin-panel,
.admin-project-card,
.admin-plan-editor,
.admin-empty-state {
  background: #fff;
  border: 1px solid #e1e6ec;
  border-radius: 23px;
  box-shadow: 0 14px 42px rgba(32,33,36,.06);
}
.admin-panel { padding: clamp(20px, 2.4vw, 30px); }
.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.admin-panel-heading h2 { margin: 2px 0 0; font-size: 1.24rem; font-weight: 700; }
.admin-panel-kicker { color: #8b929c; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
}
.admin-text-link i { transition: transform .2s ease; }
.admin-text-link:hover i { transform: translateX(3px); }
.compact-heading { margin-bottom: 20px; }
.admin-heading-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #edf4ff;
  border-radius: 13px;
  font-size: 1rem;
}
.admin-count-badge {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  color: #526071;
  background: #f1f4f7;
  border-radius: 11px;
  font-size: .72rem;
  font-weight: 800;
}

.admin-table-wrap { margin: 0 -6px -6px; }
.admin-table { min-width: 720px; --bs-table-bg: transparent; }
.admin-table thead th {
  padding: 12px 15px;
  color: #8a929d;
  background: #f7f9fb;
  border: 0;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table thead th:first-child { border-radius: 12px 0 0 12px; }
.admin-table thead th:last-child { border-radius: 0 12px 12px 0; }
.admin-table tbody td {
  padding: 16px 15px;
  color: #59616d;
  border-color: #edf0f3;
  font-size: .76rem;
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background-color .18s ease; }
.admin-table tbody tr:hover { background: #fafbfc; }
.table-person { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.table-avatar { width: 34px; height: 34px; border-radius: 11px; font-size: .68rem; }
.table-person > span:last-child { display: grid; min-width: 0; }
.table-person strong { color: #2e343c; font-size: .76rem; }
.table-person small { margin-top: 2px; color: #8c949e; font-size: .63rem; }
.table-primary-link { color: #2f3741; font-weight: 750; }
.table-primary-link:hover { color: var(--blue); }
.table-arrow-link { display: grid; place-items: center; width: 32px; height: 32px; color: #7b838d; background: #f2f4f7; border-radius: 10px; }
.table-arrow-link:hover { color: #fff; background: var(--blue); }

.status-badge,
.priority-badge,
.admin-type-chip,
.admin-plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .61rem;
  font-weight: 800;
  line-height: 1;
  text-transform: capitalize;
  white-space: nowrap;
}
.status-badge { color: #53606f; background: #eef1f4; }
.status-badge-large { padding: 9px 13px; font-size: .69rem; }
.status-active,
.status-completed,
.status-resolved,
.status-paid,
.status-submitted { color: #177044; background: #e6f5ec; }
.status-pending,
.status-open,
.status-draft,
.status-onboarding_required,
.status-information_received,
.status-not_started { color: #755300; background: #fff4ce; }
.status-overdue,
.status-cancelled,
.status-closed,
.status-void,
.status-uncollectible { color: #a23830; background: #fce8e6; }
.status-suspended,
.status-inactive { color: #685875; background: #f0eaf4; }
.status-in_progress,
.status-review_required,
.status-maintenance { color: #185abc; background: #e8f0fe; }
.status-waiting_for_client { color: #865c00; background: #fff0d4; }
.admin-plan-chip { color: #43536a; background: #f0f4f9; }
.admin-plan-chip i { color: var(--blue); }
.admin-type-chip { color: #526071; background: #f0f2f5; }
.priority-badge { color: #626b75; background: #f2f4f6; }
.priority-badge i { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; }
.priority-high,
.priority-urgent { color: #a23830; background: #fce8e6; }
.priority-high i,
.priority-urgent i { background: #d84a3f; }
.priority-medium { color: #815c00; background: #fff3d2; }
.priority-medium i { background: #d89b00; }
.priority-low { color: #177044; background: #e8f5ed; }
.priority-low i { background: #34a853; }

.admin-health-stack { display: grid; grid-template-rows: auto auto 1fr; gap: 16px; }
.admin-health-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e1e6ec;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(32,33,36,.055);
}
.admin-health-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; }
.health-red { color: #c13e33; background: #fce8e6; }
.health-purple { color: #7048a2; background: #f0e9fa; }
.admin-health-card > div:last-child { display: grid; min-width: 0; flex: 1; }
.admin-health-card span { color: #7d8590; font-size: .67rem; font-weight: 700; }
.admin-health-card strong { margin-top: 3px; font-family: "Manrope", sans-serif; font-size: 1.65rem; line-height: 1; }
.admin-health-card a { margin-top: 9px; color: var(--blue); font-size: .65rem; font-weight: 800; }

.admin-quick-actions {
  padding: 21px;
  background: #152035;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15,23,42,.17);
}
.admin-quick-actions .admin-panel-kicker { color: #8291aa; }
.admin-quick-actions > a {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  margin-top: 8px;
  padding: 7px 9px;
  color: #d7deea;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 700;
}
.admin-quick-actions > a:hover { color: #fff; background: rgba(255,255,255,.07); }
.admin-quick-actions > a > i:first-child { display: grid; place-items: center; width: 31px; height: 31px; color: #a9c7ff; background: rgba(66,133,244,.15); border-radius: 10px; }
.admin-quick-actions > a > i:last-child { color: #69768a; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.admin-search-field { position: relative; width: min(100%, 460px); }
.admin-search-field i { position: absolute; left: 15px; top: 50%; color: #8a929c; transform: translateY(-50%); }
.admin-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 15px 10px 43px;
  color: #30363d;
  background: #f7f9fb;
  border: 1px solid #e0e5eb;
  border-radius: 14px;
  outline: none;
  font-size: .76rem;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.admin-search-field input:focus { background: #fff; border-color: #a8c7fa; box-shadow: 0 0 0 4px rgba(26,115,232,.09); }
.admin-toolbar-note { display: inline-flex; align-items: center; gap: 7px; color: #878f99; font-size: .66rem; }
.admin-toolbar-note i { color: var(--green); }

.admin-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 220px;
  padding: 30px;
  text-align: left;
}
.admin-empty-state > i { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; color: var(--blue); background: #eaf2ff; border-radius: 17px; font-size: 1.25rem; }
.admin-empty-state strong { display: block; font-family: "Manrope", sans-serif; font-size: .95rem; }
.admin-empty-state p { margin: 4px 0 0; color: #8a929c; font-size: .72rem; }
.admin-empty-state.compact { min-height: 110px; padding: 18px; background: #fafbfc; border-style: dashed; box-shadow: none; }

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #6f7782;
  font-size: .72rem;
  font-weight: 800;
}
.admin-back-link:hover { color: var(--blue); }
.admin-client-hero,
.admin-ticket-hero {
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, #fff, #f5f8ff);
  border: 1px solid #dfe6f0;
  border-radius: 25px;
  box-shadow: 0 15px 44px rgba(32,33,36,.065);
}
.admin-client-identity { display: flex; align-items: center; gap: 19px; }
.admin-client-avatar { width: 68px; height: 68px; border-radius: 21px; font-size: 1.35rem; box-shadow: 0 12px 28px rgba(26,115,232,.15); }
.admin-client-hero h1,
.admin-ticket-hero h1 { margin-bottom: 7px; font-size: clamp(1.8rem, 3vw, 2.65rem); }

.admin-stack-form { display: grid; gap: 18px; }
.admin-form-label {
  display: block;
  margin-bottom: 7px;
  color: #56606d;
  font-size: .68rem;
  font-weight: 800;
}
.admin-form-control {
  min-height: 48px;
  padding: 11px 13px;
  color: #30363d;
  background-color: #f8f9fb;
  border: 1px solid #dfe4ea;
  border-radius: 13px;
  box-shadow: none !important;
  font-size: .76rem;
}
textarea.admin-form-control { min-height: auto; resize: vertical; }
.admin-form-control:hover { border-color: #cbd2da; }
.admin-form-control:focus { background-color: #fff; border-color: #8ab4f8; box-shadow: 0 0 0 4px rgba(26,115,232,.09) !important; }
.admin-mono-input { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .7rem; }
.admin-input-prefix,
.admin-progress-input { position: relative; }
.admin-input-prefix > span,
.admin-progress-input > span { position: absolute; z-index: 2; top: 50%; color: #7f8791; transform: translateY(-50%); font-size: .74rem; font-weight: 800; }
.admin-input-prefix > span { left: 14px; }
.admin-input-prefix .form-control { padding-left: 31px; }
.admin-progress-input > span { right: 14px; }
.admin-progress-input .form-control { padding-right: 34px; }

.admin-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
}
.admin-info-item {
  display: grid;
  min-height: 91px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 16px;
}
.admin-info-item span { color: #8b929c; font-size: .65rem; font-weight: 700; }
.admin-info-item strong { align-self: end; overflow-wrap: anywhere; font-size: .82rem; }

.admin-record-list { display: grid; gap: 11px; }
.admin-record-item { display: flex; align-items: center; gap: 12px; padding: 13px; background: #f9fafb; border: 1px solid #edf0f3; border-radius: 16px; }
.admin-record-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 13px; }
.record-blue { color: #185abc; background: #e8f0fe; }
.record-green { color: #18864b; background: #e6f4ea; }
.admin-record-item > div { display: grid; min-width: 0; flex: 1; }
.admin-record-item strong { overflow: hidden; color: #333a43; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-record-item span:not(.admin-record-icon):not(.status-badge) { margin-top: 2px; color: #8c949e; font-size: .63rem; text-transform: capitalize; }
.admin-record-item b { color: #4c5765; font-size: .7rem; }
.admin-project-record { padding: 0 0 12px; background: #f9fafb; border: 1px solid #edf0f3; border-radius: 16px; overflow: hidden; }
.admin-project-record .admin-record-item { border: 0; background: transparent; }
.admin-progress-track { height: 6px; margin: 0 13px; overflow: hidden; background: #e5e9ee; border-radius: 999px; }
.admin-progress-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #7c3aed); border-radius: inherit; transition: width .25s ease; }
.admin-progress-track.large { height: 9px; margin: 0; }

.admin-onboarding-grid { display: grid; grid-template-columns: .7fr 1.5fr 1.2fr; gap: 14px; }
.admin-onboarding-grid > div { min-height: 115px; padding: 18px; background: #f8fafc; border: 1px solid #edf0f3; border-radius: 17px; }
.admin-onboarding-grid span { display: block; margin-bottom: 9px; color: #89919b; font-size: .64rem; font-weight: 800; }
.admin-onboarding-grid strong { text-transform: capitalize; font-size: .82rem; }
.admin-onboarding-grid p { margin: 0; color: #4f5864; font-size: .75rem; line-height: 1.6; }

.admin-plan-list,
.admin-project-list { display: grid; gap: 17px; }
.admin-create-plan { margin-bottom: 20px; border-color: #ccdaf0; }
.admin-plan-editor { overflow: hidden; }
.admin-plan-editor > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s ease;
}
.admin-plan-editor > summary::-webkit-details-marker { display: none; }
.admin-plan-editor > summary:hover { background: #fafbfc; }
.admin-plan-summary-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--blue); background: #e8f0fe; border-radius: 14px; }
.admin-plan-summary-icon.active { color: #18864b; background: #e6f4ea; }
.admin-plan-summary-icon.inactive { color: #6c5a78; background: #f0eaf4; }
.admin-plan-editor > summary > div:nth-child(2) { min-width: 0; }
.admin-create-plan > summary > div:nth-child(2) { display: grid; }
.admin-create-plan > summary span { color: #8b929c; font-size: .64rem; font-weight: 700; }
.admin-create-plan > summary strong { font-family: "Manrope", sans-serif; font-size: 1rem; }
.admin-plan-summary-copy { display: grid; gap: 5px; }
.admin-plan-summary-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.admin-plan-summary-copy > div strong { font-family: "Manrope", sans-serif; font-size: .95rem; }
.admin-plan-summary-copy > span { color: #7d8590; font-size: .69rem; }
.admin-details-chevron { color: #8a929c; transition: transform .22s ease; }
.admin-plan-editor[open] .admin-details-chevron { transform: rotate(180deg); }
.admin-plan-editor-body { padding: 23px; border-top: 1px solid #edf0f3; background: #fcfdfe; }

.admin-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.admin-switch input { position: absolute; opacity: 0; pointer-events: none; }
.admin-switch > span { position: relative; width: 42px; height: 24px; background: #ccd2d9; border-radius: 999px; transition: background-color .2s ease; }
.admin-switch > span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(32,33,36,.18); transition: transform .2s ease; }
.admin-switch input:checked + span { background: var(--blue); }
.admin-switch input:checked + span::after { transform: translateX(18px); }
.admin-switch b { color: #59626e; font-size: .7rem; }

.admin-project-card { padding: clamp(20px, 2.8vw, 30px); }
.admin-project-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-project-title-group { display: flex; align-items: center; gap: 14px; min-width: 0; }
.admin-project-title-group h2 { margin: 0 0 5px; font-size: 1.1rem; }
.admin-project-title-group p { margin: 0; color: #858d97; font-size: .69rem; }
.admin-project-title-group p span { margin: 0 5px; }
.admin-project-progress-block { margin: 24px 0; padding: 17px; background: #f8fafc; border: 1px solid #edf0f3; border-radius: 16px; }
.admin-project-progress-block > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.admin-project-progress-block span { color: #78818c; font-size: .68rem; font-weight: 700; }
.admin-project-progress-block strong { font-size: .72rem; }

.admin-ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; align-items: start; }
.admin-thread-panel { min-width: 0; }
.admin-reply-panel { position: sticky; top: 100px; }
.admin-message-thread { display: grid; gap: 20px; }
.admin-message { display: flex; align-items: flex-start; gap: 11px; max-width: 88%; }
.admin-message-outgoing { margin-left: auto; flex-direction: row-reverse; }
.admin-message-avatar { width: 36px; height: 36px; border-radius: 12px; font-size: .68rem; }
.admin-message-outgoing .admin-message-avatar { color: #fff; background: var(--blue); }
.admin-message-body { min-width: 0; padding: 15px 17px; background: #f3f5f8; border-radius: 5px 17px 17px 17px; }
.admin-message-outgoing .admin-message-body { color: #fff; background: linear-gradient(135deg, #1a73e8, #1557b0); border-radius: 17px 5px 17px 17px; box-shadow: 0 12px 25px rgba(26,115,232,.18); }
.admin-message-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 13px; margin-bottom: 8px; }
.admin-message-meta strong { font-size: .72rem; }
.admin-message-meta span { color: #8a929c; font-size: .57rem; }
.admin-message-outgoing .admin-message-meta span { color: rgba(255,255,255,.68); }
.admin-message-body p { margin: 0; font-size: .76rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-reply-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 12px; color: #7b838d; background: #f8fafc; border-radius: 13px; font-size: .64rem; line-height: 1.5; }
.admin-reply-note i { color: var(--blue); }

@media (max-width: 1299.98px) {
  .admin-metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-ticket-layout { grid-template-columns: minmax(0,1fr) 320px; }
}

@media (max-width: 1099.98px) {
  .dashboard-layout { --admin-sidebar-width: 265px; }
  .admin-onboarding-grid { grid-template-columns: 1fr 1fr; }
  .admin-onboarding-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  .admin-sidebar { width: min(310px, 88vw); transform: translateX(-105%); box-shadow: 24px 0 70px rgba(15,23,42,.24); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-sidebar-close,
  .dashboard-menu-button { display: grid; }
  .admin-sidebar-backdrop.is-visible { display: block; }
  .dashboard-main { margin-left: 0; }
  .dashboard-topbar { padding-left: 20px; padding-right: 20px; }
  .admin-ticket-layout { grid-template-columns: 1fr; }
  .admin-reply-panel { position: static; }
}

@media (max-width: 767.98px) {
  .dashboard-topbar { min-height: 68px; }
  .dashboard-site-link span,
  .dashboard-live-status span { display: none; }
  .dashboard-site-link,
  .dashboard-live-status { width: 40px; padding: 0; justify-content: center; }
  .dashboard-live-status i { width: 8px; height: 8px; }
  .dashboard-content { padding-top: 28px; }
  .dashboard-page-header,
  .admin-client-hero,
  .admin-ticket-hero { align-items: flex-start; flex-direction: column; }
  .dashboard-page-header h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .dashboard-header-actions { width: 100%; }
  .dashboard-header-actions .btn { flex: 1 1 180px; }
  .dashboard-summary-pill { grid-template-columns: 1fr auto; align-items: center; width: 100%; min-width: 0; }
  .dashboard-summary-pill strong { margin: 0; font-size: 1.55rem; }
  .admin-metric-grid { grid-template-columns: 1fr; }
  .admin-metric-card { min-height: 145px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-search-field { width: 100%; }
  .admin-toolbar-note { padding: 0 3px; }
  .admin-info-grid,
  .admin-onboarding-grid { grid-template-columns: 1fr; }
  .admin-onboarding-grid > div:last-child { grid-column: auto; }
  .admin-client-identity { align-items: flex-start; }
  .admin-client-avatar { width: 56px; height: 56px; border-radius: 18px; }
  .admin-project-card-head { flex-direction: column; }
  .admin-message { max-width: 100%; }
  .admin-plan-editor > summary { grid-template-columns: auto minmax(0,1fr) auto; padding: 15px; }
  .admin-plan-editor-body { padding: 18px; }
}

@media (max-width: 575.98px) {
  .dashboard-content { padding-left: 14px; padding-right: 14px; }
  .dashboard-breadcrumb span { display: none; }
  .dashboard-page-header { margin-bottom: 23px; }
  .dashboard-page-header p { font-size: .85rem; }
  .admin-panel,
  .admin-project-card { border-radius: 19px; }
  .admin-panel { padding: 18px; }
  .admin-metric-card { padding: 19px; border-radius: 19px; }
  .admin-client-hero,
  .admin-ticket-hero { padding: 20px; border-radius: 20px; }
  .admin-client-identity { width: 100%; }
  .admin-client-identity .dashboard-eyebrow { margin-bottom: 8px; }
  .admin-client-identity h1 { font-size: 1.65rem; }
  .admin-client-identity p { overflow-wrap: anywhere; }
  .admin-empty-state { align-items: flex-start; flex-direction: column; }
  .admin-plan-summary-copy > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .admin-plan-summary-icon { width: 40px; height: 40px; }
  .admin-message { gap: 8px; }
  .admin-message-avatar { width: 31px; height: 31px; border-radius: 10px; }
  .admin-message-body { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-sidebar,
  .admin-nav-link,
  .admin-metric-card,
  .admin-progress-track span,
  .admin-details-chevron { transition: none !important; }
}

@media (max-width: 991.98px) {
  body.admin-nav-open { overflow: hidden; }
}


/* =========================================================
   WebNuvia client portal
   ========================================================= */
.client-dashboard-layout {
  background:
    radial-gradient(circle at 88% 0%, rgba(52,168,83,.075), transparent 27%),
    radial-gradient(circle at 28% 100%, rgba(66,133,244,.06), transparent 31%),
    #f5f7fb;
}

.client-sidebar {
  background: #0f172a;
}

.client-sidebar .admin-sidebar-inner {
  background:
    radial-gradient(circle at 20% 0%, rgba(52,168,83,.20), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 34%);
}

.client-sidebar .admin-nav-link.active {
  background: linear-gradient(135deg, rgba(52,168,83,.28), rgba(26,115,232,.20));
  border-color: rgba(134,239,172,.16);
}

.client-sidebar .admin-nav-link.active::before {
  background: #81c995;
}

.client-sidebar .admin-avatar {
  color: #17613b;
  background: #dff5e7;
}

.client-sidebar-promo a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #a7f3c3;
  font-size: .67rem;
  font-weight: 800;
}

.client-dashboard-hero,
.client-onboarding-hero,
.client-profile-hero,
.client-project-hero,
.client-no-plan-state,
.client-no-project-state {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 28px;
  box-shadow: 0 18px 52px rgba(32,33,36,.075);
}

.client-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, rgba(129,201,149,.21), transparent 23%),
    radial-gradient(circle at 6% 100%, rgba(138,180,248,.20), transparent 29%),
    linear-gradient(135deg, #111827 0%, #16233c 62%, #123a33 100%);
  border-color: rgba(255,255,255,.05);
  box-shadow: 0 22px 62px rgba(15,23,42,.19);
}

.client-dashboard-hero::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -95px;
  bottom: -125px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255,255,255,.025),
    0 0 0 68px rgba(255,255,255,.018);
}

.client-dashboard-hero-copy,
.client-account-card {
  position: relative;
  z-index: 1;
}

.client-dashboard-hero .dashboard-eyebrow {
  color: #a7f3c3;
}

.client-dashboard-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
}

.client-dashboard-hero p {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.68);
  font-size: .98rem;
}

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

.client-dashboard-hero .btn-soft {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
  box-shadow: none;
}

.client-dashboard-hero .btn-soft:hover {
  background: rgba(255,255,255,.14);
}

.client-account-card {
  display: grid;
  gap: 13px;
  padding: 22px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 21px;
  backdrop-filter: blur(12px);
}

.client-account-card > span {
  color: rgba(255,255,255,.56);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-account-card > .status-badge {
  justify-self: start;
}

.client-account-meter {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 4px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.client-account-meter > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #a7f3c3;
  background: rgba(52,168,83,.14);
  border-radius: 11px;
}

.client-account-meter div {
  display: grid;
}

.client-account-meter b {
  color: #fff;
  font-size: .72rem;
}

.client-account-meter small {
  margin-top: 4px;
  color: rgba(255,255,255,.53);
  font-size: .62rem;
  line-height: 1.5;
}

.client-metric-text {
  font-size: clamp(1.16rem, 1.8vw, 1.55rem) !important;
  line-height: 1.12 !important;
  text-transform: capitalize;
}

.client-project-summary {
  min-height: 100%;
}

.client-project-overview {
  padding: 4px 0 0;
}

.client-project-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.client-project-title-row h3 {
  margin: 14px 0 5px;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

.client-project-title-row p {
  margin: 0;
  color: #818a95;
  font-size: .73rem;
}

.client-progress-number {
  display: grid;
  text-align: right;
}

.client-progress-number strong {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  letter-spacing: -.055em;
}

.client-progress-number span {
  color: #9098a2;
  font-size: .62rem;
  font-weight: 700;
}

.client-progress-track {
  height: 10px;
  margin: 22px 0;
  overflow: hidden;
  background: #e8edf2;
  border-radius: 999px;
}

.client-progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1a73e8, #34a853);
  border-radius: inherit;
  transition: width .3s ease;
}

.client-project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.client-project-meta > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  min-height: 78px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 15px;
}

.client-project-meta i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #1a73e8;
  background: #e8f0fe;
  border-radius: 11px;
}

.client-project-meta span {
  color: #8b939d;
  font-size: .61rem;
  font-weight: 700;
}

.client-project-meta strong {
  align-self: end;
  font-size: .7rem;
}

.client-next-step-card,
.client-help-card,
.client-profile-tip,
.client-ticket-tip,
.client-priority-guide,
.client-submit-card {
  padding: clamp(22px, 2.7vw, 30px);
  border-radius: 23px;
  box-shadow: 0 16px 46px rgba(32,33,36,.08);
}

.client-next-step-card {
  min-height: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(138,180,248,.18), transparent 26%),
    linear-gradient(145deg, #13203a, #182945);
}

.client-next-step-card .admin-panel-kicker,
.client-help-card .admin-panel-kicker,
.client-profile-tip .admin-panel-kicker,
.client-ticket-tip .admin-panel-kicker,
.client-priority-guide .admin-panel-kicker,
.client-submit-card .admin-panel-kicker {
  color: #8fa2bf;
}

.client-next-step-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin: 20px 0;
  color: #b8d2ff;
  background: rgba(66,133,244,.17);
  border-radius: 18px;
  font-size: 1.3rem;
}

.client-next-step-card h2,
.client-help-card h2,
.client-profile-tip h2,
.client-submit-card h2 {
  margin-bottom: 11px;
  font-size: 1.35rem;
}

.client-next-step-card p,
.client-help-card p,
.client-profile-tip p,
.client-submit-card p {
  margin-bottom: 22px;
  color: #93a1b5;
  font-size: .74rem;
  line-height: 1.65;
}

.client-quick-actions {
  height: 100%;
}

.client-empty-state {
  min-height: 235px;
}

.client-billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 22px;
  margin-bottom: 24px;
}

.client-plan-hero {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  padding: clamp(27px, 4vw, 42px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(129,201,149,.22), transparent 26%),
    linear-gradient(135deg, #111827, #163549);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(15,23,42,.18);
}

.client-plan-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  right: -105px;
  bottom: -125px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255,255,255,.025),
    0 0 0 70px rgba(255,255,255,.018);
}

.client-plan-hero-top,
.client-plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.client-plan-label {
  color: #a7f3c3;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.client-plan-name {
  justify-content: flex-start;
  margin: 42px 0;
}

.client-plan-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  color: #c5dcff;
  background: rgba(66,133,244,.17);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  font-size: 1.35rem;
}

.client-plan-name h1 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.client-plan-name p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .76rem;
}

.client-plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.client-plan-facts > div {
  display: grid;
  min-height: 82px;
  padding: 14px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
}

.client-plan-facts span {
  color: rgba(255,255,255,.48);
  font-size: .59rem;
  font-weight: 700;
}

.client-plan-facts strong {
  align-self: end;
  font-size: .74rem;
  text-transform: capitalize;
}

.client-billing-action {
  align-self: stretch;
}

.client-billing-action > p {
  color: #747d88;
  font-size: .76rem;
}

.client-secure-note,
.client-field-note,
.client-input-help,
.client-submit-note {
  color: #858e99;
  font-size: .62rem;
  line-height: 1.5;
}

.client-secure-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15px;
  padding: 12px;
  background: #f6faf7;
  border-radius: 12px;
}

.client-secure-note i,
.client-field-note i {
  color: #18864b;
}

.client-warning-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  color: #825b00;
  background: #fff6d9;
  border: 1px solid #f6e5aa;
  border-radius: 15px;
}

.client-warning-card > i {
  margin-top: 1px;
}

.client-warning-card strong,
.client-warning-card p {
  display: block;
}

.client-warning-card strong {
  font-size: .73rem;
}

.client-warning-card p {
  margin: 4px 0 0;
  font-size: .65rem;
  line-height: 1.55;
}

.client-feature-list {
  display: grid;
  gap: 12px;
}

.client-feature-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 16px;
}

.client-feature-list > div > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 13px;
}

.client-feature-list span {
  display: grid;
}

.client-feature-list strong {
  font-size: .75rem;
}

.client-feature-list small {
  margin-top: 3px;
  color: #89919b;
  font-size: .63rem;
}

.client-help-card {
  height: 100%;
  color: #fff;
  background: linear-gradient(145deg, #172238, #1d2f4d);
}

.client-help-card > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 21px;
  color: #a9c7ff;
  background: rgba(66,133,244,.16);
  border-radius: 15px;
  font-size: 1.1rem;
}

.client-help-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b7d2ff;
  font-size: .7rem;
  font-weight: 800;
}

.client-no-plan-state,
.client-no-project-state {
  display: grid;
  grid-template-columns: 320px minmax(0,1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  min-height: 520px;
  padding: clamp(34px, 6vw, 76px);
}

.client-no-plan-state h1,
.client-no-project-state h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.client-no-plan-state p,
.client-no-project-state p {
  max-width: 670px;
  margin-bottom: 25px;
  color: #737c87;
}

.client-no-plan-visual,
.client-no-project-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  background:
    radial-gradient(circle at 40% 30%, rgba(66,133,244,.16), transparent 28%),
    linear-gradient(145deg, #f6f9ff, #edf4ff);
  border: 1px solid #dce8fb;
  border-radius: 28px;
}

.client-no-plan-visual > i {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: #1a73e8;
  background: #fff;
  border-radius: 31px;
  box-shadow: 0 22px 48px rgba(26,115,232,.15);
  font-size: 2.4rem;
}

.client-no-plan-visual span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.client-no-plan-visual span:nth-child(2) { left: 36px; top: 49px; background: #fce8e6; transform: rotate(14deg); }
.client-no-plan-visual span:nth-child(3) { right: 38px; top: 76px; background: #e6f4ea; transform: rotate(-11deg); }
.client-no-plan-visual span:nth-child(4) { right: 60px; bottom: 40px; background: #fff3cd; transform: rotate(8deg); }

.client-invoice-cell,
.client-ticket-subject {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.client-invoice-icon,
.client-ticket-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 12px;
}

.client-invoice-cell > span:last-child,
.client-ticket-subject > span:last-child {
  display: grid;
}

.client-invoice-cell strong,
.client-ticket-subject strong {
  color: #2f3741;
  font-size: .75rem;
}

.client-invoice-cell small,
.client-ticket-subject small {
  margin-top: 2px;
  color: #9299a2;
  font-size: .61rem;
}

.client-ticket-subject:hover strong {
  color: var(--blue);
}

.client-invoice-amount {
  color: #303841;
}

.client-link-unavailable {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #a0a7b0;
  background: #f2f4f7;
  border-radius: 10px;
}

.client-data-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 16px 18px;
  color: #65707d;
  background: #eef5ff;
  border: 1px solid #d8e8ff;
  border-radius: 16px;
}

.client-data-note > i {
  color: #1a73e8;
}

.client-data-note p {
  flex: 1;
  margin: 0;
  font-size: .67rem;
}

.client-data-note a {
  color: #185abc;
  font-size: .67rem;
  font-weight: 800;
  white-space: nowrap;
}

.client-onboarding-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 310px;
  align-items: center;
  gap: 34px;
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 90% 0%, rgba(52,168,83,.10), transparent 26%),
    #fff;
}

.client-onboarding-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.02;
}

.client-onboarding-hero p {
  max-width: 720px;
  margin: 0;
  color: #737c87;
}

.client-onboarding-progress-card {
  display: grid;
  gap: 13px;
  padding: 19px;
  background: #f7faf8;
  border: 1px solid #e1eee5;
  border-radius: 18px;
}

.client-onboarding-progress-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-onboarding-progress-card > div:first-child > span {
  color: #78818c;
  font-size: .66rem;
  font-weight: 700;
}

.client-onboarding-progress-card .client-progress-track {
  height: 8px;
  margin: 0;
}

.client-onboarding-progress-card > small {
  color: #8a929c;
  font-size: .61rem;
}

.client-form-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 22px;
  align-items: start;
}

.client-form-main {
  display: grid;
  gap: 20px;
}

.client-form-sidebar {
  position: sticky;
  top: 99px;
}

.client-form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.client-form-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 13px;
  font-size: .7rem;
  font-weight: 800;
}

.client-form-section-heading h2 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

.client-form-section-heading p {
  margin: 0;
  color: #858e99;
  font-size: .68rem;
}

.client-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}

.client-label-row > small {
  color: #929aa4;
  font-size: .59rem;
  white-space: nowrap;
}

.client-file-upload {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 75px;
  padding: 13px;
  cursor: pointer;
  background: #f8fafc;
  border: 1px dashed #cbd5df;
  border-radius: 15px;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.client-file-upload:hover {
  background: #f2f7ff;
  border-color: #8ab4f8;
  transform: translateY(-1px);
}

.client-file-upload > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 13px;
  font-size: 1rem;
}

.client-file-upload span {
  display: grid;
  min-width: 0;
}

.client-file-upload strong {
  font-size: .72rem;
}

.client-file-upload small {
  margin-top: 3px;
  overflow: hidden;
  color: #8a929c;
  font-size: .61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-current-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #185abc;
  font-size: .63rem;
  font-weight: 800;
}

.client-color-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 25px;
  margin-top: 8px;
}

.client-color-preview span {
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #d9dee5, 0 4px 9px rgba(32,33,36,.08);
}

.client-field-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 7px;
}

.client-submit-card {
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(129,201,149,.16), transparent 25%),
    linear-gradient(145deg, #111827, #17263f);
  box-shadow: 0 22px 55px rgba(15,23,42,.18);
}

.client-submit-checklist {
  display: grid;
  gap: 9px;
  margin: 22px 0;
}

.client-submit-checklist > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c8d1df;
  font-size: .67rem;
}

.client-submit-checklist i {
  color: #81c995;
}

.client-submit-card .btn + .btn {
  margin-top: 9px;
}

.client-submit-card .btn-soft {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.11);
  box-shadow: none;
}

.client-submit-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
  color: #7f8ea5;
}

.client-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) minmax(260px, 390px);
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: clamp(24px, 3.5vw, 38px);
  background:
    radial-gradient(circle at 90% 0%, rgba(66,133,244,.09), transparent 28%),
    #fff;
}

.client-profile-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #174ea6;
  background: #dbe8ff;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(26,115,232,.14);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.client-profile-hero h1 {
  margin-bottom: 7px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.client-profile-hero p {
  margin: 0;
  color: #7c8590;
  font-size: .72rem;
}

.client-profile-hero p span {
  margin: 0 6px;
  color: #b5bbc2;
}

.client-profile-completion {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 13px;
}

.client-profile-ring,
.client-project-progress-orb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.client-profile-ring {
  width: 76px;
  height: 76px;
  background: conic-gradient(#1a73e8 var(--profile-progress), #e6ebf0 0);
}

.client-profile-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 59px;
  height: 59px;
  background: #fff;
  border-radius: 50%;
}

.client-profile-ring span {
  z-index: 1;
  grid-area: 1 / 1;
  font-size: .69rem;
  font-weight: 800;
}

.client-profile-completion > div:last-child {
  display: grid;
  max-width: 245px;
}

.client-profile-completion strong {
  font-size: .72rem;
}

.client-profile-completion small {
  margin-top: 4px;
  color: #858e99;
  font-size: .61rem;
  line-height: 1.5;
}

.client-profile-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 22px;
  align-items: start;
}

.client-profile-aside,
.client-project-side-stack,
.client-ticket-help,
.client-ticket-detail-side {
  display: grid;
  gap: 18px;
}

.client-profile-tip {
  color: #fff;
  background: linear-gradient(145deg, #14213a, #1a2e4b);
}

.client-profile-tip-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  color: #f8cf57;
  background: rgba(251,188,4,.14);
  border-radius: 15px;
  font-size: 1.15rem;
}

.client-profile-security {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #eff8f2;
  border: 1px solid #d9ebdf;
  border-radius: 18px;
}

.client-profile-security > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: #18864b;
  background: #dff1e5;
  border-radius: 12px;
}

.client-profile-security strong {
  font-size: .71rem;
}

.client-profile-security p {
  margin: 4px 0 0;
  color: #748078;
  font-size: .62rem;
  line-height: 1.55;
}

.client-disabled-input,
.client-url-input {
  position: relative;
}

.client-disabled-input > i,
.client-url-input > i {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 50%;
  color: #8a929c;
  transform: translateY(-50%);
  font-size: .8rem;
}

.client-disabled-input .form-control,
.client-url-input .form-control {
  padding-left: 40px;
}

.client-disabled-input .form-control {
  color: #8b929b;
  background: #f0f2f5;
}

.client-input-help {
  display: block;
  margin-top: 6px;
}

.client-project-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(129,201,149,.18), transparent 25%),
    linear-gradient(135deg, #111827, #19354a);
  border-color: rgba(255,255,255,.05);
  box-shadow: 0 22px 62px rgba(15,23,42,.18);
}

.client-project-hero .admin-back-link {
  color: rgba(255,255,255,.58);
}

.client-project-hero .admin-back-link:hover {
  color: #fff;
}

.client-project-hero .dashboard-eyebrow {
  color: #a7f3c3;
}

.client-project-hero h1 {
  margin-bottom: 9px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: .98;
}

.client-project-hero p {
  margin-bottom: 16px;
  color: rgba(255,255,255,.60);
  font-size: .72rem;
}

.client-project-hero p span {
  margin: 0 6px;
}

.client-project-progress-orb {
  width: 154px;
  height: 154px;
  background: conic-gradient(#81c995 var(--project-progress), rgba(255,255,255,.12) 0);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.client-project-progress-orb::before {
  content: "";
  grid-area: 1 / 1;
  width: 123px;
  height: 123px;
  background: #17283e;
  border-radius: 50%;
}

.client-project-progress-orb > div {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  text-align: center;
}

.client-project-progress-orb strong {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  letter-spacing: -.05em;
}

.client-project-progress-orb span {
  color: rgba(255,255,255,.55);
  font-size: .6rem;
  font-weight: 700;
}

.client-project-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.client-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  min-height: 77px;
}

.client-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 43px;
  bottom: -4px;
  width: 2px;
  background: #e2e7ec;
}

.client-timeline-marker {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #8a929c;
  background: #f1f3f5;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e5e9ee;
}

.client-timeline-step > div:last-child {
  display: grid;
  align-content: start;
  padding-top: 7px;
}

.client-timeline-step strong {
  font-size: .76rem;
}

.client-timeline-step span {
  margin-top: 4px;
  color: #959ca5;
  font-size: .61rem;
}

.client-timeline-step.is-complete .client-timeline-marker {
  color: #177044;
  background: #dff1e5;
  box-shadow: 0 0 0 1px #cde7d6;
}

.client-timeline-step.is-complete:not(:last-child)::before {
  background: #81c995;
}

.client-timeline-step.is-current .client-timeline-marker {
  color: #fff;
  background: #1a73e8;
  box-shadow: 0 0 0 5px rgba(26,115,232,.11);
}

.client-timeline-step.is-current strong {
  color: #185abc;
}

.client-timeline-step.is-future {
  opacity: .66;
}

.client-project-note p {
  margin: 0;
  color: #5e6874;
  font-size: .77rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.client-date-list {
  display: grid;
  gap: 11px;
}

.client-date-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 15px;
}

.client-date-list > div > i {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 12px;
}

.client-date-list span {
  display: grid;
}

.client-date-list small {
  color: #8a929c;
  font-size: .59rem;
}

.client-date-list strong {
  margin-top: 2px;
  font-size: .7rem;
}

.client-art-window {
  position: relative;
  display: flex;
  gap: 7px;
  width: 220px;
  height: 160px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(26,115,232,.13);
  transform: rotate(-3deg);
}

.client-art-window span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.client-art-window span:nth-child(1) { background: #ea4335; }
.client-art-window span:nth-child(2) { background: #fbbc04; }
.client-art-window span:nth-child(3) { background: #34a853; }

.client-art-window i {
  position: absolute;
  inset: 50% auto auto 50%;
  color: #1a73e8;
  font-size: 3.6rem;
  transform: translate(-50%, -42%);
}

.client-ticket-create-layout,
.client-ticket-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 22px;
  align-items: start;
}

.client-ticket-help,
.client-ticket-detail-side {
  position: sticky;
  top: 99px;
}

.client-ticket-tip,
.client-priority-guide {
  background: #fff;
  border: 1px solid #e1e6ec;
}

.client-ticket-tip > div {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
}

.client-ticket-tip > div > i {
  color: #1a73e8;
  font-size: 1.05rem;
}

.client-ticket-tip span {
  display: grid;
}

.client-ticket-tip strong {
  font-size: .7rem;
}

.client-ticket-tip small {
  margin-top: 3px;
  color: #8d949e;
  font-size: .61rem;
}

.client-priority-guide > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef1f4;
}

.client-priority-guide p {
  margin: 0;
  color: #848d97;
  font-size: .61rem;
  line-height: 1.5;
}

.client-ticket-file {
  min-height: 90px;
}

.client-ticket-hero {
  margin-bottom: 24px;
}

.client-ticket-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.client-thread-panel {
  min-width: 0;
}

.client-message-thread {
  padding: 7px 0 28px;
}

.client-ticket-reply-form {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e9edf1;
}

.client-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 13px;
}

.client-reply-actions > small {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  color: #8b939d;
  font-size: .6rem;
}

.client-ticket-summary-list {
  display: grid;
  gap: 9px;
}

.client-ticket-summary-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 13px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 13px;
}

.client-ticket-summary-list span {
  color: #8a929c;
  font-size: .62rem;
}

.client-ticket-summary-list strong {
  font-size: .68rem;
  text-transform: capitalize;
}

.client-attachment-list {
  display: grid;
  gap: 9px;
}

.client-attachment-list > a {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: #f8fafc;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.client-attachment-list > a:hover {
  background: #f1f6ff;
  border-color: #cbdcff;
  transform: translateY(-1px);
}

.client-attachment-list > a > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #185abc;
  background: #e8f0fe;
  border-radius: 12px;
}

.client-attachment-list > a > div {
  display: grid;
  min-width: 0;
}

.client-attachment-list strong {
  overflow: hidden;
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-attachment-list small {
  margin-top: 2px;
  color: #9198a1;
  font-size: .58rem;
}

.client-attachment-list > a > i {
  color: #8a929c;
}

.client-no-attachments {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 82px;
  padding: 15px;
  color: #8a929c;
  background: #f8fafc;
  border: 1px dashed #d7dde4;
  border-radius: 14px;
  font-size: .64rem;
}

@media (max-width: 1199.98px) {
  .client-dashboard-hero,
  .client-onboarding-hero {
    grid-template-columns: minmax(0,1fr) 280px;
  }

  .client-form-layout,
  .client-profile-layout,
  .client-ticket-create-layout,
  .client-ticket-detail-layout {
    grid-template-columns: minmax(0,1fr) 300px;
  }

  .client-billing-grid {
    grid-template-columns: minmax(0,1fr) 340px;
  }
}

@media (max-width: 991.98px) {
  .client-dashboard-hero,
  .client-onboarding-hero,
  .client-profile-hero,
  .client-billing-grid,
  .client-form-layout,
  .client-profile-layout,
  .client-ticket-create-layout,
  .client-ticket-detail-layout,
  .client-no-plan-state,
  .client-no-project-state {
    grid-template-columns: 1fr;
  }

  .client-account-card {
    max-width: 440px;
  }

  .client-form-sidebar,
  .client-ticket-help,
  .client-ticket-detail-side {
    position: static;
  }

  .client-submit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .client-submit-card > .admin-panel-kicker,
  .client-submit-card > h2,
  .client-submit-card > p,
  .client-submit-checklist,
  .client-submit-note {
    grid-column: 1 / -1;
  }

  .client-submit-card .btn + .btn {
    margin-top: 0;
  }

  .client-profile-completion {
    justify-self: start;
  }

  .client-profile-hero {
    grid-template-columns: auto minmax(0,1fr);
  }

  .client-profile-completion {
    grid-column: 1 / -1;
  }

  .client-project-hero {
    grid-template-columns: minmax(0,1fr) auto;
  }

  .client-no-plan-visual,
  .client-no-project-art {
    min-height: 250px;
  }
}

@media (max-width: 767.98px) {
  .client-dashboard-hero,
  .client-onboarding-hero,
  .client-profile-hero,
  .client-project-hero {
    border-radius: 22px;
  }

  .client-dashboard-hero {
    padding: 28px 23px;
  }

  .client-project-title-row,
  .client-project-hero {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .client-progress-number {
    text-align: left;
  }

  .client-project-meta,
  .client-plan-facts {
    grid-template-columns: 1fr;
  }

  .client-plan-name {
    align-items: flex-start;
  }

  .client-data-note,
  .client-reply-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-profile-hero {
    grid-template-columns: 1fr;
  }

  .client-profile-avatar {
    width: 65px;
    height: 65px;
    border-radius: 20px;
  }

  .client-profile-completion {
    grid-column: auto;
  }

  .client-project-progress-orb {
    width: 132px;
    height: 132px;
  }

  .client-project-progress-orb::before {
    width: 105px;
    height: 105px;
  }

  .client-no-plan-state,
  .client-no-project-state {
    min-height: auto;
    padding: 28px 22px;
  }

  .client-form-section-heading {
    align-items: center;
  }

  .client-submit-card {
    grid-template-columns: 1fr;
  }

  .client-submit-card > .admin-panel-kicker,
  .client-submit-card > h2,
  .client-submit-card > p,
  .client-submit-checklist,
  .client-submit-note {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  .client-dashboard-hero h1,
  .client-onboarding-hero h1,
  .client-project-hero h1 {
    font-size: 2.25rem;
  }

  .client-hero-actions,
  .client-hero-actions .btn,
  .client-dashboard-hero .btn,
  .client-no-plan-state .btn,
  .client-no-project-state .btn {
    width: 100%;
  }

  .client-project-meta {
    grid-template-columns: 1fr;
  }

  .client-plan-hero,
  .client-next-step-card,
  .client-help-card,
  .client-profile-tip,
  .client-submit-card {
    border-radius: 19px;
  }

  .client-plan-name {
    margin: 28px 0;
  }

  .client-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .client-plan-name h1 {
    font-size: 2.15rem;
  }

  .client-form-section-heading {
    align-items: flex-start;
  }

  .client-form-step {
    width: 38px;
    height: 38px;
  }

  .client-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .client-file-upload {
    align-items: flex-start;
  }

  .client-ticket-hero-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-reply-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-progress-track span,
  .client-file-upload,
  .client-attachment-list > a {
    transition: none !important;
  }
}


/* Ensure slides match equal height */
.testimonial-swiper {
  padding-bottom: 50px; /* Space for pagination dots */
  position: relative;
}

.swiper-slide {
  height: auto; /* Allows cards in the same row to stretch equally */
  display: flex;
}

.testimonial-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Avatar styling */
.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Swiper navigation arrow styling (Optional) */
.swiper-button-next,
.swiper-button-prev {
  color: #333; /* Change to match your theme color */
}