/* ═══════════════════════════════════════════════════════════
   CONTENT PAGES — About · Contact · Portfolio · Case Studies
   Edit css/content-pages.css only for these page design changes.
   ═══════════════════════════════════════════════════════════ */

/* ── HOME ── */
/* ═══════════════════════════════════════════════════════════
   Vedaverse Techx — Home Page Premium UI
   Aurora Glass · Editorial · Motion-rich
   ═══════════════════════════════════════════════════════════ */

.page-home {
  --home-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --home-body: 'DM Sans', system-ui, sans-serif;
  --home-glow-indigo: rgba(79, 70, 229, 0.45);
  --home-glow-cyan: rgba(6, 182, 212, 0.35);
  --home-radius-xl: 1.75rem;
  --home-radius-2xl: 2rem;
}

.page-home .font-display,
.page-home .section-title,
.page-home .home-hero__title {
  font-family: var(--home-display);
}

.page-home,
.page-home .font-body {
  font-family: var(--home-body);
}

/* ── Ambient background grain ── */
.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.dark.page-home::before { opacity: 0.025; }

/* ═══ HERO ═══ */
.home-hero {
  position: relative;
  padding: 2.5rem 0 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-hero { padding: 3.5rem 0 0; }
}

@media (min-width: 1024px) {
  .home-hero { padding: 4rem 0 0; }
}

.home-hero__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.home-hero__blob--1 {
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, var(--home-glow-indigo) 0%, transparent 70%);
  animation: homeBlob1 14s ease-in-out infinite;
}

.home-hero__blob--2 {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: 10%;
  right: -8%;
  background: radial-gradient(circle, var(--home-glow-cyan) 0%, transparent 70%);
  animation: homeBlob2 18s ease-in-out infinite;
}

.home-hero__blob--3 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  bottom: 5%;
  left: 35%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.3) 0%, transparent 70%);
  animation: homeBlob3 20s ease-in-out infinite;
}

@keyframes homeBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes homeBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.1); }
}

@keyframes homeBlob3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}

.dark .home-hero__grid {
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.06) 1px, transparent 1px);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .home-hero__content {
    align-items: flex-start;
    text-align: left;
  }
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.home-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 12px var(--accent-cyan-bright);
  animation: homePulseDot 2s ease-in-out infinite;
}

@keyframes homePulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.home-hero__title {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

@media (min-width: 1024px) {
  .home-hero__title { max-width: none; }
}

.home-hero__title .gradient-text {
  display: inline;
  background-size: 200% auto;
  animation: homeGradientShift 6s ease infinite;
}

@keyframes homeGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.home-hero__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 480px) {
  .home-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    align-items: center;
  }
}

.home-hero__actions .btn-primary {
  position: relative;
  overflow: hidden;
}

.home-hero__actions .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.home-hero__actions .btn-primary:hover::after {
  transform: translateX(100%);
}

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.home-hero__proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.home-hero__proof-value {
  font-family: var(--home-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-hero__proof-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero visual */
.home-hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .home-hero__visual {
    max-width: none;
    margin: 0;
  }
}

.home-hero__visual-frame {
  position: relative;
  border-radius: var(--home-radius-xl);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-lg);
}

.home-hero__visual-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,70,229,0.6), rgba(6,182,212,0.4), rgba(79,70,229,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-hero__visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.home-hero__visual-glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(ellipse at center, var(--home-glow-indigo), transparent 65%);
  opacity: 0.5;
  filter: blur(40px);
}

.home-hero__float {
  position: absolute;
  z-index: 3;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  animation: homeFloat 5s ease-in-out infinite;
  white-space: nowrap;
}

.home-hero__float--1 {
  top: 8%;
  right: -4%;
  animation-delay: 0s;
}

.home-hero__float--2 {
  bottom: 18%;
  left: -6%;
  animation-delay: 1.5s;
}

@media (max-width: 1023px) {
  .home-hero__float {
    display: none;
  }
}

.home-hero__float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.15), rgba(6,182,212,0.15));
  margin-right: 0.5rem;
  font-size: 0.875rem;
  vertical-align: middle;
}

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

.home-hero__scroll {
  display: none;
}

/* Full-bleed breakout from container */
.home-full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ═══ MARQUEE ═══ */
.home-marquee-wrap {
  position: relative;
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.home-marquee-wrap::before,
.home-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.home-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.home-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.home-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.home-marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  width: max-content;
  animation: homeMarquee 35s linear infinite;
  will-change: transform;
}

.home-marquee--reverse .home-marquee__track {
  animation-direction: reverse;
  animation-duration: 40s;
}

@keyframes homeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-marquee__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-marquee__item:hover { color: var(--accent-light); }

.home-marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.5;
}

/* ═══ INDUSTRIES — large open grid, no boxes ═══ */
.home-industries {
  position: relative;
}

.home-industries::before {
  content: '';
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 100%);
  height: 320px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.07), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, 0.06), transparent 55%);
  pointer-events: none;
}

.home-industries-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-industries-head {
    margin-bottom: 2.5rem;
  }
}

.home-industries-head .gradient-text {
  display: inline;
}

.home-industries-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.home-industries-head__line {
  width: min(20rem, 75%);
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 20%,
    #a855f7 40%,
    #14b8a6 60%,
    #f59e0b 80%,
    #ec4899 100%
  );
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.22);
  opacity: 0.85;
}

.home-industries-board {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .home-industries-board {
    gap: 2rem;
  }
}

.home-industries-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 0.5rem;
}

.home-industries-row--bottom {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .home-industries-row {
    gap: 1rem 0.75rem;
  }
}

@media (min-width: 1024px) {
  .home-industries-row {
    gap: 1.25rem 1rem;
  }
}

.home-industry-item {
  --ind-color: #6366f1;
  --ind-glow: rgba(99, 102, 241, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.home-industry-item--indigo { --ind-color: #6366f1; --ind-glow: rgba(99, 102, 241, 0.4); }
.home-industry-item--cyan { --ind-color: #06b6d4; --ind-glow: rgba(6, 182, 212, 0.4); }
.home-industry-item--violet { --ind-color: #a855f7; --ind-glow: rgba(168, 85, 247, 0.4); }
.home-industry-item--teal { --ind-color: #14b8a6; --ind-glow: rgba(20, 184, 166, 0.4); }
.home-industry-item--amber { --ind-color: #f59e0b; --ind-glow: rgba(245, 158, 11, 0.4); }
.home-industry-item--rose { --ind-color: #ec4899; --ind-glow: rgba(236, 72, 153, 0.4); }

.home-industry-item__icon {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  font-size: 1.625rem;
  line-height: 1;
  background: var(--bg, #fff);
  border: 2px solid var(--ind-color);
  box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 22px var(--ind-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-industry-item__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ind-color), transparent 60%);
  opacity: 0.2;
  z-index: -1;
}

.dark .home-industry-item__icon {
  background: var(--bg, #0f172a);
  box-shadow: 0 0 0 3px var(--bg, #0f172a), 0 0 24px var(--ind-glow);
}

@media (min-width: 768px) {
  .home-industry-item__icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.875rem;
  }

  .home-industry-item {
    gap: 1rem;
  }
}

.home-industry-item__name {
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  max-width: 100%;
}

@media (min-width: 640px) {
  .home-industry-item__name {
    font-size: 0.9375rem;
  }
}

@media (min-width: 768px) {
  .home-industry-item__name {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1024px) {
  .home-industry-item__name {
    font-size: 1.125rem;
  }
}

.home-industry-item__name::after {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  margin: 0.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--ind-color), transparent);
  opacity: 0.8;
  transition: width 0.3s ease;
}

.home-industry-item:hover .home-industry-item__icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--bg, #fff), 0 0 28px var(--ind-glow);
}

.dark .home-industry-item:hover .home-industry-item__icon {
  box-shadow: 0 0 0 3px var(--bg, #0f172a), 0 0 28px var(--ind-glow);
}

.home-industry-item:hover .home-industry-item__name::after {
  width: 3rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-industry-item:hover .home-industry-item__icon {
    transform: none;
  }

  .home-industry-item:hover .home-industry-item__name::after {
    width: 2rem;
  }
}

/* ═══ STATS BAR ═══ */
.home-stats {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 3rem 0 0;
}

@media (min-width: 768px) {
  .home-stats { padding-top: 4rem; }
}

.home-stats__bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  border-radius: var(--home-radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(20px);
}

.dark .home-stats__bar {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(51, 65, 85, 0.55);
}

@media (min-width: 768px) {
  .home-stats__bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-stats__cell {
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .home-stats__cell { padding: 2rem 1.5rem; }
}

.home-stats__cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}

@media (max-width: 767px) {
  .home-stats__cell:nth-child(2)::after { display: none; }
  .home-stats__cell:nth-child(1),
  .home-stats__cell:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

.home-stats__cell .stat-number {
  font-family: var(--home-display);
}

/* ═══ SECTION HEADERS ═══ */
.page-home .section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .page-home .section { padding: 5.5rem 0; }
}

.home-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .home-section-head { margin-bottom: 3rem; }
}

.home-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section-head .section-label {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.home-section-head .section-title {
  margin-bottom: 0.75rem;
}

.home-section-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.home-section-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .home-section-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 3rem;
  }

  .home-section-row .home-section-head {
    margin-bottom: 0;
    text-align: left;
  }
}

/* ═══ TRUST SECTION — colored theme ═══ */
.home-trust {
  position: relative;
}

.home-trust::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 110%);
  height: 420px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.07), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.06), transparent 55%);
  pointer-events: none;
}

.home-trust-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-trust-head {
    margin-bottom: 3rem;
  }
}

