/*!
 * Nik Web Solutions | Homepage
 * style.css (layered on Bootstrap 5.3: grid, utilities, offcanvas)
 *
 * 01 Tokens & base            09 Featured projects
 * 02 Buttons & shared UI      10 Project thumbnails
 * 03 Header & mobile menu     11 Why choose us
 * 04 Hero                     12 Technology stack
 * 05 Hero devices             13 Process
 * 06 Hero chips & stats       14 Testimonials
 * 07 Section scaffolding      15 Final CTA
 * 08 Services                 16 Footer
 *                             17 Motion, reveal & accessibility
 *                             18 Free quote modal
 *                             19 Locations mega menu
 */

/* ==========================================================================
   01. Tokens & base
   ========================================================================== */
:root {
  --primary: #2E2AFF;
  --azure: #4F8BFF;
  --accent: #C8FF00;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFF;
  --bg-tint: #F2F6FD;
  --dark: #050505;
  --text: #111111;
  --muted: #6B7280;
  --border: #E5E7EB;
  --star: #FFC21A;
  --icon-blue: #6E9BFF;

  --grad-primary: linear-gradient(135deg, #4F8BFF 0%, #2E2AFF 100%);
  --grad-text: linear-gradient(90deg, #2E2AFF 0%, #4F8BFF 100%);
  --grad-text-dark: linear-gradient(90deg, #4A55FF 0%, #4F8BFF 100%);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --radius: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -20px rgba(16, 24, 40, .3);
  --shadow-glow: 0 12px 30px -10px rgba(46, 42, 255, .65);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .3s;
}

a:hover {
  color: var(--primary);
}

h1, h2, h3 {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(46, 42, 255, .16);
}

.hero ::selection,
.section-dark ::selection,
.cta ::selection,
.site-footer ::selection {
  color: #fff;
  background: rgba(79, 139, 255, .45);
}

/* Container: 1240px content width on desktop, 20px side padding */
.container {
  --bs-gutter-x: 2.5rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  transition: top .2s;
}

.skip-link:focus {
  top: 14px;
  color: #fff;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--primary), var(--azure) 60%, var(--accent));
  box-shadow: 0 0 10px rgba(79, 139, 255, .7);
}

/* ==========================================================================
   02. Buttons & shared UI
   ========================================================================== */
.btn-brand,
.btn-ghost,
.btn-outline-pill,
.cta__whatsapp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn-brand {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: var(--btn-h);
  padding: 0 1.55rem;
  border: 0;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 10px 26px -10px rgba(46, 42, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .32) 45%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .8s var(--ease);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(46, 42, 255, .9), 0 0 0 4px rgba(79, 139, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-brand:hover::before {
  transform: translateX(110%);
}

.btn-brand:active {
  transform: translateY(0);
}

.btn-brand > i {
  font-size: .8em;
  transition: transform .35s var(--ease);
}

.btn-brand:hover > i {
  transform: translateX(4px);
}

.btn-brand--sm {
  --btn-h: 42px;
  padding: 0 1.25rem;
  font-size: .82rem;
}

.btn-brand--lg {
  --btn-h: 56px;
  padding: 0 1.9rem;
  font-size: .95rem;
}

.btn--soft {
  border-radius: 14px;
}

.btn-ghost {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: var(--btn-h);
  padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .35s, background-color .35s, transform .35s var(--ease);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

.btn-ghost--lg {
  --btn-h: 56px;
  padding: 0 1.6rem;
  font-size: .95rem;
}

.hero__actions .btn-ghost {
  padding-left: .8rem;
}

.btn-ghost__play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding-left: 2px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  font-size: .68rem;
  transition: background-color .35s, color .35s, border-color .35s;
}

.btn-ghost:hover .btn-ghost__play {
  color: var(--primary);
  border-color: #fff;
  background: #fff;
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  margin-top: 1.5rem;
  padding: 0 1.15rem;
  border: 1.5px solid rgba(79, 139, 255, .6);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: #8DB3FF;
  transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s;
}

.btn-outline-pill i {
  font-size: .8em;
  transition: transform .35s var(--ease);
}

.btn-outline-pill:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.btn-outline-pill:hover i {
  transform: translateX(4px);
}

.btn-glow {
  animation: glowPulse 2.8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 139, 255, .45), 0 12px 32px -10px rgba(46, 42, 255, .9); }
  50%      { box-shadow: 0 0 0 10px rgba(79, 139, 255, 0), 0 14px 40px -8px rgba(46, 42, 255, 1); }
}

/* Button ripple (added by script.js) */
.ripple {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .35);
  transform: scale(0);
  animation: ripple .7s var(--ease) forwards;
}

.slider-btn--light .ripple {
  background: rgba(46, 42, 255, .18);
}

@keyframes ripple {
  to { transform: scale(1); opacity: 0; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem 0;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary);
}

.link-arrow i {
  font-size: .8em;
  transition: transform .35s var(--ease);
}

.link-arrow:hover i {
  transform: translateX(5px);
}

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

.hero .text-gradient,
.section-dark .text-gradient {
  background-image: var(--grad-text-dark);
}

/* Glowing brush underline under a highlighted word */
.u-glow {
  position: relative;
  display: inline-block;
}

.u-glow::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 5%;
  bottom: -.06em;
  height: .11em;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(79, 139, 255, .25), #4F8BFF 45%, #6A67FF);
  box-shadow: 0 0 16px rgba(79, 139, 255, .95), 0 0 4px rgba(79, 139, 255, .9);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.is-visible .u-glow::after {
  animation: underlineIn 1s var(--ease) .45s backwards;
}

@keyframes underlineIn {
  from { transform: rotate(-1.2deg) scaleX(0); }
}

.hand-note {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 600;
  line-height: 1.02;
}

.glass {
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* Initial-based avatars: gradient hue set per element with --h */
.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  --size: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  font-size: calc(var(--size) * .32);
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--h, 228) 92% 66%), hsl(calc(var(--h, 228) + 28) 80% 42%));
  box-shadow: 0 0 0 2px #0B0F1C;
}

.avatar-stack .avatar + .avatar {
  margin-left: -10px;
}

.avatar--md {
  --size: 46px;
  box-shadow: 0 8px 18px -8px hsl(var(--h, 228) 80% 50% / .7);
}

/* Star rating: one element, partial fill driven by --rating (0–5) */
.stars {
  --size: 14px;
  --rating: 5;
  display: inline-block;
  flex-shrink: 0;
  width: calc(var(--size) * 5.8333);
  height: var(--size);
  vertical-align: middle;
  background: linear-gradient(90deg, var(--star) calc(var(--rating) / 5 * 100%), rgba(148, 163, 184, .4) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 0 28 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") 0 0 / calc(var(--size) * 1.16667) var(--size) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 0 28 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") 0 0 / calc(var(--size) * 1.16667) var(--size) repeat-x;
}

.stars--sm { --size: 12px; }
.stars--lg { --size: 18px; }

.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Slider arrows (projects + testimonials) */
.slider-arrows {
  display: flex;
  gap: .6rem;
}

.slider-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  font-size: .85rem;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}

.slider-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.slider-btn:active {
  transform: scale(.94);
}

.slider-btn--light {
  color: var(--primary);
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(17, 24, 64, .35);
}

.slider-btn--light:hover {
  color: #fff;
}

/* Carousel (projects + testimonials) */
.carousel-viewport {
  overflow: hidden;
  margin: -18px;
  padding: 18px;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
}

.carousel-track > * {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  min-width: 0;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 26px;
}

.carousel-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.carousel-dots button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #CBD2DD;
  transition: width .45s var(--ease), background-color .45s;
}

.carousel-dots button:hover::before {
  background: #9AA6FF;
}

.carousel-dots button[aria-current="true"]::before {
  width: 22px;
  background: var(--primary);
}

/* ==========================================================================
   03. Header & mobile menu
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  padding: 20px 0;
  transition: padding .45s var(--ease), background-color .45s, box-shadow .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
  animation: navReveal .9s var(--ease) .05s backwards;
}

.site-header.is-scrolled {
  padding: 11px 0;
  background: rgba(5, 7, 14, .74);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px -16px rgba(0, 0, 0, .7);
}

@keyframes navReveal {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  flex-shrink: 0;
  width: 44px;
  height: 37px;
  filter: drop-shadow(0 6px 14px rgba(46, 42, 255, .45));
  transition: transform .5s var(--ease);
}

a.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand__tagline {
  margin-top: 4px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  color: var(--azure);
}

.brand__tagline i {
  margin: 0 .15em;
  font-style: normal;
  opacity: .7;
}

.menu {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-link {
  position: relative;
  display: inline-block;
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
}

.menu-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-primary);
  box-shadow: 0 0 10px rgba(79, 139, 255, .8);
  transform: translateX(-50%) scaleX(0);
  transition: transform .35s var(--ease);
}

.menu-link:hover,
.menu-link.is-active {
  color: #fff;
}

.menu-link:hover::after,
.menu-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .menu-link {
    padding: .5rem .6rem;
    font-size: .84rem;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  transition: background-color .3s, border-color .3s;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.nav-toggle span:nth-child(2) {
  width: 12px;
  margin-left: 6px;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
}

.mobile-nav {
  --bs-offcanvas-width: min(360px, 88vw);
  --bs-offcanvas-bg: #07090F;
  --bs-offcanvas-color: #fff;
  --bs-offcanvas-border-color: rgba(255, 255, 255, .08);
  background-image: radial-gradient(80% 50% at 100% 0%, rgba(46, 42, 255, .28), transparent 70%);
}

.mobile-nav .offcanvas-header {
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mobile-nav .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 10px 20px 28px;
}

.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.mobile-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem .25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 1.12rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}

.mobile-menu .menu-link::after {
  position: static;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 255, 0, .8);
  opacity: 0;
  transform: none;
  transition: opacity .3s;
}

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

.mobile-menu .menu-link.is-active::after,
.mobile-menu .menu-link:hover::after {
  opacity: 1;
  transform: none;
}

.mobile-nav__cta {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.mobile-nav__meta {
  margin: 20px 0 0;
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .55);
}

/* ==========================================================================
   04. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 50px) 0 48px;
  color: #fff;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 74% 44%, rgba(38, 86, 255, .34) 0%, rgba(46, 42, 255, .1) 45%, transparent 72%),
    radial-gradient(45% 40% at 0% 0%, rgba(46, 42, 255, .12), transparent 70%),
    linear-gradient(180deg, #03060F 0%, #050505 75%);
}

/* Soft "studio" backdrop behind the devices */
.hero__bg-room {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 82%;
  opacity: .9;
  background:
    repeating-linear-gradient(90deg, rgba(140, 170, 255, .05) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, rgba(20, 32, 70, .55), rgba(5, 5, 5, 0));
  -webkit-mask-image: radial-gradient(70% 90% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 60% 30%, #000 30%, transparent 75%);
}

.hero__bg-beam {
  position: absolute;
  top: -12%;
  left: 60%;
  width: 16%;
  height: 78%;
  opacity: .8;
  background: linear-gradient(180deg, rgba(120, 165, 255, .42), rgba(46, 42, 255, .1) 65%, transparent);
  filter: blur(48px);
  transform: skewX(-10deg);
}

.hero__bg-warm {
  position: absolute;
  top: -8%;
  left: 66%;
  width: 22%;
  height: 40%;
  background: radial-gradient(closest-side, rgba(255, 150, 90, .2), transparent);
  filter: blur(20px);
}

/* Mouse-follow glow (dark sections): script.js adds one .section-glow layer
   per [data-glow] section and moves it with transform (GPU-composited). */
.section-glow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 1040px;
  height: 1040px;
  margin: -520px 0 0 -520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(closest-side, rgba(79, 139, 255, .14), rgba(79, 139, 255, .05) 55%, transparent);
  transition: opacity .5s;
  will-change: transform;
}

.glow-on > .section-glow {
  opacity: 1;
}

.hero__container {
  position: relative;
}

.hero__copy {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.35rem;
  padding: .4rem .95rem .4rem .75rem;
  border: 1px solid rgba(79, 139, 255, .3);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  background: rgba(46, 42, 255, .12);
  box-shadow: inset 0 0 20px rgba(46, 42, 255, .15);
  animation: heroUp .9s var(--ease) .15s backwards;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, .15), 0 0 12px rgba(200, 255, 0, .9);
}

.hero__badge-spark {
  width: 12px;
  height: 12px;
  background: var(--azure);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.hero__title {
  margin: 0 0 1.35rem;
  font-size: clamp(2.2rem, .55rem + 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}

/* Masked line reveal */
.hero__title .line {
  display: block;
  overflow: hidden;
  margin-bottom: -.1em;
  padding-bottom: .1em;
}

.hero__title .line > span {
  display: inline-block;
  animation: lineUp 1.05s var(--ease) backwards;
}

.hero__title .line:nth-child(1) > span { animation-delay: .25s; }
.hero__title .line:nth-child(2) > span { animation-delay: .37s; }
.hero__title .line:nth-child(3) > span { animation-delay: .49s; }

.hero__lead {
  max-width: 482px;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  animation: heroUp .9s var(--ease) .62s backwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  animation: heroUp .9s var(--ease) .74s backwards;
}

@keyframes heroUp {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
}

@keyframes lineUp {
  from { transform: translate3d(0, 108%, 0); }
}

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 1.5rem;
  margin-top: 2.5rem;
}

.hero__trust {
  display: flex;
  flex: 1 1 560px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .82);
}

.hero__trust-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(92, 141, 255, .22);
  border-radius: 12px;
  font-size: .95rem;
  color: var(--icon-blue);
  background: rgba(46, 42, 255, .12);
}

/* ==========================================================================
   05. Hero devices (pure HTML/CSS; all sizes scale with the column via cqw)
   ========================================================================== */
.hero-visual {
  position: relative;
  container-type: inline-size;
}

.hero-visual__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 74;
}

.hero-visual__glow {
  position: absolute;
  left: 6cqw;
  top: 4cqw;
  width: 78cqw;
  height: 60cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 108, 255, .55), rgba(46, 42, 255, .16) 60%, transparent);
  filter: blur(28px);
}

.hero-visual__desk {
  position: absolute;
  left: -40cqw;
  right: -40cqw;
  top: 61.5cqw;
  height: 22cqw;
  border-top: 1px solid rgba(150, 180, 255, .16);
  background: linear-gradient(180deg, rgba(92, 128, 220, .16) 0%, rgba(14, 20, 42, .7) 12%, rgba(5, 5, 5, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
}

.device {
  position: absolute;
}

.device--laptop {
  left: 4cqw;
  top: 14cqw;
  z-index: 2;
  width: 70cqw;
}

.device--phone {
  left: 72.5cqw;
  top: 30cqw;
  z-index: 3;
  width: 19.5cqw;
}

.device--plant {
  left: 92cqw;
  top: 24cqw;
  z-index: 1;
  width: 22cqw;
}

/* Laptop */
.laptop__lid {
  position: relative;
  padding: 1.1cqw 1.1cqw 1.5cqw;
  border-radius: 2cqw 2cqw .8cqw .8cqw;
  background: linear-gradient(180deg, #2B303B 0%, #0E1118 100%);
  box-shadow: 0 0 0 1.5px rgba(196, 202, 214, .55), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 28px 60px -22px rgba(0, 0, 0, .9), 0 0 70px -12px rgba(62, 112, 255, .55);
}

.laptop__lid::before {
  content: '';
  position: absolute;
  top: .35cqw;
  left: 50%;
  width: .5cqw;
  height: .5cqw;
  border-radius: 50%;
  background: #3A3F4A;
  transform: translateX(-50%);
}

.laptop__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: .6cqw;
  background: #060A16;
  container-type: inline-size;
}

.laptop__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 38%);
}

.laptop__base {
  position: relative;
  width: 114%;
  height: 2.4cqw;
  margin-left: -7%;
  border-radius: .3cqw .3cqw 2cqw 2cqw / .3cqw .3cqw 1.4cqw 1.4cqw;
  background: linear-gradient(180deg, #E3E7EE 0%, #A8AFBC 40%, #5E6573 100%);
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .95);
}

.laptop__base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 13%;
  height: 45%;
  border-radius: 0 0 .9cqw .9cqw;
  background: linear-gradient(180deg, #7C8391, #B8BEC9);
  transform: translateX(-50%);
}

/* Website shown on the laptop (cqw = % of screen width) */
.mini-site {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(70% 90% at 78% 45%, rgba(46, 98, 255, .45), transparent 65%),
    radial-gradient(40% 50% at 20% 110%, rgba(46, 42, 255, .25), transparent),
    linear-gradient(135deg, #050915 0%, #0A1330 55%, #06102A 100%);
}

.mini-site__nav {
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding: 3cqw 5cqw;
}

.mini-site__logo {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  margin-right: auto;
  font-size: 2.1cqw;
  font-weight: 800;
}

.mini-site__logo svg {
  width: 3.4cqw;
  height: 2.8cqw;
}

.mini-site__links {
  display: flex;
  gap: 2.6cqw;
}

.mini-site__links i {
  display: block;
  width: 4.6cqw;
  height: .8cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .3);
}

.mini-site__cta {
  width: 9cqw;
  height: 3.2cqw;
  border-radius: 1cqw;
  background: var(--grad-primary);
}

.mini-site__hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2cqw;
  padding: 0 4cqw 0 7cqw;
}

.mini-site__kicker {
  display: block;
  width: 12cqw;
  height: 1cqw;
  margin-bottom: 2.4cqw;
  border-radius: 1cqw;
  background: rgba(90, 150, 255, .9);
}