.home-trust-head .section-title .gradient-text {
  display: inline;
}

.home-trust-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.home-trust-head__line {
  width: min(20rem, 75%);
  height: 3px;
  margin: 1.75rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 20%,
    #a855f7 40%,
    #14b8a6 60%,
    #f59e0b 80%,
    #ec4899 100%
  );
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.22);
  opacity: 0.85;
}

.home-trust-showcase {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  z-index: 1;
}

.home-trust-showcase__glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 2rem;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(99, 102, 241, 0.12), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(6, 182, 212, 0.1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.home-trust-showcase__card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 20px 48px rgba(15, 23, 42, 0.07);
  overflow: visible;
  isolation: isolate;
}

.home-trust-showcase__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 25%,
    #a855f7 50%,
    #14b8a6 75%,
    #f59e0b 100%
  );
  z-index: 2;
  opacity: 0.9;
}

.home-trust-showcase__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.35),
    rgba(6, 182, 212, 0.28),
    rgba(168, 85, 247, 0.22),
    rgba(20, 184, 166, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 768px) {
  .home-trust-showcase__card {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    padding: 2.25rem 2.5rem;
    align-items: center;
  }
}

.dark .home-trust-showcase__card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 100%);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.home-trust-showcase__content {
  position: relative;
  z-index: 1;
}

.home-trust-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  margin-bottom: 1.125rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6366f1;
  background: color-mix(in srgb, #6366f1 8%, transparent);
  border: 1px solid color-mix(in srgb, #6366f1 22%, transparent);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.12);
}

.home-trust-showcase__badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #06b6d4;
}

.dark .home-trust-showcase__badge {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.22);
}

.home-trust-showcase__quote {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.75;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
}

.home-trust-showcase__quote::before {
  content: '\201C';
  display: block;
  font-family: var(--home-display);
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #06b6d4, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.375rem;
}

.home-trust-showcase__quote::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, transparent);
  opacity: 0.85;
}

.home-trust-showcase__caps {
  position: relative;
  z-index: 1;
}

.home-trust-showcase__caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.home-trust-cap {
  --cap-accent: #6366f1;
  --cap-glow: rgba(99, 102, 241, 0.25);
  --cap-soft: rgba(99, 102, 241, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.dark .home-trust-cap {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(51, 65, 85, 0.5);
}

.home-trust-cap:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--cap-glow);
  border-color: color-mix(in srgb, var(--cap-accent) 35%, transparent);
}

.home-trust-cap--indigo { --cap-accent: #6366f1; --cap-glow: rgba(99, 102, 241, 0.28); --cap-soft: rgba(99, 102, 241, 0.12); }
.home-trust-cap--violet { --cap-accent: #a855f7; --cap-glow: rgba(168, 85, 247, 0.28); --cap-soft: rgba(168, 85, 247, 0.12); }
.home-trust-cap--cyan { --cap-accent: #06b6d4; --cap-glow: rgba(6, 182, 212, 0.28); --cap-soft: rgba(6, 182, 212, 0.12); }
.home-trust-cap--teal { --cap-accent: #14b8a6; --cap-glow: rgba(20, 184, 166, 0.28); --cap-soft: rgba(20, 184, 166, 0.12); }

.home-trust-cap__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cap-accent);
  background: var(--cap-soft);
  border: 1px solid color-mix(in srgb, var(--cap-accent) 28%, transparent);
  box-shadow: 0 2px 10px var(--cap-glow);
}

.home-trust-cap__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.home-trust-cap__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  position: relative;
  padding-bottom: 0.375rem;
}

.home-trust-cap__label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.5rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--cap-accent), transparent);
  opacity: 0.8;
  transition: width 0.3s ease;
}

.home-trust-cap:hover .home-trust-cap__label::after {
  width: 2.25rem;
}

.home-trust-showcase__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .home-trust-showcase__stats {
    gap: 1rem;
    margin-top: 1.5rem;
  }
}

.home-trust-showcase__stat {
  --stat-color: #6366f1;
  --stat-glow: rgba(99, 102, 241, 0.2);
  position: relative;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-trust-showcase__stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--stat-color), transparent);
  opacity: 0.85;
}

.home-trust-stat--indigo { --stat-color: #6366f1; --stat-glow: rgba(99, 102, 241, 0.22); }
.home-trust-stat--cyan { --stat-color: #06b6d4; --stat-glow: rgba(6, 182, 212, 0.22); }
.home-trust-stat--violet { --stat-color: #a855f7; --stat-glow: rgba(168, 85, 247, 0.22); }

.home-trust-showcase__stat:hover {
  border-color: color-mix(in srgb, var(--stat-color) 30%, transparent);
  box-shadow: 0 8px 24px var(--stat-glow);
}

.dark .home-trust-showcase__stat {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.5);
}

.home-trust-showcase__stat strong {
  display: block;
  font-family: var(--home-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--stat-color);
}

.home-trust-showcase__stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .home-trust-cap:hover .home-trust-cap__label::after {
    width: 1.5rem;
  }
}

/* ═══ WHY CHOOSE US — Section head ═══ */
.home-pillars-head {
  position: relative;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .home-pillars-head { margin-bottom: 3.25rem; }
}

.home-pillars-head__decor {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 8rem;
  pointer-events: none;
}

.home-pillars-head__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(79, 70, 229, 0.12);
  animation: home-pillars-orbit 12s linear infinite;
}

.home-pillars-head__ring--2 {
  inset: 0.75rem;
  border-color: rgba(6, 182, 212, 0.15);
  animation-direction: reverse;
  animation-duration: 16s;
}

.home-pillars-head__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

@keyframes home-pillars-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.home-pillars-head .section-label {
  position: relative;
  z-index: 1;
}

.home-pillars-head__title {
  position: relative;
  z-index: 1;
  margin-bottom: 0.875rem;
}

.home-pillars-head__title .gradient-text {
  display: inline-block;
}

.home-pillars-head .section-subtitle {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.home-pillars-subtitle {
  max-width: none;
}

@media (min-width: 768px) {
  .home-pillars-subtitle {
    white-space: nowrap;
  }
}

#why-choose-us .home-pillars-head__title::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: 1.125rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}

.home-pillars-head__steps {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.dark .home-pillars-head__steps {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

.home-pillars-head__steps-line {
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  opacity: 0.5;
}

/* ═══ WHY CHOOSE US — Premium pillar cards ═══ */
.home-pillars {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  perspective: 1200px;
  position: relative;
}

@media (min-width: 640px) {
  .home-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .home-pillars {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }

  .home-pillar:nth-child(1),
  .home-pillar:nth-child(2),
  .home-pillar:nth-child(3) {
    grid-column: span 2;
  }

  .home-pillar:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .home-pillar:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .home-pillar:nth-child(1) { transform: translateY(0.5rem); }
  .home-pillar:nth-child(3) { transform: translateY(-0.5rem); }
  .home-pillar:nth-child(5) { transform: translateY(0.5rem); }

  #why-choose-us .home-pillars::before {
    content: '';
    position: absolute;
    top: 52%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(79, 70, 229, 0.18),
      rgba(6, 182, 212, 0.18),
      transparent
    );
    pointer-events: none;
    z-index: 0;
  }

  #why-choose-us .home-pillar {
    z-index: 1;
  }
}