.mini-site__title {
  display: block;
  margin-bottom: 2.4cqw;
  font-size: 6cqw;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #DCEBFF, #7FB2FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mini-site__line {
  display: block;
  width: 34cqw;
  height: .9cqw;
  margin-bottom: 1.3cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .25);
}

.mini-site__line--short {
  width: 24cqw;
}

.mini-site__btn {
  display: inline-block;
  margin-top: 2.2cqw;
  padding: 1.5cqw 3.4cqw;
  border-radius: 1cqw;
  font-size: 1.8cqw;
  font-weight: 700;
  background: var(--grad-primary);
  box-shadow: 0 1cqw 3cqw rgba(46, 42, 255, .6);
}

.mini-site__devices {
  position: relative;
  height: 100%;
  min-height: 36cqw;
}

.mini-phone {
  position: absolute;
  width: 15cqw;
  aspect-ratio: 9 / 18.5;
  padding: .6cqw;
  border: .35cqw solid rgba(210, 225, 255, .35);
  border-radius: 2.2cqw;
  background: #0B1020;
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .55);
}

.mini-phone > span {
  display: block;
  height: 100%;
  border-radius: 1.6cqw;
  background:
    linear-gradient(90deg, #2E2AFF 0 40%, transparent 40%) 12% 10% / 70% 3% no-repeat,
    linear-gradient(#fff, #fff) 12% 16% / 76% 2.4% no-repeat,
    linear-gradient(#DCE7FF, #DCE7FF) 12% 21% / 56% 2.4% no-repeat,
    linear-gradient(135deg, #7FA8FF, #2E2AFF) 50% 44% / 76% 28% no-repeat,
    linear-gradient(#E6EEFF, #E6EEFF) 12% 80% / 34% 12% no-repeat,
    linear-gradient(#E6EEFF, #E6EEFF) 88% 80% / 34% 12% no-repeat,
    linear-gradient(180deg, #F5F8FF, #EAF1FF);
}

.mini-phone--back {
  top: 2cqw;
  right: 17cqw;
  opacity: .92;
  transform: rotate(-6deg);
}

.mini-phone--front {
  top: 6cqw;
  right: 3.5cqw;
  transform: rotate(4deg);
}

.mini-site__logos {
  display: flex;
  justify-content: space-around;
  padding: 2.2cqw 8cqw 3cqw;
  opacity: .5;
}

.mini-site__logos i {
  width: 7cqw;
  height: .9cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .35);
}

/* Phone */
.phone {
  position: relative;
  aspect-ratio: 9 / 19;
  padding: 1cqw;
  border-radius: 3.6cqw;
  background: linear-gradient(145deg, #444A57 0%, #0C0E13 40%, #1D2029 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 30px 50px -18px rgba(0, 0, 0, .95), 0 0 46px -12px rgba(62, 112, 255, .6);
}

.phone__island {
  position: absolute;
  top: 2.1cqw;
  left: 50%;
  z-index: 2;
  width: 6cqw;
  height: 1.7cqw;
  border-radius: 2cqw;
  background: #000;
  transform: translateX(-50%);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 2.8cqw;
  background:
    radial-gradient(90% 50% at 70% 30%, rgba(46, 98, 255, .35), transparent 70%),
    linear-gradient(180deg, #060A18 0%, #0A1433 100%);
  container-type: inline-size;
}

.app {
  position: relative;
  z-index: 1;
  padding: 20cqw 10cqw 0;
  color: #fff;
}

.app__bar {
  display: flex;
  align-items: center;
  gap: 4cqw;
  margin-bottom: 12cqw;
}

.app__logo {
  width: 11cqw;
  height: 9cqw;
}

.app__brand {
  margin-right: auto;
  font-size: 7cqw;
  font-weight: 800;
}

.app__menu {
  display: grid;
  gap: 2cqw;
}

.app__menu i {
  display: block;
  width: 9cqw;
  height: 1.4cqw;
  border-radius: 1cqw;
  background: #fff;
}

.app__kicker {
  display: block;
  margin-bottom: 4cqw;
  font-size: 5.6cqw;
  font-weight: 700;
  color: #7FA8FF;
}

.app__title {
  display: block;
  margin-bottom: 6cqw;
  font-size: 13cqw;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.app__title span {
  color: #5C8DFF;
}

.app__line {
  display: block;
  width: 70cqw;
  height: 2cqw;
  margin-bottom: 3cqw;
  border-radius: 2cqw;
  background: rgba(255, 255, 255, .25);
}

.app__line--short {
  width: 50cqw;
}

.app__btn {
  display: inline-block;
  margin-top: 5cqw;
  padding: 4cqw 8cqw;
  border-radius: 3cqw;
  font-size: 6cqw;
  font-weight: 700;
  background: var(--grad-primary);
  box-shadow: 0 3cqw 8cqw rgba(46, 42, 255, .6);
}

.app__hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 34%;
}

.plant {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .6));
}

/* Handwritten note + arrow */
.hero-note {
  position: absolute;
  top: 1cqw;
  right: 3cqw;
  z-index: 5;
  width: 22cqw;
  color: rgba(255, 255, 255, .9);
}

.hero-note .hand-note {
  font-size: max(15px, 3.3cqw);
  transform: rotate(-8deg);
}

.hero-note .hand-note span {
  display: block;
  white-space: nowrap;
}

.hero-note .hand-note span:nth-child(2) { padding-left: .7em; }
.hero-note .hand-note span:nth-child(3) { padding-left: 1.3em; }

.hand-arrow {
  position: absolute;
  top: 10cqw;
  left: 30%;
  width: 7cqw;
  height: auto;
  overflow: visible;
}

.hand-arrow path,
.dev-card__arrow path,
.dev-card__sig path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hand-arrow .draw {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}

.is-loaded .hand-arrow .draw {
  animation: drawLine 1.4s var(--ease) 1.5s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ==========================================================================
   06. Hero chips & stats
   ========================================================================== */
.tech-chip {
  position: absolute;
  z-index: 4;
}

.tech-chip__inner {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .45em .95em .45em .45em;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: max(11px, 1.95cqw);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: float 6s ease-in-out infinite;
}

.tech-chip__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-size: .95em;
  background: rgba(255, 255, 255, .1);
}

.tech-chip--laravel .tech-chip__icon {
  color: #FF4A3D;
  background: rgba(255, 45, 32, .16);
}

.tech-chip__icon--php {
  font: italic 800 .74em/1 var(--font);
  letter-spacing: -.03em;
  color: #0E0F1A;
  background: #8892BF;
}

.tech-chip--wp .tech-chip__icon {
  color: #fff;
  background: rgba(33, 117, 155, .55);
}

.tech-chip--mysql .tech-chip__icon {
  color: #F29111;
  background: rgba(242, 145, 17, .16);
}

.tech-chip__icon--js {
  place-items: end;
  width: 1.9em;
  height: 1.9em;
  padding: 0 .28em .14em 0;
  border-radius: .35em;
  font-size: .72em;
  font-weight: 800;
  line-height: 1;
  color: #111;
  background: #F7DF1E;
}

.tech-chip--laravel { left: -3cqw; top: 8cqw; }
.tech-chip--php     { left: -5cqw; top: 38cqw; }
.tech-chip--mysql   { left: 42cqw; top: 3.5cqw; }
.tech-chip--wp      { left: 9cqw;  top: 64.5cqw; }
.tech-chip--js      { left: 45cqw; top: 66cqw; }

.tech-chip--laravel .tech-chip__inner { animation-duration: 6.4s; animation-delay: -1s; }
.tech-chip--php .tech-chip__inner     { animation-duration: 5.6s; animation-delay: -3s; }
.tech-chip--mysql .tech-chip__inner   { animation-duration: 7s;   animation-delay: -2s; }
.tech-chip--wp .tech-chip__inner      { animation-duration: 5.8s; animation-delay: -4s; }
.tech-chip--js .tech-chip__inner      { animation-duration: 6.8s; animation-delay: -.5s; }

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 14px 22px 14px 16px;
  border-radius: 18px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  font-size: .75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, .65);
}

.hero__stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.hero__stats-plus {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .3);
}

/* ==========================================================================
   07. Section scaffolding
   ========================================================================== */
.section {
  position: relative;
  padding: 80px 0;
}

.section-dark {
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--dark);
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(46, 42, 255, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(30, 60, 160, .14), transparent 70%),
    linear-gradient(180deg, #030813 0%, #050505 100%);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 .8rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}

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

.eyebrow--dark {
  color: var(--text);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 1.15rem + 1.1vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--text);
}

.section-dark .section-title {
  color: #fff;
}

.section-lead {
  max-width: 540px;
  margin: 0;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, .66);
}

.section-head {
  margin-bottom: 36px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

@media (min-width: 992px) {
  .section-head--split > .link-arrow,
  .section-head--split > .rating-summary {
    margin-top: 1.9rem;
  }
}

/* ==========================================================================
   08. Services
   ========================================================================== */
.services {
  padding: 58px 0 60px;
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 20px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}

/* Cursor spotlight (--mx/--my set by script.js) */
.service-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 42, 255, .08), transparent 60%);
  transition: opacity .4s;
}