.home-pillar {
  --pillar-accent: #6366f1;
  --pillar-accent-soft: rgba(99, 102, 241, 0.12);
  --pillar-glow: rgba(99, 102, 241, 0.22);
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.88) 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 16px 40px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.dark .home-pillar {
  background: linear-gradient(145deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.78) 100%);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.home-pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--pillar-accent), transparent 45%, rgba(6,182,212,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-pillar--indigo { --pillar-accent: #6366f1; --pillar-accent-soft: rgba(99,102,241,0.14); --pillar-glow: rgba(99,102,241,0.25); }
.home-pillar--cyan { --pillar-accent: #0891b2; --pillar-accent-soft: rgba(8,145,178,0.14); --pillar-glow: rgba(6,182,212,0.28); }
.home-pillar--violet { --pillar-accent: #7c3aed; --pillar-accent-soft: rgba(124,58,237,0.14); --pillar-glow: rgba(124,58,237,0.28); }
.home-pillar--teal { --pillar-accent: #0d9488; --pillar-accent-soft: rgba(13,148,136,0.14); --pillar-glow: rgba(13,148,136,0.25); }
.home-pillar--amber { --pillar-accent: #d97706; --pillar-accent-soft: rgba(217,119,6,0.12); --pillar-glow: rgba(245,158,11,0.22); }

.home-pillar__watermark {
  position: absolute;
  top: -0.35rem;
  right: 0.75rem;
  font-family: var(--home-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1;
  color: var(--pillar-accent);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.dark .home-pillar__watermark { opacity: 0.12; }

.home-pillar__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  top: -40px;
  left: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pillar-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

.home-pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.home-pillar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-family: var(--home-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--pillar-accent);
  background: var(--pillar-accent-soft);
  border: 1px solid rgba(255,255,255,0.6);
}

.dark .home-pillar__num {
  border-color: rgba(255,255,255,0.08);
}

.home-pillar__icon-ring {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pillar-accent-soft), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease;
}

.dark .home-pillar__icon-ring {
  background: linear-gradient(135deg, var(--pillar-accent-soft), rgba(15,23,42,0.5));
  border-color: rgba(255,255,255,0.06);
}

.home-pillar__icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--pillar-accent);
  flex-shrink: 0;
}

.home-pillar__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, var(--pillar-accent), #06b6d4);
  box-shadow: 0 4px 12px var(--pillar-glow);
}

.home-pillar h3 {
  position: relative;
  z-index: 1;
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.home-pillar p {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: auto;
  padding-top: 0.25rem;
}

.home-pillar__line {
  display: block;
  height: 3px;
  width: 2.5rem;
  margin-top: 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--pillar-accent), transparent);
  opacity: 0.65;
  transition: width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.35s ease;
}

.home-pillar--featured {
  background: linear-gradient(155deg, rgba(255,255,255,0.98) 0%, rgba(238,242,255,0.92) 48%, rgba(236,254,255,0.88) 100%);
  box-shadow:
    0 8px 16px rgba(79, 70, 229, 0.06),
    0 24px 56px rgba(79, 70, 229, 0.12);
}

.dark .home-pillar--featured {
  background: linear-gradient(155deg, rgba(30,27,75,0.95) 0%, rgba(15,23,42,0.88) 100%);
  box-shadow: 0 24px 56px rgba(79, 70, 229, 0.18);
}

@media (min-width: 1024px) {
  .home-pillar--featured {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .home-pillar--featured .home-pillar__icon-ring {
    width: 3.75rem;
    height: 3.75rem;
  }
}

.home-pillar:hover,
.home-pillar:focus-within {
  transform: translateY(-8px) !important;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.06),
    0 28px 60px var(--pillar-glow);
  border-color: rgba(255,255,255,0.9);
}

.home-pillar:hover::before,
.home-pillar:focus-within::before {
  opacity: 1;
}

.home-pillar:hover .home-pillar__glow,
.home-pillar:focus-within .home-pillar__glow {
  opacity: 1;
}

.home-pillar:hover .home-pillar__icon-ring,
.home-pillar:focus-within .home-pillar__icon-ring {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 28px var(--pillar-glow);
}

.home-pillar:hover .home-pillar__line,
.home-pillar:focus-within .home-pillar__line {
  width: 4.5rem;
  opacity: 1;
}

.home-pillar.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.home-pillar.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

@media (min-width: 1024px) {
  .home-pillar.reveal.visible:nth-child(1) { transform: translateY(0.5rem); }
  .home-pillar.reveal.visible:nth-child(3) { transform: translateY(-0.5rem); }
  .home-pillar.reveal.visible:nth-child(5) { transform: translateY(0.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .home-pillar:nth-child(1),
  .home-pillar:nth-child(3),
  .home-pillar:nth-child(5) {
    transform: none !important;
  }

  .home-pillars-head__ring {
    animation: none;
  }
}

/* ═══ SERVICES GRID — Uniform cards + process color theme ═══ */
.home-services {
  position: relative;
}

.home-services::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 110%);
  height: 480px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.07), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.06), transparent 55%);
  pointer-events: none;
}

.home-services-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

@media (min-width: 768px) {
  .home-services-head {
    margin-bottom: 3.25rem;
  }
}

.home-services-head .gradient-text {
  display: inline;
}

.home-services-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.home-services-head__line {
  width: min(18rem, 70%);
  height: 3px;
  margin: 1.75rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 20%,
    #a855f7 40%,
    #14b8a6 60%,
    #f59e0b 80%,
    #ec4899 100%
  );
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
  opacity: 0.85;
}

.home-services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 640px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .home-services-grid::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(
      90deg,
      #6366f1 0%,
      #06b6d4 16.6%,
      #a855f7 33.3%,
      #14b8a6 50%,
      #f59e0b 66.6%,
      #ec4899 83.3%,
      #6366f1 100%
    );
    opacity: 0.3;
    pointer-events: none;
  }
}

.home-service-card {
  --svc-color: #6366f1;
  --svc-glow: rgba(99, 102, 241, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-service-card--indigo { --svc-color: #6366f1; --svc-glow: rgba(99, 102, 241, 0.28); }
.home-service-card--cyan { --svc-color: #06b6d4; --svc-glow: rgba(6, 182, 212, 0.28); }
.home-service-card--violet { --svc-color: #a855f7; --svc-glow: rgba(168, 85, 247, 0.28); }
.home-service-card--teal { --svc-color: #14b8a6; --svc-glow: rgba(20, 184, 166, 0.28); }
.home-service-card--amber { --svc-color: #f59e0b; --svc-glow: rgba(245, 158, 11, 0.28); }
.home-service-card--rose { --svc-color: #ec4899; --svc-glow: rgba(236, 72, 153, 0.28); }

.home-service-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--svc-color), color-mix(in srgb, var(--svc-color) 40%, transparent));
  z-index: 2;
  opacity: 0.9;
}

.dark .home-service-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.home-service-card:hover,
.home-service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--svc-glow);
  border-color: color-mix(in srgb, var(--svc-color) 35%, transparent);
}

.dark .home-service-card:hover,
.dark .home-service-card:focus-visible {
  box-shadow: 0 16px 40px var(--svc-glow);
}

.home-service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  position: relative;
}

.home-service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    color-mix(in srgb, var(--svc-color) 12%, transparent) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-service-card:hover .home-service-card__media::after {
  opacity: 1;
}

.home-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-service-card:hover .home-service-card__media img {
  transform: scale(1.04);
}

.home-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .home-service-card__body {
    padding: 1.625rem 1.75rem 1.75rem;
  }
}

.home-service-card__body .home-service-tag {
  margin-bottom: 0.625rem;
}

.home-service-card__body h3 {
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.625rem;
}

.home-service-card__body h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--svc-color), transparent);
  opacity: 0.85;
  transition: width 0.35s ease;
}

.home-service-card:hover .home-service-card__body h3::after {
  width: 3.25rem;
}

.home-service-card__body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.home-service-card__body .home-service-link {
  margin-top: auto;
}

.home-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--svc-color, var(--accent-light));
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--svc-color, var(--accent-light)) 35%, transparent);
  background: color-mix(in srgb, var(--svc-color, var(--accent-light)) 8%, transparent);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.home-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: gap 0.25s ease, color 0.25s ease;
}

.home-bento .glass-card:hover .home-service-link,
.home-service-card:hover .home-service-link {
  gap: 0.625rem;
  color: var(--svc-color, var(--accent-light));
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card:hover .home-service-card__body h3::after {
    width: 2.25rem;
  }
}

/* ═══ PROCESS ═══ */
.home-process-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

@media (min-width: 768px) {
  .home-process-head { margin-bottom: 3.25rem; }
}

.home-process-head .gradient-text {
  display: inline;
}

.home-process {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.home-process__line {
  display: none;
}

.home-process__line--glow {
  filter: blur(6px);
  opacity: 0.45;
}

.home-process__steps {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  .home-process__steps::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    bottom: 1.75rem;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      #6366f1 0%,
      #06b6d4 25%,
      #a855f7 50%,
      #14b8a6 75%,
      #f59e0b 100%
    );
    border-radius: 9999px;
    opacity: 0.35;
    z-index: 0;
  }
}

@media (min-width: 640px) {
  .home-process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 1.5rem;
  }

  .home-process__steps::before {
    display: none;
  }
}

@media (min-width: 1024px) {
  .home-process__steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0 1rem;
  }

  .home-process__line {
    display: block;
    position: absolute;
    top: 1.75rem;
    left: 5%;
    right: 5%;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(
      90deg,
      #6366f1 0%,
      #06b6d4 25%,
      #a855f7 50%,
      #14b8a6 75%,
      #f59e0b 100%
    );
    z-index: 0;
  }

  .home-process__line--glow {
    display: block;
    top: 1.65rem;
    height: 8px;
  }
}