/* Gradient bar that sweeps in on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 42, 255, .22);
  box-shadow: 0 26px 50px -24px rgba(46, 42, 255, .38);
}

.service-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #D3D9E3;
  transition: color .35s;
}

.service-card:hover .service-card__num {
  color: var(--primary);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-size: 1.55rem;
  transition: transform .55s var(--ease);
}

.service-card:hover .service-card__icon {
  transform: rotate(-8deg) scale(1.08);
}

.service-card__icon--laravel {
  color: #FF2D20;
  background: #FFF0EE;
}

.service-card__icon--php {
  width: auto;
  justify-content: start;
}

.service-card__icon--wp {
  color: #1E2A4A;
  background: #EEF2F8;
}

.service-card__icon--blue {
  color: var(--primary);
  background: #EEF0FF;
}

.service-card__title {
  margin: 0 0 .65rem;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text);
}

.service-card__text {
  margin: 0 0 1.25rem;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card__link i {
  font-size: .75em;
  transition: transform .35s var(--ease);
}

.service-card:hover .service-card__link i {
  transform: translateX(5px);
}

/* Whole card is clickable (stretched link): draw the focus ring on the card */
.stretched-link:focus-visible {
  outline: none;
}

.stretched-link:focus-visible::after {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.section-dark .stretched-link:focus-visible::after {
  outline-color: var(--accent);
}

.php-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 30px;
  border-radius: 50%;
  font: italic 800 .92rem/1 var(--font);
  letter-spacing: -.03em;
  color: #111;
  background: #777BB4;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}

.php-badge--lg {
  width: 78px;
  height: 42px;
  font-size: 1.35rem;
}

/* ==========================================================================
   09. Featured projects
   ========================================================================== */
.portfolio {
  padding: 58px 0 64px;
}

.portfolio__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 36px;
}

.portfolio__intro {
  max-width: 540px;
}

.portfolio__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.trusted {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.trusted .avatar {
  box-shadow: 0 0 0 2px #060B18;
}

.trusted__text {
  margin: 0 0 .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
}

.projects-track {
  --per: 4;
  --gap: 22px;
}

.project-card {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}

/* Gradient glow border */
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, #4F8BFF, #2E2AFF 45%, #C8FF00);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .45s;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 34px 60px -24px rgba(46, 42, 255, .55), 0 0 40px -12px rgba(79, 139, 255, .45);
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #0B1020;
}

.project-card__cat {
  position: absolute;
  top: calc(50cqw - 12px);
  left: 16px;
  z-index: 4;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(5, 8, 18, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.project-card__visit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(5, 8, 20, .15), rgba(5, 8, 20, .62));
  transition: opacity .45s var(--ease);
}

.project-card__visit > span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
  transform: translateY(12px);
  transition: transform .45s var(--ease);
}

.project-card:hover .project-card__visit,
.project-card:focus-within .project-card__visit {
  opacity: 1;
}

.project-card:hover .project-card__visit > span,
.project-card:focus-within .project-card__visit > span {
  transform: none;
}

.project-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 22px 16px 18px 18px;
}

.project-card__title {
  grid-column: 1;
  margin: 0 0 .4rem;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.project-card__stack {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .74rem;
  color: var(--muted);
}

.project-card__stack li + li::before {
  content: '|';
  margin: 0 .45em;
  color: #C3C8D1;
}

.project-card__link {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--primary);
  background: #EEF1FF;
  transition: background-color .35s, color .35s;
}

.project-card__link i {
  font-size: .85rem;
  transition: transform .45s var(--ease);
}

.project-card:hover .project-card__link {
  color: #fff;
  background: var(--primary);
}

.project-card:hover .project-card__link i {
  transform: rotate(-45deg);
}

.project-card .stretched-link:focus-visible::after {
  outline-offset: -2px;
}

/* ==========================================================================
   10. Project thumbnails (CSS-built website previews; cqw = % of thumb width)
   ========================================================================== */
.thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #fff;
  container-type: inline-size;
  transition: transform .9s var(--ease);
}

.project-card:hover .thumb {
  transform: scale(1.08);
}

/* Real screenshot instead of a CSS preview:
   <img class="thumb" src="shot.webp" alt="..." width="640" height="320" loading="lazy"> */
img.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  container-type: normal;
}

.thumb small,
.thumb strong,
.thumb em {
  display: block;
  font-style: normal;
}

.thumb__nav {
  position: absolute;
  top: 3.6cqw;
  left: 5cqw;
  right: 5cqw;
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.thumb__logo {
  width: 4.2cqw;
  height: 4.2cqw;
  margin-right: auto;
  border-radius: 1.2cqw;
  background: var(--grad-primary);
}

.thumb__nav i {
  width: 6cqw;
  height: 1cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .35);
}

.thumb__nav em {
  width: 10cqw;
  height: 3.6cqw;
  border-radius: 1cqw;
  background: var(--grad-primary);
}

.thumb__line {
  display: block;
  width: 34cqw;
  height: 1.1cqw;
  margin-top: 2cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .25);
}

.thumb__line--s {
  width: 24cqw;
  margin-top: 1.3cqw;
}

.thumb__line--dark {
  background: rgba(17, 24, 39, .14);
}

.thumb .thumb__btn {
  display: inline-block;
  margin-top: 3.2cqw;
  padding: 1.5cqw 3cqw;
  border-radius: 1.2cqw;
  font-size: 2.3cqw;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
}