.home-process-step {
  --step-color: #6366f1;
  --step-glow: rgba(99, 102, 241, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  z-index: 1;
}

.home-process-step--indigo { --step-color: #6366f1; --step-glow: rgba(99, 102, 241, 0.4); }
.home-process-step--cyan { --step-color: #06b6d4; --step-glow: rgba(6, 182, 212, 0.4); }
.home-process-step--violet { --step-color: #a855f7; --step-glow: rgba(168, 85, 247, 0.4); }
.home-process-step--teal { --step-color: #14b8a6; --step-glow: rgba(20, 184, 166, 0.4); }
.home-process-step--amber { --step-color: #f59e0b; --step-glow: rgba(245, 158, 11, 0.4); }

.home-process-step__num {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.125rem;
  border-radius: 50%;
  font-family: var(--home-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--step-color);
  background: var(--bg, #fff);
  border: 2px solid var(--step-color);
  box-shadow: 0 0 0 4px var(--bg, #fff), 0 0 20px var(--step-glow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dark .home-process-step__num {
  background: var(--bg, #0f172a);
  box-shadow: 0 0 0 4px var(--bg, #0f172a), 0 0 24px var(--step-glow);
}

.home-process-step__num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--step-color), transparent 60%);
  opacity: 0.25;
  z-index: -1;
}

.home-process-step:hover .home-process-step__num {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px var(--bg, #fff), 0 0 28px var(--step-glow);
}

.home-process-step h3 {
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.home-process-step__accent {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--step-color), transparent);
  opacity: 0.85;
}

.home-process-step:hover .home-process-step__accent {
  width: 3.5rem;
  transition: width 0.35s ease;
}

.home-process-step p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 14rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-process-step:hover .home-process-step__num {
    transform: none;
  }
}

/* ═══ PORTFOLIO — colored theme (matches services) ═══ */
.home-portfolio {
  position: relative;
}

.home-portfolio::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 110%);
  height: 420px;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(99, 102, 241, 0.07), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.06), transparent 50%),
    radial-gradient(ellipse at 82% 50%, rgba(168, 85, 247, 0.06), transparent 55%);
  pointer-events: none;
}

.home-portfolio-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .home-portfolio-intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.home-portfolio-head .gradient-text {
  display: inline;
}

.home-portfolio-cta {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .home-portfolio-cta {
    align-self: auto;
    margin-bottom: 0.25rem;
  }
}

.home-portfolio-head__line {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 3px;
  margin-bottom: 2rem;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 25%,
    #a855f7 50%,
    #14b8a6 75%,
    #f59e0b 100%
  );
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22);
  opacity: 0.75;
}

@media (min-width: 768px) {
  .home-portfolio-head__line {
    margin-bottom: 2.5rem;
  }
}

.home-portfolio-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
  }

  .home-portfolio-grid::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 5%;
    right: 5%;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(
      90deg,
      #6366f1 0%,
      #06b6d4 50%,
      #a855f7 100%
    );
    opacity: 0.28;
    pointer-events: none;
  }
}

.home-portfolio-card {
  --port-color: #6366f1;
  --port-glow: rgba(99, 102, 241, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-portfolio-card--indigo { --port-color: #6366f1; --port-glow: rgba(99, 102, 241, 0.28); }
.home-portfolio-card--cyan { --port-color: #06b6d4; --port-glow: rgba(6, 182, 212, 0.28); }
.home-portfolio-card--violet { --port-color: #a855f7; --port-glow: rgba(168, 85, 247, 0.28); }

.home-portfolio-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--port-color), color-mix(in srgb, var(--port-color) 40%, transparent));
  z-index: 2;
  opacity: 0.9;
}

.dark .home-portfolio-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.home-portfolio-card:hover,
.home-portfolio-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--port-glow);
  border-color: color-mix(in srgb, var(--port-color) 35%, transparent);
}

.dark .home-portfolio-card:hover,
.dark .home-portfolio-card:focus-visible {
  box-shadow: 0 16px 40px var(--port-glow);
}

.home-portfolio-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  position: relative;
}

.home-portfolio-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    color-mix(in srgb, var(--port-color) 12%, transparent) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-portfolio-card:hover .home-portfolio-card__media::after {
  opacity: 1;
}

.home-portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-portfolio-card:hover .home-portfolio-card__media img {
  transform: scale(1.04);
}

.home-portfolio-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .home-portfolio-card__body {
    padding: 1.625rem 1.75rem 1.75rem;
  }
}

.home-portfolio-metric {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--port-color);
  background: color-mix(in srgb, var(--port-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--port-color) 28%, transparent);
}

.home-portfolio-card__body h3 {
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.625rem;
}

.home-portfolio-card__body h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--port-color), transparent);
  opacity: 0.85;
  transition: width 0.35s ease;
}

.home-portfolio-card:hover .home-portfolio-card__body h3::after {
  width: 3.25rem;
}

.home-portfolio-card__body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.home-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: gap 0.25s ease, color 0.25s ease;
}

.home-portfolio-card:hover .home-portfolio-link {
  gap: 0.625rem;
  color: var(--port-color);
}

@media (prefers-reduced-motion: reduce) {
  .home-portfolio-card:hover .home-portfolio-card__body h3::after {
    width: 2.25rem;
  }
}

/* ═══ TECH STACK — colored marquee theme ═══ */
.home-tech {
  position: relative;
}

.home-tech::before {
  content: '';
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 100%);
  height: 280px;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(99, 102, 241, 0.06), transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(6, 182, 212, 0.05), transparent 55%);
  pointer-events: none;
}

.home-tech-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-tech-head {
    margin-bottom: 2.5rem;
  }
}

.home-tech-head .gradient-text {
  display: inline;
}

.home-tech-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.home-tech-head__line {
  width: min(18rem, 70%);
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 20%,
    #a855f7 40%,
    #14b8a6 60%,
    #f59e0b 80%,
    #ec4899 100%
  );
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22);
  opacity: 0.85;
}

.home-tech-band {
  position: relative;
  z-index: 1;
}

.home-tech-band::before,
.home-tech-band::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 9999px;
  z-index: 2;
  pointer-events: none;
}

.home-tech-band::before {
  top: 0;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 16.6%,
    #a855f7 33.3%,
    #14b8a6 50%,
    #f59e0b 66.6%,
    #ec4899 83.3%,
    #6366f1 100%
  );
  opacity: 0.4;
}

.home-tech-band::after {
  bottom: 0;
  background: linear-gradient(
    90deg,
    #ec4899 0%,
    #f59e0b 16.6%,
    #14b8a6 33.3%,
    #a855f7 50%,
    #06b6d4 66.6%,
    #6366f1 83.3%,
    #ec4899 100%
  );
  opacity: 0.3;
}

.home-tech-marquee {
  position: relative;
  padding: 1.5rem 0;
  border-radius: var(--home-radius-xl);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg-elevated) 90%, #6366f1) 0%,
      var(--bg-elevated) 40%,
      var(--bg-elevated) 60%,
      color-mix(in srgb, var(--bg-elevated) 90%, #14b8a6) 100%
    );
  border: 1px solid color-mix(in srgb, var(--border) 85%, #6366f1);
  overflow: hidden;
}

.home-tech-marquee::before,
.home-tech-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5rem;
  z-index: 2;
  pointer-events: none;
}

.home-tech-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-elevated), transparent);
}

.home-tech-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-elevated), transparent);
}

.home-tech .home-marquee__track {
  gap: 1.25rem;
}

.home-tech-chip {
  --tech-color: #6366f1;
  --tech-glow: rgba(99, 102, 241, 0.3);
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--home-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tech-color);
  white-space: nowrap;
  background: color-mix(in srgb, var(--tech-color) 8%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--tech-color) 26%, transparent);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--tech-color) 8%, transparent);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .home-tech-chip {
    padding: 0.6875rem 1.375rem;
    font-size: 0.875rem;
  }
}

.home-tech-chip--indigo { --tech-color: #6366f1; --tech-glow: rgba(99, 102, 241, 0.35); }
.home-tech-chip--cyan { --tech-color: #06b6d4; --tech-glow: rgba(6, 182, 212, 0.35); }
.home-tech-chip--violet { --tech-color: #a855f7; --tech-glow: rgba(168, 85, 247, 0.35); }
.home-tech-chip--teal { --tech-color: #14b8a6; --tech-glow: rgba(20, 184, 166, 0.35); }
.home-tech-chip--amber { --tech-color: #f59e0b; --tech-glow: rgba(245, 158, 11, 0.35); }
.home-tech-chip--rose { --tech-color: #ec4899; --tech-glow: rgba(236, 72, 153, 0.35); }

.home-tech-chip:hover {
  background: color-mix(in srgb, var(--tech-color) 14%, var(--bg));
  border-color: color-mix(in srgb, var(--tech-color) 42%, transparent);
  box-shadow: 0 4px 18px var(--tech-glow);
}

@media (prefers-reduced-motion: reduce) {
  .home-tech .home-marquee__track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .home-tech-marquee {
    padding: 1.25rem 1rem;
  }
}

/* ═══ TESTIMONIALS — colored theme ═══ */
.home-testimonials {
  position: relative;
}

.home-testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, 100%);
  height: 400px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.07), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.06), transparent 55%);
  pointer-events: none;
}

.home-testimonials-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-testimonials-head {
    margin-bottom: 2.5rem;
  }
}

.home-testimonials-head .gradient-text {
  display: inline;
}

.home-testimonials-head__line {
  width: min(18rem, 70%);
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 25%,
    #a855f7 50%,
    #14b8a6 75%,
    #f59e0b 100%
  );
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22);
  opacity: 0.85;
}

.home-testimonials-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 768px) {
  .home-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: center;
  }

  .home-testimonials-grid::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(
      90deg,
      #6366f1 0%,
      #a855f7 50%,
      #06b6d4 100%
    );
    opacity: 0.28;
    pointer-events: none;
  }
}

.home-testimonial-card {
  --test-color: #6366f1;
  --test-glow: rgba(99, 102, 241, 0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.625rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (min-width: 768px) {
  .home-testimonial-card {
    padding: 2rem 1.75rem;
  }
}

.home-testimonial-card--indigo { --test-color: #6366f1; --test-glow: rgba(99, 102, 241, 0.28); }
.home-testimonial-card--violet { --test-color: #a855f7; --test-glow: rgba(168, 85, 247, 0.28); }
.home-testimonial-card--cyan { --test-color: #06b6d4; --test-glow: rgba(6, 182, 212, 0.28); }

.home-testimonial-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(90deg, var(--test-color), color-mix(in srgb, var(--test-color) 35%, transparent));
  opacity: 0.9;
}

.dark .home-testimonial-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.home-testimonial-card--featured {
  background: color-mix(in srgb, var(--test-color) 5%, rgba(255, 255, 255, 0.95));
  border-color: color-mix(in srgb, var(--test-color) 22%, rgba(226, 232, 240, 0.95));
}

.dark .home-testimonial-card--featured {
  background: color-mix(in srgb, var(--test-color) 8%, rgba(15, 23, 42, 0.92));
  border-color: color-mix(in srgb, var(--test-color) 28%, rgba(51, 65, 85, 0.55));
}

@media (min-width: 768px) {
  .home-testimonial-card--featured {
    transform: scale(1.03);
    box-shadow: 0 8px 32px var(--test-glow);
  }
}

.home-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--test-color) 35%, transparent);
  box-shadow: 0 16px 40px var(--test-glow);
}

@media (min-width: 768px) {
  .home-testimonial-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

.home-testimonial-card__quote {
  position: relative;
  flex: 1;
  margin: 0 0 1.5rem;
  padding-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: normal;
}

.home-testimonial-card__quote::before {
  content: '\201C';
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--home-display);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--test-color);
  opacity: 0.35;
}

@media (min-width: 768px) {
  .home-testimonial-card__quote {
    font-size: 1rem;
  }
}

.home-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--test-color) 12%, var(--border));
}

.home-testimonial-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--test-color);
  box-shadow: 0 0 0 2px var(--bg, #fff), 0 0 14px var(--test-glow);
}

.dark .home-testimonial-card__avatar {
  box-shadow: 0 0 0 2px var(--bg, #0f172a), 0 0 14px var(--test-glow);
}

.home-testimonial-card__name {
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.125rem;
}

.home-testimonial-card__role {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-testimonial-card--featured {
    transform: none;
  }

  .home-testimonial-card--featured:hover {
    transform: translateY(-4px);
  }
}

/* ═══ FAQ — colored theme ═══ */
.home-faq-section {
  position: relative;
}

.home-faq-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 100%);
  height: 360px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.06), transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(20, 184, 166, 0.05), transparent 55%);
  pointer-events: none;
}

.home-faq-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .home-faq-head {
    margin-bottom: 2.5rem;
  }
}

.home-faq-head .gradient-text {
  display: inline;
}

.home-faq-head__line {
  width: min(16rem, 65%);
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #6366f1 0%,
    #06b6d4 25%,
    #a855f7 50%,
    #14b8a6 75%,
    #f59e0b 100%
  );
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
  opacity: 0.85;
}

.home-faq {
  position: relative;
  z-index: 1;
}

.home-faq-item {
  --faq-color: #6366f1;
  --faq-glow: rgba(99, 102, 241, 0.18);
  position: relative;
  border-radius: 1rem;
  margin-bottom: 0.875rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-faq-item--indigo { --faq-color: #6366f1; --faq-glow: rgba(99, 102, 241, 0.22); }
.home-faq-item--cyan { --faq-color: #06b6d4; --faq-glow: rgba(6, 182, 212, 0.22); }
.home-faq-item--violet { --faq-color: #a855f7; --faq-glow: rgba(168, 85, 247, 0.22); }
.home-faq-item--teal { --faq-color: #14b8a6; --faq-glow: rgba(20, 184, 166, 0.22); }

.dark .home-faq-item {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-faq-item__accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--faq-color), color-mix(in srgb, var(--faq-color) 30%, transparent));
  opacity: 0.85;
  z-index: 1;
}

.home-faq-item.open {
  border-color: color-mix(in srgb, var(--faq-color) 38%, transparent);
  box-shadow: 0 6px 24px var(--faq-glow);
}

.home-faq-item.open .home-faq-item__accent {
  opacity: 1;
  width: 4px;
}

.home-faq .home-faq-item .faq-trigger {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem 1.25rem 1.625rem;
  font-family: var(--home-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .home-faq .home-faq-item .faq-trigger {
    font-size: 1rem;
    padding: 1.375rem 1.625rem 1.375rem 1.75rem;
  }
}

.home-faq-item .faq-trigger svg {
  color: var(--faq-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.home-faq-item.open .faq-trigger {
  color: var(--faq-color);
}

.home-faq .home-faq-item .faq-content {
  padding: 0 1.5rem 0 1.625rem;
}

@media (min-width: 768px) {
  .home-faq .home-faq-item .faq-content {
    padding: 0 1.625rem 0 1.75rem;
  }
}

.home-faq .home-faq-item.open .faq-content {
  padding-bottom: 1.375rem;
}

.home-faq-item .faq-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-left: 0.125rem;
  border-left: 2px solid color-mix(in srgb, var(--faq-color) 25%, transparent);
  padding-left: 0.875rem;
  margin-left: 0.125rem;
}

/* ═══ CTA — rainbow theme ═══ */
.home-cta-section {
  position: relative;
}

.home-cta-section .home-cta {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--home-radius-xl, 1.25rem);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.home-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.04);
  filter: brightness(1.06) contrast(1.04);
}

.home-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.34) 0%,
      rgba(30, 41, 59, 0.22) 50%,
      rgba(15, 23, 42, 0.3) 100%
    ),
    linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.home-cta__line {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 25%,
    rgba(148, 163, 184, 0.55) 50%,
    rgba(255, 255, 255, 0.35) 75%,
    transparent 100%
  );
  opacity: 0.9;
  z-index: 3;
}

.home-cta__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
  opacity: 0.35;
  z-index: 2;
}

.home-cta__glow--1 {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -40px;
  background: rgba(148, 163, 184, 0.18);
}

.home-cta__glow--2 {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: -50px;
  background: rgba(100, 116, 139, 0.16);
}

.home-cta__aurora {
  display: none;
}

.home-cta__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .home-cta__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
  }
}

.home-cta h2 {
  font-family: var(--home-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.8), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.home-cta h2 .gradient-text,
.dark .home-cta h2 .gradient-text {
  display: inline;
  background: none !important;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  animation: none;
}

.home-cta p {
  font-size: 1.0625rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(15, 23, 42, 0.75), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.home-cta-section .home-cta__btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--navy, #0f172a);
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-cta-section .home-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(255, 255, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .home-cta h2 .gradient-text {
    animation: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
  }

  .home-cta-section .home-cta__btn:hover {
    transform: none;
  }
}

/* ═══ SECTION DIVIDERS ═══ */
.home-section {
  position: relative;
}

.home-section--alt {
  background: var(--bg-elevated);
}

.home-section--mesh {
  background-image:
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(79,70,229,0.04), transparent),
    radial-gradient(ellipse 50% 30% at 100% 80%, rgba(6,182,212,0.04), transparent);
}

.dark .home-section--mesh {
  background-image:
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(79,70,229,0.08), transparent),
    radial-gradient(ellipse 50% 30% at 100% 80%, rgba(6,182,212,0.06), transparent);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero__blob,
  .home-marquee__track,
  .home-hero__float,
  .home-hero__scroll-line,
  .home-hero__title .gradient-text {
    animation: none !important;
  }

  .home-hero__visual-frame {
    transform: none !important;
  }

  .page-home::before {
    display: none;
  }
}