/* LMS */
.thumb--lms {
  background:
    radial-gradient(55% 90% at 80% 55%, rgba(46, 98, 255, .5), transparent 70%),
    linear-gradient(135deg, #060A18 0%, #0D1734 100%);
}

.thumb--lms__copy {
  position: absolute;
  top: 13cqw;
  left: 5.5cqw;
  width: 50cqw;
}

.thumb--lms__copy small {
  margin-bottom: 1.6cqw;
  font-size: 2.5cqw;
  font-weight: 700;
  color: #7FA8FF;
}

.thumb--lms__copy strong {
  font-size: 5cqw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.thumb--lms__device {
  position: absolute;
  top: 10cqw;
  right: 6cqw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 1.4cqw;
  width: 34cqw;
  height: 46cqw;
  padding: 1.6cqw;
  border-radius: 3cqw;
  background: #F4F7FF;
  box-shadow: 0 3cqw 6cqw rgba(0, 0, 0, .55), 0 0 0 .8cqw #1A2140;
  transform: rotate(-8deg);
}

.thumb--lms__device .c {
  height: 9cqw;
  border-radius: 1.2cqw;
  background: linear-gradient(135deg, #BFD4FF, #4F8BFF);
}

.thumb--lms__device .c1 {
  grid-column: 1 / -1;
  height: 12cqw;
  background: linear-gradient(135deg, #2E2AFF, #4F8BFF);
}

.thumb--lms__device .c3 { background: linear-gradient(135deg, #E0E9FF, #9DB8FF); }
.thumb--lms__device .c4 { background: linear-gradient(135deg, #C8FF00, #7BD389); }

.thumb--lms__device .c5 {
  grid-column: 1 / -1;
  height: 4cqw;
  background: #DDE6F7;
}

/* Technordia (corporate) */
.thumb--corp {
  color: var(--text);
  background: #F5F8FF;
}

.thumb--corp__bar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3cqw;
  height: 9cqw;
  padding: 0 5cqw;
  background: linear-gradient(90deg, #0E2A8A, #2E6BFF);
}

.thumb--corp__bar span {
  margin-right: auto;
  font-size: 2.6cqw;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}

.thumb__logo--light {
  width: 3.6cqw;
  height: 3.6cqw;
  margin-right: 0;
  border-radius: 50%;
  background: #fff;
}

.thumb--corp__bar i {
  width: 5.5cqw;
  height: .9cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, .55);
}

.thumb--corp__bar em {
  width: 9cqw;
  height: 3.4cqw;
  border-radius: 1cqw;
  background: #fff;
}

.thumb--corp__copy {
  position: absolute;
  top: 15cqw;
  left: 5.5cqw;
  width: 46cqw;
}

.thumb--corp__copy small {
  margin-bottom: 1.4cqw;
  font-size: 2.3cqw;
  font-weight: 700;
  color: #2E6BFF;
}

.thumb--corp__copy strong {
  font-size: 4.6cqw;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #0B1437;
}

.thumb--corp__media {
  position: absolute;
  top: 14cqw;
  right: 5cqw;
  width: 40cqw;
  height: 32cqw;
}

.thumb--corp__media .m1 {
  position: absolute;
  inset: 0 8cqw 6cqw 0;
  border-radius: 2cqw;
  background:
    radial-gradient(40% 50% at 30% 35%, rgba(255, 255, 255, .5), transparent 70%),
    linear-gradient(135deg, #7FA8FF, #2E2AFF 70%, #1B1FA8);
  box-shadow: 0 2cqw 4cqw rgba(30, 50, 140, .35);
}

.thumb--corp__media .m1::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 14%;
  height: 46%;
  opacity: .9;
  background:
    linear-gradient(#fff, #fff) 0% 100% / 12% 45% no-repeat,
    linear-gradient(#fff, #fff) 25% 100% / 12% 70% no-repeat,
    linear-gradient(#fff, #fff) 50% 100% / 12% 55% no-repeat,
    linear-gradient(#fff, #fff) 75% 100% / 12% 85% no-repeat,
    linear-gradient(#C8FF00, #C8FF00) 100% 100% / 12% 100% no-repeat;
}

.thumb--corp__media .m2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22cqw;
  height: 16cqw;
  border: .8cqw solid #fff;
  border-radius: 2cqw;
  background:
    linear-gradient(#4F8BFF, #4F8BFF) 18% 30% / 40% 8% no-repeat,
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) 18% 52% / 62% 6% no-repeat,
    linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)) 18% 68% / 48% 6% no-repeat,
    linear-gradient(135deg, #0B1437, #2E3F8F);
  box-shadow: 0 2cqw 4cqw rgba(30, 50, 140, .35);
}

/* Food tour */
.thumb--food {
  background:
    radial-gradient(45% 70% at 28% 60%, rgba(255, 140, 40, .28), transparent 70%),
    linear-gradient(135deg, #0E0905 0%, #1C120A 60%, #120C07 100%);
}

.thumb__logo--food {
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC21A, #FF7A00);
}

.thumb--food .thumb__nav em {
  background: #FFC21A;
}

.thumb--food .leaf {
  position: absolute;
  width: 14cqw;
  height: 6cqw;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #3E8E41, #1E4D22);
}

.thumb--food .l1 { top: 12cqw; left: 1cqw; transform: rotate(-30deg); }
.thumb--food .l2 { top: 40cqw; left: 32cqw; transform: rotate(20deg); }

.thumb--food .l3 {
  top: 12cqw;
  left: 38cqw;
  width: 10cqw;
  height: 4.5cqw;
  transform: rotate(-60deg);
}

.plate {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 1.6cqw 3cqw rgba(0, 0, 0, .7);
  background:
    radial-gradient(circle at 38% 42%, #86C35A 0 3%, transparent 3.6%),
    radial-gradient(circle at 62% 60%, #86C35A 0 2.4%, transparent 3%),
    radial-gradient(circle at 56% 36%, #FFE8B0 0 4%, transparent 4.6%),
    radial-gradient(circle at 44% 64%, #FFE8B0 0 3%, transparent 3.6%),
    radial-gradient(circle, #F5A524 0 26%, #D9480F 38%, #7C2D12 52%, #2A1A10 55%, #3A2A1E 64%, #1A120C 70%, #2B2118 100%);
}

.plate.p1 { top: 16cqw; left: 3cqw; width: 26cqw; height: 26cqw; }
.plate.p2 { top: 8cqw; left: 25cqw; width: 19cqw; height: 19cqw; filter: hue-rotate(-14deg) saturate(1.1); }
.plate.p3 { top: 28cqw; left: 25cqw; width: 21cqw; height: 21cqw; filter: hue-rotate(18deg) brightness(1.1); }

.thumb--food__copy {
  position: absolute;
  top: 14cqw;
  right: 4cqw;
  width: 44cqw;
}

.thumb--food__copy small {
  margin-bottom: 1.4cqw;
  font-size: 2.3cqw;
  font-weight: 700;
  color: #FFC21A;
}

.thumb--food__copy strong {
  font-size: 4.8cqw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.thumb__btns {
  display: flex;
  gap: 1.6cqw;
}

.thumb .thumb__btn--yellow {
  color: #1C120A;
  background: #FFC21A;
}

.thumb .thumb__btn--ghost {
  border: .3cqw solid rgba(255, 255, 255, .5);
  background: transparent;
}

/* DI Digital Fit (laptop on a desk) */
.thumb--fit {
  background:
    radial-gradient(40% 60% at 18% 30%, rgba(255, 240, 220, .35), transparent 70%),
    linear-gradient(180deg, #5B6675 0%, #3E4755 55%, #262D37 100%);
}

.thumb--fit__window {
  position: absolute;
  top: -4cqw;
  left: 6cqw;
  width: 22cqw;
  height: 34cqw;
  border-radius: 1cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .08));
  filter: blur(1.2cqw);
}

.thumb--fit__plant {
  position: absolute;
  top: 8cqw;
  right: 4cqw;
  width: 16cqw;
  height: 30cqw;
  border-radius: 50% 50% 40% 40%;
  background:
    radial-gradient(circle at 30% 30%, #4E8F5A, transparent 60%),
    radial-gradient(circle at 70% 45%, #3A7A47, transparent 60%),
    radial-gradient(circle at 45% 70%, #2F6B3B, transparent 62%);
  filter: blur(.4cqw);
}

.thumb--fit__desk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9cqw;
  background: linear-gradient(180deg, #8A6E52 0%, #5C4633 100%);
  box-shadow: 0 -.6cqw 1.6cqw rgba(0, 0, 0, .3);
}

.thumb--fit__laptop {
  position: absolute;
  left: 50%;
  bottom: 9.6cqw;
  z-index: 1;
  width: 50cqw;
  padding: 1cqw 1cqw 1.4cqw;
  border-radius: 1.6cqw 1.6cqw .6cqw .6cqw;
  background: #16181D;
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.thumb--fit__laptop::after {
  content: '';
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -1.6cqw;
  height: 1.6cqw;
  border-radius: 0 0 2cqw 2cqw;
  background: linear-gradient(180deg, #D1D5DB, #6B7280);
}

.thumb--fit__screen {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: .6cqw;
  color: var(--text);
  background: #fff;
}

.thumb--fit__bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.4cqw 2.4cqw;
  border-bottom: .2cqw solid #EEF1F6;
}

.thumb--fit__bar b {
  width: 6cqw;
  height: 1.6cqw;
  margin-right: auto;
  border-radius: 1cqw;
  background: var(--primary);
}

.thumb--fit__bar i {
  width: 4cqw;
  height: .7cqw;
  border-radius: 1cqw;
  background: #CBD2DD;
}

.thumb--fit__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2cqw;
  padding: 2.6cqw 2.4cqw;
}

.thumb--fit__hero small {
  margin-bottom: .8cqw;
  font-size: 1.5cqw;
  font-weight: 800;
  color: var(--primary);
}

.thumb--fit__hero strong {
  font-size: 2.9cqw;
  font-weight: 800;
  line-height: 1.1;
  color: #0B1437;
}

.thumb--fit__hero .thumb__btn {
  margin-top: 1.8cqw;
  padding: .9cqw 2cqw;
  border-radius: .8cqw;
  font-size: 1.4cqw;
}

.thumb--fit__img {
  display: block;
  height: 16cqw;
  border-radius: 1cqw;
  background:
    radial-gradient(30% 40% at 60% 35%, #FFD6A5 0 30%, transparent 32%),
    linear-gradient(160deg, #1E293B, #0F172A 60%, #2E2AFF);
}

/* ==========================================================================
   11. Why choose us
   ========================================================================== */
.why {
  overflow: hidden;
  padding: 64px 0 70px;
  background: var(--bg-soft);
}

.why .col-lg-4:first-child {
  padding-top: .75rem;
}

.why__lead {
  margin-bottom: 1.9rem;
}

.why-list {
  display: grid;
  gap: 38px;
  margin: 0;
  padding: 1.4rem 0 0 1rem;
  list-style: none;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.why-item__icon {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.05rem;
  color: var(--primary);
  background: #EEF0FF;
  box-shadow: inset 0 0 0 1px rgba(46, 42, 255, .08);
  transition: transform .45s var(--ease), color .35s, box-shadow .35s;
}

.why-item__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: var(--grad-primary);
  transition: opacity .35s;
}

.why-item:hover .why-item__icon {
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px) rotate(-6deg);
}

.why-item:hover .why-item__icon::before {
  opacity: 1;
}

.why-item h3 {
  margin: .15rem 0 .35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.why-item p {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
}

.dev-card {
  position: relative;
  height: 380px;
  margin: 0;
}

.dev-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(79, 139, 255, .35), transparent 70%),
    linear-gradient(135deg, #111A38 0%, #070B18 100%);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 60, .55);
}

/* Code-line texture that shows while the photo loads (or if it fails) */
.dev-card__media::before {
  content: '';
  position: absolute;
  inset: 16% 12% auto 12%;
  height: 58%;
  opacity: .5;
  background:
    linear-gradient(90deg, #4F8BFF 0 18%, transparent 18% 22%, rgba(255, 255, 255, .35) 22% 58%, transparent 58%) 0 0 / 100% 7% no-repeat,
    linear-gradient(90deg, transparent 0 8%, #C8FF00 8% 20%, transparent 20% 24%, rgba(255, 255, 255, .3) 24% 70%, transparent 70%) 0 16% / 100% 7% no-repeat,
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, .3) 8% 46%, transparent 46%) 0 32% / 100% 7% no-repeat,
    linear-gradient(90deg, transparent 0 16%, #6A67FF 16% 30%, transparent 30% 34%, rgba(255, 255, 255, .28) 34% 80%, transparent 80%) 0 48% / 100% 7% no-repeat,
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, .28) 16% 52%, transparent 52%) 0 64% / 100% 7% no-repeat,
    linear-gradient(90deg, transparent 0 8%, #4F8BFF 8% 16%, transparent 16%) 0 80% / 100% 7% no-repeat,
    linear-gradient(90deg, #4F8BFF 0 10%, transparent 10%) 0 96% / 100% 7% no-repeat;
}

.dev-card__media img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.dev-card__media.img-failed img {
  display: none;
}

.dev-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 20, .5) 0%, rgba(5, 8, 20, .05) 40%, rgba(5, 8, 20, .45) 100%),
    linear-gradient(90deg, rgba(5, 8, 20, .3), transparent 60%);
}

.dev-card__note {
  position: absolute;
  top: 22px;
  right: var(--note-right, 26px);
  z-index: 2;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  transform: rotate(-5deg);
}

.dev-card__arrow {
  position: absolute;
  top: 118px;
  right: calc(var(--note-right, 26px) + 70px);
  z-index: 2;
  width: 30px;
  color: #fff;
}

.dev-card__tag {
  position: absolute;
  right: var(--tag-right, 20px);
  bottom: -10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 20px;
  border: 1px solid rgba(79, 139, 255, .28);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #0A0F24, #121B3D);
  box-shadow: 0 24px 40px -18px rgba(8, 12, 40, .8);
}

.dev-card__who strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--icon-blue);
}

.dev-card__who span {
  display: block;
  font-size: .74rem;
  color: rgba(255, 255, 255, .7);
}

.dev-card__sig {
  width: 52px;
  height: auto;
  color: #E9C98B;
}

.dev-card__sig path {
  stroke-width: 1.6;
}

/* On desktop the photo bleeds to the right edge of the viewport */
@media (min-width: 992px) {
  .why {
    --bleed: calc((100vw - 920px) / 2);
  }

  .dev-card {
    --note-right: calc(var(--bleed) + 8px);
    --tag-right: calc(var(--bleed) - 20px);
    height: 366px;
    margin-right: calc(var(--bleed) * -1);
  }

  .dev-card__media {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
}

@media (min-width: 1200px) {
  .why {
    --bleed: calc((100vw - min(1240px, 100vw - 40px)) / 2);
  }
}

/* ==========================================================================
   12. Technology stack
   ========================================================================== */
.tech {
  padding: 46px 0 50px;
  background: var(--bg-tint);
}

.tech .eyebrow {
  margin-bottom: .6rem;
  font-size: .8rem;
  letter-spacing: .14em;
}

.tech__lead {
  margin: 0 0 1.9rem;
  font-size: .9rem;
  color: var(--muted);
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 70px;
  font-weight: 700;
  color: #1F2937;
  transition: transform .45s var(--ease);
}

.tech-logo:hover {
  transform: translateY(-4px);
}

.tech-logo--stack {
  flex-direction: column;
  gap: .35rem;
  font-size: .82rem;
}

.tech-logo--row {
  font-size: 1.05rem;
}

.tech-logo--laravel i {
  font-size: 2.2rem;
  color: #FF2D20;
}

.tech-logo--laravel span {
  color: #1F2937;
}

.tech-logo--wp i {
  font-size: 2.1rem;
  color: #21759B;
}

.tech-logo--wp span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #464342;
}

.tech-logo--jquery svg {
  width: 32px;
  height: 28px;
}

.tech-logo--jquery span {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0769AD;
}

.mysql-mark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.mysql-mark__my { color: #00758F; }
.mysql-mark__sql { color: #F29111; }

.mysql-mark svg {
  position: absolute;
  top: -14px;
  right: -16px;
  width: 30px;
}

.js-badge {
  display: grid;
  place-items: end;
  width: 48px;
  height: 48px;
  padding: 0 5px 3px 0;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: #111;
  background: #F7DF1E;
}

.bs-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8A5CF6, #6F42C1);
  box-shadow: 0 8px 18px -8px rgba(111, 66, 193, .8);
}

.bs-badge + span {
  color: #563D7C;
}

.tech-logo--tailwind {
  padding: 8px 14px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px -14px rgba(15, 23, 42, .35);
}

.tech-logo--tailwind svg {
  width: 40px;
  height: 40px;
}

.tech-logo--tailwind span {
  color: #0F172A;
}

/* ==========================================================================
   13. Process
   ========================================================================== */
.process {
  padding: 60px 0 64px;
}

.process .section-lead {
  max-width: 360px;
  margin-bottom: 1.9rem;
}

.process-steps {
  --r: 32px;
  --pad: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 0 var(--pad);
}

.process-step + .process-step {
  border-left: 1px solid rgba(255, 255, 255, .07);
}

/* Connector from this icon to the next one: track + animated fill */
.process-step:not(:last-child)::before,
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: var(--r);
  left: calc(var(--pad) + var(--r));
  width: 100%;
  height: 1px;
  margin-top: 0;
}

.process-step:not(:last-child)::before {
  background: rgba(255, 255, 255, .08);
}

.process-step:not(:last-child)::after {
  background: linear-gradient(90deg, rgba(79, 139, 255, .9), rgba(46, 42, 255, .55));
  box-shadow: 0 0 8px rgba(79, 139, 255, .6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease) calc(var(--i, 0) * .45s + .3s);
}

.process-steps.is-animated .process-step::after {
  transform: scaleX(1);
}

.process-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(110, 155, 255, .2);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--icon-blue);
  background: #0A0F1F;
  box-shadow: inset 0 0 20px rgba(46, 42, 255, .12);
  transition: color .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease);
}

.process-step__icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at 50% 35%, #3A4DFF 0%, #1C24A8 55%, #10165E 100%);
  transition: opacity .4s;
}

.process-steps.is-animated .process-step__icon {
  border-color: rgba(110, 155, 255, .45);
  transition-delay: calc(var(--i, 0) * .45s);
}

.process-step.is-current .process-step__icon,
.process-step:hover .process-step__icon {
  color: #fff;
  border-color: rgba(120, 165, 255, .85);
  box-shadow: 0 0 0 5px rgba(46, 42, 255, .16), 0 0 32px rgba(79, 139, 255, .55), inset 0 0 14px rgba(120, 165, 255, .35);
  transition-delay: 0s;
}

.process-step.is-current .process-step__icon::before,
.process-step:hover .process-step__icon::before {
  opacity: 1;
}

.process-step:hover .process-step__icon {
  transform: translateY(-4px);
}

.process-step__arrow {
  position: absolute;
  top: calc(var(--r) - 11px);
  left: calc(var(--pad) + var(--r) * 2 + 16px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: .62rem;
  color: rgba(255, 255, 255, .55);
  background: #060A14;
}

.process-step h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.process-step p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .6);
}

/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.testimonials {
  padding: 56px 0 52px;
  background: var(--bg-soft);
}

.rating-summary {
  text-align: right;
}

.rating-summary__score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  margin: 0 0 .3rem;
}

.rating-summary__score strong {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.rating-summary__note {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}

.testimonial-slider {
  position: relative;
}

.testimonials-track {
  --per: 3;
  --gap: 30px;
}

.testimonial-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  overflow: hidden;
  min-height: 190px;
  margin: 0;
  padding: 26px 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 42, 255, .2);
  box-shadow: 0 26px 50px -26px rgba(46, 42, 255, .4);
}

.testimonial-card__quote {
  margin: 0;
}

.testimonial-card__quote p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: #374151;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testimonial-card__who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.testimonial-card__who strong {
  font-size: .92rem;
  font-weight: 800;
  color: var(--text);
}

.testimonial-card__who span {
  font-size: .76rem;
  color: var(--muted);
}

.testimonial-slider > .slider-btn {
  position: absolute;
  top: calc(50% - 22px - 25px);
  z-index: 2;
}

.slider-btn--prev { left: -68px; }
.slider-btn--next { right: -68px; }

/* ==========================================================================
   15. Final CTA
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px 0 46px;
  color: #fff;
  background: #050A1C;
}

.cta__bg {
  position: absolute;
  inset: -14% 0;
  z-index: -2;
}

.cta__bg svg,
.cta__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bg img {
  object-position: center 40%;
}

.cta__bg.img-failed img {
  display: none;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 6, 18, .96) 0%, rgba(4, 10, 32, .86) 40%, rgba(10, 24, 80, .42) 100%);
}

.cta::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  z-index: -1;
  width: 60%;
  height: 220%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 42, 255, .35), transparent);
  filter: blur(20px);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
}

.cta__copy {
  max-width: 620px;
}

.cta__title {
  margin: 0 0 .8rem;
  font-size: clamp(1.65rem, 1.1rem + 1.3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #fff;
}

.cta__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
}

.cta__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta__divider {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .35), transparent);
}

.cta__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.1rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  transition: background-color .3s;
}

.cta__whatsapp i {
  font-size: 1.25rem;
  color: #25D366;
  transition: transform .35s var(--ease);
}

.cta__whatsapp:hover {
  color: #fff;
  background: rgba(37, 211, 102, .12);
}

.cta__whatsapp:hover i {
  transform: scale(1.15) rotate(-10deg);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 60px 0 26px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .66);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(46, 42, 255, .1), transparent 70%),
    var(--dark);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 139, 255, .4), transparent);
}

.footer__about {
  max-width: 300px;
  margin: 1.3rem 0 1.5rem;
  line-height: 1.8;
}

.social {
  display: flex;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  font-size: .9rem;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .35s var(--ease);
}

.social a:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.footer__title {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.footer__links {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  display: inline-block;
  color: rgba(255, 255, 255, .66);
  transition: color .3s, transform .3s var(--ease);
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer__contact {
  display: grid;
  gap: .85rem;
  margin: 0;
  font-style: normal;
}

.footer__contact a,
.footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .72);
}

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

.footer__contact i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: .8rem;
  color: var(--icon-blue);
  background: rgba(46, 42, 255, .14);
}

.availability {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 300px;
  margin: 1.5rem 0 0;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.pulse-dot {
  position: relative;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 255, 0, .8);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal li + li {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.footer__legal a {
  color: rgba(255, 255, 255, .66);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399.98px) {
  /* Testimonial arrows move under the cards, around the dots */
  .testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 14px;
  }

  .testimonial-slider .carousel-viewport {
    order: 0;
    flex: 0 0 calc(100% + 36px);
  }

  .testimonial-slider > .slider-btn {
    position: static;
    order: 1;
    margin-top: 26px;
  }

  .testimonial-slider .carousel-dots {
    order: 2;
    margin-top: 26px;
  }

  .testimonial-slider > .slider-btn--next {
    order: 3;
  }
}

@media (max-width: 1199.98px) {
  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
  }

  .service-card {
    grid-column: span 2;
  }

  .service-card:nth-child(n + 4) {
    grid-column: span 3;
  }

  .projects-track {
    --per: 3;
  }

  .testimonials-track {
    --per: 2;
    --gap: 22px;
  }

  .tech-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .tech-chip--laravel { left: 0; }
  .tech-chip--php { left: 0; }
}

@media (max-width: 991.98px) {
  .hero {
    padding: calc(var(--header-h) + 30px) 0 52px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .projects-track {
    --per: 2;
  }

  .portfolio__meta {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .dev-card__note {
    font-size: 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .section,
  .services,
  .portfolio,
  .why,
  .process,
  .testimonials {
    padding: 64px 0;
  }

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

  .service-card,
  .service-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .why-list {
    padding-left: 0;
  }

  .rating-summary {
    text-align: left;
  }

  .rating-summary__score {
    justify-content: flex-start;
  }

  .testimonials-track {
    --per: 1;
  }

  /* Vertical timeline */
  .process-steps {
    --pad: 0px;
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .process-step {
    display: grid;
    grid-template-columns: calc(var(--r) * 2) minmax(0, 1fr);
    column-gap: 1.1rem;
    align-items: start;
    padding: 0;
  }

  .process-step + .process-step {
    border-left: 0;
  }

  .process-step__icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .process-step h3 {
    margin-top: .55rem;
  }

  .process-step__arrow {
    display: none;
  }

  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    left: var(--r);
    width: 2px;
    height: calc(100% + 26px);
    margin: 0 0 0 -1px;
  }

  .process-step:not(:last-child)::after {
    transform: scaleY(0);
    transform-origin: center top;
  }

  .process-steps.is-animated .process-step::after {
    transform: scaleY(1);
  }

  .cta {
    padding: 52px 0;
  }

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

@media (min-width: 768px) and (max-width: 1199.98px) {
  .process-steps {
    --pad: 14px;
  }

  .process-step h3 {
    font-size: .92rem;
  }

  .process-step__arrow {
    left: calc(var(--pad) + var(--r) * 2 + 10px);
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header.is-scrolled {
    padding: 9px 0;
  }

  .brand__mark {
    width: 38px;
    height: 32px;
  }

  .brand__name {
    font-size: .98rem;
  }

  .hero__actions > a {
    flex: 1 1 100%;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem .75rem;
  }

  .hero__trust li {
    font-size: .76rem;
  }

  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: .9rem 1.1rem;
  }

  .hero__stats-plus {
    display: none;
  }

  .tech-chip--php,
  .tech-chip--mysql {
    display: none;
  }

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

  .service-card:last-child {
    grid-column: auto;
  }

  .projects-track {
    --per: 1.12;
    --gap: 16px;
  }

  .dev-card {
    height: 320px;
  }

  .dev-card__tag {
    right: 12px;
    padding: 12px 14px 12px 16px;
  }

  .tech-logos {
    gap: 1.25rem .5rem;
  }

  .tech-logo {
    min-height: 60px;
  }

  .tech-logo--row {
    flex-direction: column;
    gap: .3rem;
  }

  .tech-logo--wp span,
  .tech-logo--jquery span {
    font-size: .8rem;
  }

  .tech-logo--laravel i,
  .tech-logo--wp i {
    font-size: 1.7rem;
  }

  .tech-logo--stack {
    font-size: .72rem;
  }

  .php-badge--lg {
    width: 60px;
    height: 32px;
    font-size: 1.05rem;
  }

  .mysql-mark {
    font-size: 1.1rem;
  }

  .mysql-mark svg {
    top: -10px;
    right: -11px;
    width: 22px;
  }

  .js-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .bs-badge {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .tech-logo--tailwind svg {
    width: 36px;
    height: 36px;
  }

  .cta__actions {
    flex-wrap: wrap;
    width: 100%;
    gap: .75rem;
  }

  .cta__actions .btn-brand {
    flex: 1 1 100%;
  }

  .cta__divider {
    display: none;
  }
}

/* ==========================================================================
   17. Motion, reveal & accessibility
   ========================================================================== */

/* Hero pieces animated by GSAP are pre-hidden only when JS runs. If the
   script never loads, the failsafe animation reveals them after 2.6s. */
.js:not(.is-loaded) [data-hero],
.js:not(.is-loaded) [data-hero-device],
.js:not(.is-loaded) [data-hero-chip],
.js:not(.is-loaded) [data-hero-note] {
  opacity: 0;
  animation: failsafeIn .8s ease 2.6s forwards;
}

@keyframes failsafeIn {
  to { opacity: 1; }
}

/* Scroll reveal: script.js adds .reveal-on to <html> and .is-visible to
   elements. An animation (not a transition) keeps hover effects intact. */
.reveal-on [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.reveal-on [data-reveal].is-visible {
  animation: revealUp .95s var(--ease) backwards;
  animation-delay: calc(var(--d, 0) * 90ms);
}

@keyframes revealUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to   { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.site-header :focus-visible,
.mobile-nav :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}

main:focus,
[tabindex="-1"]:focus {
  outline: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .hand-arrow .draw {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   18. Free quote modal (Bootstrap modal, custom skin)
   ========================================================================== */
.quote-modal .modal-dialog {
  max-width: 1080px;
}

.modal-backdrop.show {
  opacity: .72;
  background: #050714;
}

.quote-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 40px 90px -30px rgba(5, 7, 20, .6);
}

.quote-modal.fade .modal-dialog {
  transform: translateY(24px) scale(.97);
  transition: transform .45s var(--ease);
}

.quote-modal.show .modal-dialog {
  transform: none;
}

.quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: #fff;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}

.quote-modal__close:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.quote-modal__grid {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

/* Left panel */
.quote-aside {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 44px 34px;
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  background: var(--dark);
}

.quote-aside::before,
.quote-aside::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
}

.quote-aside::before {
  top: -80px;
  right: -90px;
  width: 260px;
  height: 260px;
  background: rgba(46, 42, 255, .55);
}

.quote-aside::after {
  bottom: -100px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: rgba(79, 139, 255, .28);
}

.quote-aside__title {
  margin: .4rem 0 .9rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}

.quote-aside__title .text-gradient {
  background-image: var(--grad-text-dark);
}

.quote-aside__text {
  margin: 0 0 1.6rem;
  font-size: .92rem;
}

.quote-aside__list {
  display: grid;
  gap: .85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: #fff;
}

.quote-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}

.quote-aside__list i {
  margin-top: .22rem;
  color: var(--accent);
}

.quote-aside__contact {
  display: grid;
  gap: .6rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}

.quote-aside__contact a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: rgba(255, 255, 255, .82);
  word-break: break-all;
}

.quote-aside__contact a:hover {
  color: #fff;
}

.quote-aside__contact i {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: .8rem;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.quote-aside :focus-visible {
  outline-color: var(--accent);
}

/* Right panel */
.quote-body {
  min-height: 0;
  padding: 40px 40px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.quote-form {
  display: grid;
  gap: 1.35rem;
}

.quote-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-label {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 .5rem;
  padding: 0;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.quote-label small {
  margin-left: .35rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
}

.quote-req {
  color: #E5484D;
}

/* Service tiles */
.quote-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.q-service {
  position: relative;
  cursor: pointer;
}

.q-service input,
.q-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.q-service__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  height: 100%;
  padding: 14px 14px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease);
}

.q-service__box::after {
  content: '\f00c';
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font: 900 .6rem/1 'Font Awesome 6 Free';
  color: transparent;
  background: #fff;
  transition: background-color .25s, border-color .25s, color .25s;
}

.q-service__icon {
  margin-bottom: .45rem;
  font-size: 1.3rem;
  color: var(--icon-blue);
  transition: color .25s;
}

.q-service__name {
  padding-right: 18px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.q-service__desc {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--muted);
}

.q-service:hover .q-service__box {
  border-color: #C7D6FF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.q-service input:checked + .q-service__box {
  border-color: var(--primary);
  background: var(--bg-soft);
  box-shadow: 0 10px 24px -16px rgba(46, 42, 255, .7);
}

.q-service input:checked + .q-service__box::after {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.q-service input:checked + .q-service__box .q-service__icon {
  color: var(--primary);
}

.q-service input:focus-visible + .q-service__box,
.q-pill input:focus-visible + span {
  outline: 2px solid var(--azure);
  outline-offset: 2px;
}

.quote-services.is-invalid .q-service__box {
  border-color: #F5B5B7;
}

/* Inputs */
.quote-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}

.quote-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  background-color: var(--bg-soft);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}

.quote-input::placeholder {
  color: #9CA3AF;
}

.quote-input:focus {
  outline: none;
  border-color: var(--azure);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(79, 139, 255, .15);
}

select.quote-input {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  cursor: pointer;
}

textarea.quote-input {
  min-height: 96px;
  resize: vertical;
}

.quote-input[aria-invalid="true"] {
  border-color: #E5484D;
  background-color: #FFF7F7;
}

.quote-input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(229, 72, 77, .14);
}

.quote-error {
  margin: .35rem 0 0;
  font-size: .76rem;
  font-weight: 600;
  color: #D93036;
}

.quote-error:empty {
  display: none;
}

/* Budget pills */
.quote-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-pill {
  position: relative;
  cursor: pointer;
}

.q-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  transition: border-color .25s, background-color .25s, color .25s, box-shadow .25s;
}

.q-pill:hover span {
  border-color: #C7D6FF;
}

.q-pill input:checked + span {
  border-color: transparent;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 8px 18px -10px rgba(46, 42, 255, .8);
}

/* Actions */
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.4rem;
  padding-top: .3rem;
}

.quote-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
}

.quote-note i {
  color: var(--icon-blue);
}

/* Success state */
.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 2rem 0;
  text-align: center;
  animation: revealUp .6s var(--ease) both;
}

.quote-success__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 0 0 10px rgba(79, 139, 255, .12), var(--shadow-glow);
}

.quote-success__title {
  margin: 0 0 .6rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.quote-success__text {
  max-width: 430px;
  margin: 0 0 1.6rem;
  font-size: .92rem;
  color: var(--muted);
}

.quote-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.quote-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  transition: border-color .3s, color .3s, transform .35s var(--ease);
}

.quote-btn-outline:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.quote-reset {
  margin-top: 1.2rem;
  padding: .3rem;
  border: 0;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-reset:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .quote-modal .modal-dialog {
    max-width: 940px;
  }

  .quote-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .quote-modal .modal-dialog {
    max-width: 680px;
  }

  .quote-modal__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .quote-body {
    overflow: visible;
  }

  .quote-aside {
    padding: 32px 32px 26px;
  }

  .quote-aside__title {
    padding-right: 44px;
  }

  .quote-aside__text {
    margin-bottom: 1.1rem;
  }

  .quote-aside__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem 1rem;
    margin: 0;
    font-size: .84rem;
  }

  .quote-aside__contact {
    display: none;
  }

  .quote-modal__close {
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
  }

  .quote-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .quote-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .quote-modal .modal-content {
    border-radius: 0;
  }

  .quote-aside {
    padding: 24px 20px 22px;
  }

  .quote-aside__title {
    font-size: 1.4rem;
  }

  .quote-aside__text {
    font-size: .86rem;
  }

  .quote-aside__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-body {
    padding: 24px 20px 28px;
  }

  .quote-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .q-service__box {
    padding: 12px 11px 10px;
  }

  .q-service__desc {
    display: none;
  }

  .quote-actions .btn-brand {
    width: 100%;
  }

  .quote-note {
    justify-content: center;
    width: 100%;
  }

  .quote-success__actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   19. Locations mega menu (desktop) + mobile accordion
   ========================================================================== */
.site-header__inner {
  position: relative;
}

.menu-item--mega {
  position: static;
}

.menu-link--drop {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  font-family: inherit;
  line-height: inherit;
  background: none;
  cursor: pointer;
}

.menu-link--drop i {
  font-size: .6rem;
  transition: transform .35s var(--ease);
}

.menu-item--mega.is-open .menu-link--drop {
  color: #fff;
}

.menu-item--mega.is-open .menu-link--drop::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-item--mega.is-open .menu-link--drop i {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .4s var(--ease), visibility 0s linear .4s;
}

/* Invisible bridge so the pointer can travel from the trigger to the panel */
.mega::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.menu-item--mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: #070A16;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(79, 139, 255, .06);
}

.mega__main {
  padding: 14px 8px 8px 12px;
}

.mega__title {
  margin: 0 0 .8rem .6rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--icon-blue);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .86);
  transition: background-color .25s;
}

.mega-link:hover,
.mega-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.mega-link__code {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(79, 139, 255, .28);
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(79, 139, 255, .14);
  transition: background .3s, border-color .3s;
}

.mega-link:hover .mega-link__code,
.mega-link:focus-visible .mega-link__code {
  border-color: transparent;
  background: var(--grad-primary);
}

.mega-link__text {
  min-width: 0;
}

.mega-link__text strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.mega-link__text small {
  display: block;
  overflow: hidden;
  font-size: .72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, .5);
}