/* ═══ ABOUT PAGE — home layout components ═══ */
.home-mission-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-mission-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem 4rem;
  }
}

.home-mission-split__copy p {
  font-size: var(--type-lead);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.home-mission-split__copy p:last-child {
  margin-bottom: 0;
}

.home-mission-split__visual .home-hero__visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ═══ ABOUT PAGE — home layout components (continued) ═══ */

.home-pillars--grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-pillars--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-pillars--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .home-pillars--grid .home-pillar {
    grid-column: auto;
    transform: none !important;
  }

  .home-pillars--grid::before {
    display: none;
  }
}

/* ═══ PORTFOLIO PAGE ═══ */
.home-portfolio--page {
  padding-top: 2rem;
}

.home-portfolio--page .home-portfolio-head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.home-portfolio--page .home-portfolio-head .section-subtitle {
  margin-top: 0.75rem;
}

.home-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.page-home .home-portfolio-filters .filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.dark .page-home .home-portfolio-filters .filter-btn {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(51, 65, 85, 0.55);
}

.page-home .home-portfolio-filters .filter-btn:hover,
.page-home .home-portfolio-filters .filter-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.home-portfolio-grid--full {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-portfolio-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-portfolio-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.home-portfolio-card--teal { --port-color: #14b8a6; --port-glow: rgba(20, 184, 166, 0.28); }
.home-portfolio-card--amber { --port-color: #f59e0b; --port-glow: rgba(245, 158, 11, 0.28); }
.home-portfolio-card--rose { --port-color: #ec4899; --port-glow: rgba(236, 72, 153, 0.28); }

.home-portfolio-grid--full .home-portfolio-card[data-category] {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-portfolio-grid--full .home-portfolio-card[data-category][style*="display: none"] {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

/* ═══ CASE STUDIES PAGE ═══ */
.home-hero--cases .home-hero__visual {
  position: relative;
}

.home-case-hero-float {
  position: absolute;
  z-index: 5;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.dark .home-case-hero-float {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(51, 65, 85, 0.6);
}

.home-case-hero-float--1 {
  top: 12%;
  right: -4%;
  color: #6366f1;
  animation: home-case-float 5s ease-in-out infinite;
}

.home-case-hero-float--2 {
  bottom: 14%;
  left: -6%;
  color: #14b8a6;
  animation: home-case-float 5s ease-in-out infinite 1.2s;
}

@keyframes home-case-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.home-case-section {
  position: relative;
}

.home-case-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .home-case-list {
    gap: 3.5rem;
  }
}

.home-case-feature {
  --case-color: #6366f1;
  --case-glow: rgba(99, 102, 241, 0.22);
  position: relative;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06),
    0 24px 64px var(--case-glow);
  overflow: hidden;
}

.home-case-feature--indigo { --case-color: #6366f1; --case-glow: rgba(99, 102, 241, 0.18); }
.home-case-feature--teal { --case-color: #14b8a6; --case-glow: rgba(20, 184, 166, 0.18); }
.home-case-feature--violet { --case-color: #a855f7; --case-glow: rgba(168, 85, 247, 0.18); }
.home-case-feature--cyan { --case-color: #06b6d4; --case-glow: rgba(6, 182, 212, 0.18); }

.dark .home-case-feature {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-case-feature__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--case-color), color-mix(in srgb, var(--case-color) 40%, #06b6d4));
  z-index: 3;
}

.home-case-feature__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--case-glow), transparent 70%);
  pointer-events: none;
}

.home-case-feature__inner {
  display: grid;
  gap: 0;
}

@media (min-width: 1024px) {
  .home-case-feature__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 520px;
  }

  .home-case-feature--reverse .home-case-feature__media {
    order: 2;
  }

  .home-case-feature--reverse .home-case-feature__body {
    order: 1;
  }
}

.home-case-feature__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .home-case-feature__media {
    min-height: 100%;
  }
}

.home-case-feature__media-frame {
  height: 100%;
  min-height: 260px;
  line-height: 0;
}

@media (min-width: 1024px) {
  .home-case-feature__media-frame {
    min-height: 100%;
  }
}

.home-case-feature__media-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-case-feature:hover .home-case-feature__media-frame img {
  transform: scale(1.03);
}

.home-case-feature__media-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: color-mix(in srgb, var(--case-color) 88%, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.home-case-feature__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .home-case-feature__body {
    padding: 2rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .home-case-feature__body {
    padding: 2.5rem 2.75rem;
    justify-content: center;
  }
}

.home-case-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.home-case-metric {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--case-color);
  background: color-mix(in srgb, var(--case-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-color) 22%, transparent);
}

.home-case-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.home-case-feature__body h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.875rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .home-case-feature__body h2 {
    font-size: 1.75rem;
  }
}

.home-case-feature__lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.home-case-feature__details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .home-case-feature__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

.home-case-feature__detail h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--case-color);
  margin: 0 0 0.375rem;
}

.home-case-feature__detail p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.home-case-feature__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.home-case-feature__stat {
  padding: 0.875rem 0.75rem;
  border-radius: 0.875rem;
  text-align: center;
  background: color-mix(in srgb, var(--case-color) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-color) 14%, transparent);
}

.home-case-feature__stat strong {
  display: block;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--case-color);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.home-case-feature__stat span {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.3;
}

.home-case-feature__quote {
  margin: 0 0 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--case-color);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.home-case-feature__cite {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* More stories mini cards */
.home-case-more {
  position: relative;
}

.home-case-more-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-case-more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.home-case-mini {
  --case-color: #6366f1;
  --case-glow: rgba(99, 102, 241, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-case-mini--indigo { --case-color: #6366f1; --case-glow: rgba(99, 102, 241, 0.22); }
.home-case-mini--violet { --case-color: #a855f7; --case-glow: rgba(168, 85, 247, 0.22); }
.home-case-mini--amber { --case-color: #f59e0b; --case-glow: rgba(245, 158, 11, 0.22); }
.home-case-mini--teal { --case-color: #14b8a6; --case-glow: rgba(20, 184, 166, 0.22); }

.dark .home-case-mini {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-case-mini:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--case-color) 35%, transparent);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.08),
    0 0 0 1px color-mix(in srgb, var(--case-color) 12%, transparent),
    0 20px 48px var(--case-glow);
}

.home-case-mini__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--case-color), color-mix(in srgb, var(--case-color) 50%, transparent));
  z-index: 2;
}

.home-case-mini__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
}

.home-case-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-case-mini:hover .home-case-mini__media img {
  transform: scale(1.05);
}

.home-case-mini__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.375rem 1.5rem;
}

.home-case-mini__body .home-case-metric {
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.home-case-mini__body h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.home-case-mini__body p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.home-case-mini__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-case-mini__tags li {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  color: var(--case-color);
  background: color-mix(in srgb, var(--case-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--case-color) 18%, transparent);
}

/* ═══ CONTACT PAGE ═══ */
.home-hero--contact {
  padding-bottom: 0;
}

.home-hero--contact .home-hero__inner {
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  .home-hero--contact .home-hero__inner {
    align-items: center;
  }
}

.home-contact-trust {
  position: relative;
  z-index: 10;
}

.home-contact-trust--hero {
  margin-top: 0;
  padding: 2rem 0 2.25rem;
}

@media (min-width: 768px) {
  .home-contact-trust--hero {
    padding: 2.5rem 0 2.75rem;
  }
}

@media (min-width: 1024px) {
  .home-contact-trust--hero {
    padding: 3rem 0 3rem;
  }
}

.home-contact-trust__bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  padding: 1.125rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  position: relative;
}

.home-contact-trust__bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a855f7, #14b8a6);
  opacity: 0.55;
  transform: translateY(-1px);
}

.dark .home-contact-trust__bar {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(51, 65, 85, 0.55);
}

@media (min-width: 768px) {
  .home-contact-trust__bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.375rem 1.5rem;
  }
}

.home-contact-trust__pill {
  --pill-color: #6366f1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 100%;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--pill-color) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--pill-color) 18%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-contact-trust__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--pill-color) 14%, transparent);
}

.home-contact-trust__pill--indigo { --pill-color: #6366f1; }
.home-contact-trust__pill--cyan { --pill-color: #06b6d4; }
.home-contact-trust__pill--violet { --pill-color: #a855f7; }
.home-contact-trust__pill--teal { --pill-color: #14b8a6; }

.home-contact-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  color: var(--pill-color);
  background: color-mix(in srgb, var(--pill-color) 12%, transparent);
  margin-bottom: 0.25rem;
}

.home-contact-trust__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.home-contact-trust__pill strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.home-contact-trust__pill > span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.home-contact-section {
  padding-top: 1.5rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

#get-in-touch,
#contact-form {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

@media (min-width: 768px) {
  .home-contact-section {
    padding-top: 2rem;
  }
}

.home-contact-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .home-contact-section__head {
    margin-bottom: 3rem;
  }
}

.home-contact-section__head .section-subtitle {
  margin-top: 0.75rem;
}

.home-contact-section__head-line {
  width: min(16rem, 60%);
  height: 3px;
  margin: 1.5rem auto 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a855f7);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22);
  opacity: 0.85;
}

.home-contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .home-contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem 2.5rem;
  }
}

.home-contact-form-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

/* ── Left panel (matches form box) ── */
.home-contact-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 32px rgba(15, 23, 42, 0.06),
    0 24px 64px rgba(99, 102, 241, 0.08);
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-contact-panel {
    padding: 2rem 2.25rem;
  }
}

.dark .home-contact-panel {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-contact-panel__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a855f7, #14b8a6);
  z-index: 3;
}

.home-contact-panel__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
}

.home-contact-panel__glow {
  position: absolute;
  top: -10%;
  left: -15%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
  pointer-events: none;
}

.home-contact-panel__head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .home-contact-panel__head {
  border-bottom-color: rgba(51, 65, 85, 0.5);
}

.home-contact-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.18);
}

.home-contact-panel__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.home-contact-panel__head h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-contact-panel__head h3 {
    font-size: 1.5rem;
  }
}

.home-contact-panel__head p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.home-contact-panel__contacts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-contact-row {
  --row-color: #6366f1;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--row-color) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--row-color) 14%, transparent);
}

.home-contact-row--indigo { --row-color: #6366f1; }
.home-contact-row--cyan { --row-color: #06b6d4; }
.home-contact-row--violet { --row-color: #a855f7; }

.home-contact-row__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  color: var(--row-color);
  background: color-mix(in srgb, var(--row-color) 12%, transparent);
}

.home-contact-row__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.home-contact-row__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--row-color);
  margin: 0 0 0.2rem;
}

.home-contact-row__value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

a.home-contact-row__value:hover {
  color: var(--row-color);
}

.home-contact-row__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.home-contact-panel__divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25), transparent);
}

.home-contact-panel__expect {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.home-contact-panel__expect-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #14b8a6;
  margin-bottom: 0.375rem;
}

.home-contact-panel__expect h4 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.125rem;
}

@media (min-width: 1024px) {
  .home-contact-panel__expect h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
}

.home-contact-panel__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .home-contact-panel__steps {
    gap: 1.125rem;
  }
}

.home-contact-panel__steps li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.home-contact-panel__step-num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #14b8a6;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
}

.home-contact-panel__steps strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  .home-contact-panel__steps strong {
    font-size: 1rem;
  }
}

.home-contact-panel__steps p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (min-width: 1024px) {
  .home-contact-panel__steps p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

.home-contact-panel__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .home-contact-panel__foot {
  border-top-color: rgba(51, 65, 85, 0.5);
}

.home-contact-panel__foot svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #14b8a6;
}

.home-contact-panel__foot p {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* legacy cards — kept for reference elsewhere if needed */
.home-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.home-contact-card {
  --card-color: #6366f1;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-contact-card--indigo { --card-color: #6366f1; }
.home-contact-card--cyan { --card-color: #06b6d4; }
.home-contact-card--violet { --card-color: #a855f7; }

.dark .home-contact-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-contact-card:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--card-color) 35%, transparent);
  box-shadow: 0 10px 32px color-mix(in srgb, var(--card-color) 12%, transparent);
}

.home-contact-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, var(--card-color), color-mix(in srgb, var(--card-color) 30%, transparent));
  opacity: 0.85;
}

.home-contact-card__icon-ring {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  color: var(--card-color);
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-color) 25%, transparent);
}

.home-contact-card__icon-ring svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-contact-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--card-color);
  margin-bottom: 0.25rem;
}

.home-contact-card__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.home-contact-card__value:hover {
  color: var(--card-color);
}

.home-contact-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.home-contact-expect {
  --expect-color: #14b8a6;
  position: relative;
  padding: 1.5rem 1.625rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.dark .home-contact-expect {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(51, 65, 85, 0.55);
}

.home-contact-expect__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4, #6366f1);
}

.home-contact-expect__head {
  margin-bottom: 1.25rem;
}

.home-contact-expect__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}

.home-contact-expect__head h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.home-contact-expect__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-contact-expect__steps li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.home-contact-expect__num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #14b8a6;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
}

.home-contact-expect__steps strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.home-contact-expect__steps p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.home-contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 32px rgba(15, 23, 42, 0.06),
    0 24px 64px rgba(99, 102, 241, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-contact-form {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.dark .home-contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(51, 65, 85, 0.55);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 24px 64px rgba(99, 102, 241, 0.14);
}

.home-contact-form__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a855f7, #14b8a6);
  z-index: 3;
}

.home-contact-form__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 55%);
}

.dark .home-contact-form__mesh {
  opacity: 0.2;
}

.home-contact-form__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.home-contact-form__glow--1 {
  top: -15%;
  right: -8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
}

.home-contact-form__glow--2 {
  bottom: -10%;
  left: -5%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 70%);
}

.home-contact-form__head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .home-contact-form__head {
  border-bottom-color: rgba(51, 65, 85, 0.5);
}

.home-contact-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  margin-bottom: 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.home-contact-form__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.home-contact-form__head h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .home-contact-form__head h2 {
    font-size: 1.5rem;
  }
}

.home-contact-form__head p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 36ch;
}

.home-contact-form__section {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.home-contact-form__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.home-contact-form__body .home-contact-form__section:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.home-contact-form__body .home-contact-form__field--last {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-contact-form__body .home-contact-form__field--last .home-contact-form__input-wrap--textarea {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-contact-form__body .home-contact-form__field--last .home-contact-form__textarea {
  flex: 1;
  min-height: 120px;
}

.home-contact-form__section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.home-contact-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.125rem;
  }
}

.home-contact-form__field {
  margin-bottom: 1rem;
}

.home-contact-form__field--last {
  margin-bottom: 0;
}

.home-contact-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4375rem;
  color: var(--text);
}

.home-contact-form__label span {
  color: #6366f1;
  font-weight: 700;
}

.home-contact-form__input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.home-contact-form__input-wrap--textarea {
  align-items: flex-start;
}

.home-contact-form__input-wrap--textarea .home-contact-form__input-icon {
  top: 0.9375rem;
  transform: none;
}

.home-contact-form__input-icon {
  position: absolute;
  left: 0.9375rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
  transition: color 0.25s ease;
}

.home-contact-form__input-icon svg {
  width: 100%;
  height: 100%;
}

.home-contact-form__input-wrap:focus-within .home-contact-form__input-icon {
  color: #6366f1;
}

.home-contact-form__input-wrap--select::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  rotate: 45deg;
  pointer-events: none;
  z-index: 2;
}

.home-contact-form__input-wrap--select:focus-within::after {
  border-color: #6366f1;
}

.home-contact-form__input {
  width: 100%;
  padding: 0.8125rem 1rem 0.8125rem 2.625rem;
  border-radius: 0.875rem;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.95);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.45;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.dark .home-contact-form__input {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(51, 65, 85, 0.6);
}

.home-contact-form__input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.home-contact-form__input:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.home-contact-form__input:focus {
  outline: none;
  background: #fff;
  border-color: #6366f1;
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.12),
    0 4px 12px rgba(99, 102, 241, 0.08);
}

.dark .home-contact-form__input:focus {
  background: rgba(15, 23, 42, 0.85);
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-contact-form__select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.home-contact-form__select option {
  color: var(--text);
  background: var(--bg-elevated);
}

.home-contact-form__textarea {
  min-height: 132px;
  padding-top: 0.875rem;
  padding-left: 1rem;
  resize: vertical;
  line-height: 1.6;
}

.home-contact-form__input-wrap--textarea .home-contact-form__textarea {
  padding-left: 1rem;
}

.home-contact-form__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .home-contact-form__actions {
  border-top-color: rgba(51, 65, 85, 0.5);
}

.home-contact-form__submit {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.875rem;
  box-shadow: var(--btn-primary-shadow);
}

@media (min-width: 640px) {
  .home-contact-form__submit {
    width: auto;
    min-width: 13rem;
  }
}

.home-contact-form__submit-icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.25s ease;
}

.home-contact-form__submit:hover .home-contact-form__submit-icon {
  transform: translateX(3px);
}

.home-contact-form__trust {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.16);
}

.home-contact-form__trust svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: #14b8a6;
  margin-top: 0.1rem;
}

.home-contact-form__trust p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── LAYERED IMAGES (content pages) ── */
/* ═══════════════════════════════════════════════════════════
   Index — Layered Cards with Depth (images only)
   Scoped to .page-home:not(.page-index) · preserves layout & content
   ═══════════════════════════════════════════════════════════ */