.mega-link__time {
  font-size: .72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(255, 255, 255, .5);
}

.mega__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(46, 42, 255, .55), transparent 70%),
    linear-gradient(160deg, #101A44, #070910);
}

.mega__feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.15rem;
  color: var(--dark);
  background: var(--accent);
}

.mega__feature-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.mega__feature-text {
  margin: 0 0 .3rem;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .7);
}

.mega__feature-text time {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.mega__quote {
  font-size: .8rem;
  font-weight: 700;
  color: var(--icon-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mega__quote:hover {
  color: #fff;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .mega__inner {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .mega-link__time {
    display: none;
  }

  .mega-link {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

/* Mobile accordion inside the off-canvas menu */
.mobile-menu__toggle {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-family: inherit;
  text-align: left;
  background: none;
  cursor: pointer;
}

.mobile-menu .mobile-menu__toggle::after {
  display: none;
}

.mobile-menu__toggle i {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  transition: transform .35s var(--ease);
}

.mobile-menu__toggle[aria-expanded="true"] {
  color: #fff;
}

.mobile-menu__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-sub {
  display: grid;
  gap: 2px;
  margin: 8px 0 10px;
  padding: 6px;
  border-radius: 14px;
  list-style: none;
  background: rgba(255, 255, 255, .04);
}

.mobile-sub a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .6rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  transition: background-color .25s, color .25s;
}

.mobile-sub a:hover,
.mobile-sub a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.mobile-sub__code {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: .66rem;
  font-weight: 800;
  color: #fff;
  background: rgba(79, 139, 255, .18);
}

.mobile-sub .mobile-sub__all {
  justify-content: center;
  margin-top: 4px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .mega {
    transform: none;
  }
}

/* ==========================================================================
   20. Founder photo (avatars + homepage founder card)
   ========================================================================== */
.avatar--photo {
  overflow: hidden;
  padding: 0;
  background: #1B2C6B;
}

.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-card__media img.dev-card__photo {
  object-position: center top;
}