.page-home:not(.page-index) {
  --layer-radius: 1.25rem;
  --layer-shadow: 0 16px 44px rgba(11, 30, 60, 0.12);
  --layer-shadow-hover: 0 28px 64px rgba(11, 30, 60, 0.2);
  --layer-glass: rgba(255, 255, 255, 0.55);
  --layer-glass-bg: rgba(255, 255, 255, 0.1);
}

.dark .page-home:not(.page-index) {
  --layer-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --layer-shadow-hover: 0 32px 72px rgba(0, 0, 0, 0.48);
  --layer-glass: rgba(148, 180, 200, 0.35);
  --layer-glass-bg: rgba(15, 23, 42, 0.25);
}

/* ── Base stack ── */
.page-home:not(.page-index) .layered-card {
  position: relative;
  overflow: visible !important;
  line-height: 0;
}

.page-home:not(.page-index) .layered-card__perspective {
  perspective: 1100px;
  width: 100%;
}

.page-home:not(.page-index) .layered-card__stack {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
}

.page-home:not(.page-index) .layered-card--hero .layered-card__stack {
  aspect-ratio: 4 / 3;
  padding: 1.75rem 1.5rem 0.875rem;
}

.page-home:not(.page-index) .home-service-card__media.layered-card .layered-card__stack,
.page-home:not(.page-index) .home-portfolio-card__media.layered-card .layered-card__stack {
  aspect-ratio: 16 / 10;
  padding: 1.35rem 1.1rem 0.45rem;
}

/* ── Background depth layers (same image) ── */
.page-home:not(.page-index) .layered-card__layer {
  position: absolute;
  inset: 0;
  border-radius: var(--layer-radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  border: 1px solid var(--layer-glass);
  box-shadow: var(--layer-shadow);
  will-change: transform;
  animation: idxLayerDrift 9s ease-in-out infinite;
}

.page-home:not(.page-index) .layered-card__layer--3 {
  z-index: 1;
  opacity: 0.26;
  transform: rotate(-4.5deg) scale(0.86) translate(-7%, 6%);
  filter: blur(0.3px) saturate(0.85);
  animation-delay: -2.5s;
}

.page-home:not(.page-index) .layered-card__layer--2 {
  z-index: 2;
  opacity: 0.38;
  transform: rotate(3.5deg) scale(0.92) translate(5%, -4%);
  filter: saturate(0.9);
  animation-delay: -5s;
}

.page-home:not(.page-index) .layered-card__layer--1 {
  z-index: 3;
  opacity: 0.52;
  transform: rotate(-2deg) scale(0.96) translate(-3%, 3%);
  animation-delay: -1s;
}

/* ── Glass accent plate ── */
.page-home:not(.page-index) .layered-card__glass {
  position: absolute;
  inset: 10%;
  z-index: 4;
  border-radius: calc(var(--layer-radius) - 0.25rem);
  pointer-events: none;
  border: 1px solid rgba(168, 212, 234, 0.28);
  background: linear-gradient(
    145deg,
    var(--layer-glass-bg),
    transparent 55%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: rotate(2.5deg) scale(0.9);
  opacity: 0.65;
}

/* ── Front card (main image) ── */
.page-home:not(.page-index) .layered-card__front {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  border-radius: var(--layer-radius);
  overflow: hidden;
  transform: rotate(1.75deg);
  border: 1.5px solid var(--layer-glass);
  background: var(--layer-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--layer-shadow);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
  animation: idxLayerDriftFront 10s ease-in-out infinite;
}

.page-home:not(.page-index) .layered-card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Rotation variants ── */
.page-home:not(.page-index) .layered-card--v1 .layered-card__front {
  transform: rotate(-2.25deg);
}

.page-home:not(.page-index) .layered-card--v1 .layered-card__layer--3 {
  transform: rotate(4deg) scale(0.86) translate(6%, 5%);
}

.page-home:not(.page-index) .layered-card--v1 .layered-card__layer--2 {
  transform: rotate(-3deg) scale(0.92) translate(-4%, -3%);
}

.page-home:not(.page-index) .layered-card--v2 .layered-card__front {
  transform: rotate(2.75deg);
}

.page-home:not(.page-index) .layered-card--v2 .layered-card__layer--1 {
  transform: rotate(2.5deg) scale(0.96) translate(4%, 2%);
}

/* ── Theme-colored shadows (service / portfolio) ── */
.page-home:not(.page-index) .home-service-card--indigo .layered-card__front,
.page-home:not(.page-index) .home-portfolio-card--indigo .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.page-home:not(.page-index) .home-service-card--cyan .layered-card__front,
.page-home:not(.page-index) .home-portfolio-card--cyan .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(6, 182, 212, 0.08);
}

.page-home:not(.page-index) .home-service-card--violet .layered-card__front,
.page-home:not(.page-index) .home-portfolio-card--violet .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(168, 85, 247, 0.08);
}

.page-home:not(.page-index) .home-service-card--teal .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(20, 184, 166, 0.08);
}

.page-home:not(.page-index) .home-service-card--amber .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.page-home:not(.page-index) .home-service-card--rose .layered-card__front {
  box-shadow: var(--layer-shadow), 0 0 0 1px rgba(236, 72, 153, 0.08);
}

/* ── Hover lift ── */
.page-home:not(.page-index) .layered-card:hover .layered-card__front,
.page-home:not(.page-index) .home-service-card:hover .layered-card__front,
.page-home:not(.page-index) .home-portfolio-card:hover .layered-card__front {
  transform: translateY(-10px) rotate(0deg) scale(1.02);
  box-shadow: var(--layer-shadow-hover);
}

.page-home:not(.page-index) .layered-card:hover .layered-card__front img,
.page-home:not(.page-index) .home-service-card:hover .layered-card__front img,
.page-home:not(.page-index) .home-portfolio-card:hover .layered-card__front img {
  transform: scale(1.03);
}

.page-home:not(.page-index) .layered-card:hover .layered-card__layer--1 {
  transform: rotate(-1deg) scale(0.97) translate(-2%, 1%);
}

.page-home:not(.page-index) .layered-card:hover .layered-card__layer--2 {
  transform: rotate(2.5deg) scale(0.93) translate(3%, -2%);
}

.page-home:not(.page-index) .layered-card:hover .layered-card__layer--3 {
  transform: rotate(-3.5deg) scale(0.88) translate(-5%, 4%);
}

/* ── Override index-cut clip on layered images ── */
.page-home:not(.page-index) .layered-card.home-hero__visual-frame {
  clip-path: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.page-home:not(.page-index) .layered-card.home-hero__visual-frame::before {
  display: none !important;
}

.page-home:not(.page-index) .layered-card .layered-card__front img {
  clip-path: none !important;
  aspect-ratio: unset;
}

.page-home:not(.page-index) .home-service-card__media.layered-card::after,
.page-home:not(.page-index) .home-portfolio-card__media.layered-card::after {
  display: none;
}

.page-home:not(.page-index) .home-service-card__media.layered-card,
.page-home:not(.page-index) .home-portfolio-card__media.layered-card {
  aspect-ratio: auto;
  background: transparent;
  padding: 0;
  z-index: 2;
}

.page-home:not(.page-index) .home-service-card:hover .home-service-card__media.layered-card img,
.page-home:not(.page-index) .home-portfolio-card:hover .home-portfolio-card__media.layered-card img {
  transform: none;
}

/* ── Hero visual spacing for depth layers ── */
.page-home:not(.page-index) .home-hero__visual {
  overflow: visible;
}

/* ── Floating animation ── */
@keyframes idxLayerDrift {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes idxLayerDriftFront {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -4px;
  }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .page-home:not(.page-index) .layered-card--hero .layered-card__stack {
    padding: 1.15rem 0.9rem 0.55rem;
  }

  .page-home:not(.page-index) .home-service-card__media.layered-card .layered-card__stack,
  .page-home:not(.page-index) .home-portfolio-card__media.layered-card .layered-card__stack {
    padding: 1rem 0.75rem 0.35rem;
  }

  .page-home:not(.page-index) .layered-card__layer--3 {
    opacity: 0.18;
    transform: rotate(-3deg) scale(0.9) translate(-4%, 4%);
  }

  .page-home:not(.page-index) .layered-card__front {
    transform: rotate(1.25deg);
  }

  .page-home:not(.page-index) .layered-card:hover .layered-card__front,
  .page-home:not(.page-index) .home-service-card:hover .layered-card__front,
  .page-home:not(.page-index) .home-portfolio-card:hover .layered-card__front {
    transform: translateY(-6px) rotate(0deg) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home:not(.page-index) .layered-card__layer,
  .page-home:not(.page-index) .layered-card__front {
    animation: none !important;
  }

  .page-home:not(.page-index) .layered-card:hover .layered-card__front,
  .page-home:not(.page-index) .home-service-card:hover .layered-card__front,
  .page-home:not(.page-index) .home-portfolio-card:hover .layered-card__front {
    transform: translateY(-4px) rotate(0deg);
  }
}

@import url('brand-colors.css?v=2');
