/* Aisu Tech Solutions — site styles */
:root {
  --bg: #e8edf7;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #d4dce8;
  --primary: #1e3a5f;
  --primary-hover: #152a45;
  --accent: #0d9488;
  --accent-bright: #2dd4bf;
  --accent-soft: rgba(13, 148, 136, 0.16);
  --violet: #7c3aed;
  --violet-soft: rgba(124, 58, 237, 0.12);
  --pop: #fb7185;
  --pop-deep: #f43f5e;
  --citrus: #fbbf24;
  --shadow: 0 20px 50px rgba(30, 58, 95, 0.12), 0 8px 24px rgba(124, 58, 237, 0.06);
  --shadow-sm: 0 6px 24px rgba(30, 58, 95, 0.08);
  --shadow-glow: 0 12px 40px rgba(13, 148, 136, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Syne", system-ui, sans-serif;
  --header-h: 140px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --stagger: 0s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__kicker,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__title-line,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__lead,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__links,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__kicker,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__title-line,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__lead,
  .theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__links {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .theme-xtra-b4 .page-hero--home .page-hero__video,
  .theme-xtra-b4 .page-hero--inner .page-hero__video--inner {
    animation: none !important;
    opacity: 1 !important;
  }

  .page-hero__fallback-bg,
  .cta-band::before,
  .card-service .card-icon {
    animation: none !important;
  }

  .page-hero__fallback-bg {
    filter: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 90% at 100% -10%, rgba(251, 113, 133, 0.14), transparent 52%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(45, 212, 191, 0.16), transparent 48%),
    radial-gradient(ellipse 55% 45% at 75% 55%, rgba(124, 58, 237, 0.09), transparent 42%),
    linear-gradient(180deg, #eef2fb 0%, #e8edf7 38%, #ecfdf5 100%);
  background-attachment: fixed;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Centered page frame: full-width nav + page hero; body sections boxed */
.page-content-box {
  max-width: min(1160px, calc(100% - 2rem));
  margin: 1rem auto 2.5rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.55), rgba(124, 58, 237, 0.45), rgba(251, 113, 133, 0.42)) border-box;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow), 0 0 0 1px rgba(30, 58, 95, 0.05);
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-content-box {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--violet), var(--pop));
  opacity: 0.85;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-img {
  display: block;
  height: 126px;
  width: auto;
  max-width: min(720px, 88vw);
  object-fit: contain;
  object-position: left center;
}

.logo-img--footer {
  height: 108px;
  max-width: 600px;
  object-position: left center;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), var(--violet) 55%, var(--accent));
  color: #fff;
  font-size: 1.125rem;
}

.logo-mark-sm {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.logo-text {
  font-size: 1.05rem;
  line-height: 1.2;
}

.logo-sub {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle-bar {
  background: transparent;
}

.site-header.nav-open .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--violet);
}

.nav-list a.is-active {
  color: var(--primary);
  font-weight: 700;
}

@media (min-width: 900px) {
  .nav-list a {
    position: relative;
  }

  .nav-list a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-bright), var(--violet));
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #134e4a 55%, var(--accent) 130%);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.28), 0 2px 8px rgba(13, 148, 136, 0.2);
  transition: background-position 0.45s var(--ease-out), transform 0.2s var(--ease-spring), box-shadow 0.25s;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 50%;
  box-shadow: var(--shadow-glow), 0 6px 20px rgba(30, 58, 95, 0.22);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--primary);
  background: var(--accent-soft);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-on-dark {
  background: #fff;
  color: var(--primary);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: #ccfbf1;
}

.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-on-dark:hover,
.btn-ghost-on-dark:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Page hero (home video / inner image or video) */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-hero__video--inner {
  z-index: 0;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-hero__fallback-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(167, 139, 250, 0.35), transparent 50%),
    radial-gradient(ellipse 80% 55% at 70% -10%, rgba(20, 184, 166, 0.32), transparent),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(251, 113, 133, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(30, 58, 95, 0.2), transparent),
    linear-gradient(160deg, #0f172a 0%, #1e3a5f 38%, #312e81 72%, #115e59 100%);
  pointer-events: none;
  animation: hero-bg-breathe 14s ease-in-out infinite;
}

@keyframes hero-bg-breathe {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.12) brightness(1.05);
  }
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(49, 46, 129, 0.35) 38%,
    rgba(30, 58, 95, 0.52) 55%,
    rgba(17, 94, 89, 0.35) 100%
  );
}

.page-hero--home {
  min-height: clamp(520px, 88vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero--home .page-hero__fallback-bg {
  z-index: 0;
}

.page-hero--home .page-hero__video {
  z-index: 0;
}

.page-hero--home .page-hero__scrim {
  z-index: 1;
}

.page-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.page-hero--inner {
  min-height: clamp(220px, 32vh, 380px);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 38%, #4c1d95 68%, #134e4a 100%);
}

.page-hero--inner-has-media {
  min-height: clamp(280px, 38vh, 440px);
}

.page-services > .page-hero--inner-has-media {
  min-height: clamp(470px, 64vh, 739px);
}

.page-hero__scrim--inner {
  background: linear-gradient(180deg, rgba(6, 20, 35, 0.45) 0%, rgba(6, 20, 35, 0.82) 100%);
}

.page-hero__inner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.page-hero--inner-no-media .page-hero__inner-content {
  z-index: 1;
}

.page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: #f8fafc;
}

.page-hero__sub {
  margin: 0;
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.eyebrow--on-dark {
  color: #99f6e4;
}

/* Home hero copy on video */
.page-hero--home .hero-title {
  color: #f8fafc;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-hero--home .hero-title {
    background: linear-gradient(115deg, #ffffff 0%, #a7f3d0 38%, #fde68a 78%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-hero--home .hero-lead {
  color: #cbd5e1;
}

.page-hero--home .hero-lead strong {
  color: #fff;
}

.page-hero--home .eyebrow {
  color: #99f6e4;
}

/* Hero layout (shared) */
.hero {
  position: relative;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

.page-hero--home .hero-card {
  padding: 3px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, var(--accent-bright), var(--violet), var(--pop));
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
}

.page-hero--home .hero-card-inner {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .page-hero--home .hero-copy {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .page-hero--home .hero-stats {
    margin-top: auto;
    width: 100%;
  }

  .page-hero--home .hero-card {
    display: flex;
    min-height: 0;
  }

  .page-hero--home .hero-card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .page-hero--home .hero-card-inner .btn-block {
    margin-top: auto;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats li {
  position: relative;
  padding: 1rem 1rem 1rem 1.15rem;
  min-width: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(240, 253, 250, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}

.hero-stats li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent-bright), var(--violet));
}

.hero-stats li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(124, 58, 237, 0.07));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}

.hero-stats li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.hero-stats li:hover::before {
  opacity: 1;
}

@media (min-width: 600px) {
  .hero-stats {
    gap: 1.25rem;
  }
}

@media (max-width: 599px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.stat-value {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-stats li > * {
  position: relative;
  z-index: 1;
}

.hero-card-inner {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.hero-card-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.checklist li {
  margin-bottom: 0.45rem;
}

/* Trust strip */
.trust-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #0f172a 0%, #1e3a5f 35%, #4c1d95 68%, #115e59 100%);
  color: #ecfdf5;
  padding: 1.35rem 0;
}

.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.03) 14px,
    rgba(255, 255, 255, 0.03) 15px
  );
  pointer-events: none;
}

.trust-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-strip-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.trust-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: linear-gradient(165deg, #f0f4ff 0%, #ecfdf5 45%, #fdf2f8 100%);
}

.nest-feature-section.section-alt {
  background: linear-gradient(155deg, #ede9fe 0%, #ecfdf5 42%, #fce7f3 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head-row {
  max-width: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-head-row {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
}

.section-intro-tight {
  max-width: 32rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards-3 {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}

.card:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: var(--shadow), 0 0 0 1px rgba(45, 212, 191, 0.12);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.card-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card-service .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1rem;
  font-size: 1.45rem;
  line-height: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft), var(--violet-soft));
  border: 1px solid rgba(124, 58, 237, 0.12);
  animation: icon-float 5s ease-in-out infinite;
}

.card-service:hover .card-icon {
  animation-play-state: paused;
  transform: scale(1.06) rotate(-4deg);
  transition: transform 0.45s var(--ease-spring);
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.feature-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: linear-gradient(125deg, #1e3a5f 0%, #4c1d95 48%, #0f7669 100%);
  color: #e0f2fe;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.18), var(--shadow-sm);
}

.feature-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(251, 113, 133, 0.18), transparent 42%);
  pointer-events: none;
}

.feature-block > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 200px;
  }
}

.feature-block .eyebrow {
  color: #99f6e4;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.feature-block p {
  margin: 0 0 1rem;
  opacity: 0.92;
  font-size: 0.98rem;
}

.text-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  opacity: 0.9;
}

.feature-mesh {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: flex-end;
  height: 120px;
}

.feature-mesh span {
  width: 36px;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.15);
  animation: pulse-h 2.4s ease-in-out infinite;
}

.feature-mesh span:nth-child(2) {
  height: 70%;
  animation-delay: 0.2s;
}

.feature-mesh span:nth-child(1),
.feature-mesh span:nth-child(3) {
  height: 45%;
  animation-delay: 0.4s;
}

@keyframes pulse-h {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-mesh span {
    animation: none;
  }
}

/* Areas */
.area-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.area-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}

.area-card:hover {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.area-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.area-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.two-col {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-list li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.65rem;
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent-bright), var(--violet), var(--pop));
}

.value-list strong {
  display: block;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.value-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.testimonial {
  margin: 0;
  padding: 1.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.logo-strip {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.logo-strip-label {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.logo-strip-list li {
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: transform 0.3s var(--ease-spring), border-color 0.25s, box-shadow 0.3s var(--ease-out), color 0.2s;
}

.logo-strip-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.35);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.12);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #1e3a5f 0%, #5b21b6 48%, #0f7669 100%);
  color: #ecfdf5;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(circle at 22% 32%, rgba(251, 113, 133, 0.24), transparent 42%),
    radial-gradient(circle at 78% 68%, rgba(45, 212, 191, 0.22), transparent 45%);
  animation: cta-drift 22s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(4%, 3%) rotate(5deg);
  }
  66% {
    transform: translate(-3%, 4%) rotate(-4deg);
  }
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cta-text {
  margin: 0;
  opacity: 0.9;
  max-width: 28rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-dl {
  margin: 1.5rem 0 0;
}

.contact-dl div {
  margin-bottom: 1rem;
}

.contact-dl dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-dl dd {
  margin: 0;
}

.contact-dl a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-dl a:hover {
  color: var(--violet);
  text-decoration: underline;
}

.contact-form {
  position: relative;
  background: var(--bg-elevated);
  padding: calc(1.75rem + 4px) 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-bright), var(--violet), var(--pop));
}

.form-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 42%, #0f172a 100%);
  color: #94a3b8;
  padding: 2.75rem 0;
  font-size: 0.9rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(167, 139, 250, 0.1), transparent 45%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand strong {
  color: #f1f5f9;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tag {
  margin: 0;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent-bright);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.85rem;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.75s var(--ease-spring);
  transition-delay: var(--stagger, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-reveal][data-delay="1"] {
  transition-delay: calc(0.14s + var(--stagger, 0s));
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 253, 250, 0.96) 100%);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), visibility 0.35s;
  }

  .site-header.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Multi-page: links on cards, service blocks, prose */
.text-link--inline {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link--inline:hover,
.text-link--inline:focus-visible {
  color: var(--violet);
}

.card-cta {
  margin: 1rem 0 0;
}

.service-block {
  max-width: 46rem;
}

.service-block__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.service-block__lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.service-block p {
  margin: 0 0 1rem;
  color: var(--text);
}

.service-block p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--wide {
  max-width: 52rem;
}

.prose .prose-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-muted);
}

.about-why-list {
  margin-inline: auto;
}

.section-title--left {
  margin-bottom: 1rem;
}

.value-list--full {
  max-width: 48rem;
}

.home-areas-cta {
  margin: 0;
  text-align: center;
}

.home-about-cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* Home: Google Nest feature inside elevated card */
.nest-feature-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f5f3ff 100%);
}

.nest-feature-card:hover {
  transform: none;
}

.nest-feature-card.card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow), 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.nest-feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
}

/* Side-by-side: copy | image (matches “next to the wordings”) from tablet landscape up */
@media (min-width: 700px) {
  .nest-feature--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: center;
  }
}

.nest-feature__copy-header {
  margin-bottom: 1.25rem;
  width: 100%;
}

.nest-feature__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.2;
}

.nest-feature__rule {
  display: block;
  width: 4rem;
  height: 4px;
  margin: 0.65rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-bright), var(--violet), var(--pop));
}

.nest-feature__text {
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #444444;
  max-width: 36rem;
  text-wrap: pretty;
}

.nest-feature__text strong {
  color: #333333;
  font-weight: 600;
}

.nest-feature__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
  background-size: 180% 180%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.35), 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: background-position 0.4s var(--ease-out), transform 0.2s var(--ease-spring), box-shadow 0.25s;
}

.nest-feature__cta:hover {
  background-position: 100% 50%;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4), 0 6px 18px rgba(13, 148, 136, 0.3);
}

.nest-feature__cta:focus-visible {
  background-position: 100% 50%;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

.nest-feature__cta:active {
  transform: translateY(1px);
}

.nest-feature__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nest-feature__media {
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

@media (min-width: 700px) {
  .nest-feature--split .nest-feature__media {
    justify-self: center;
  }
}

.nest-feature-card .nest-feature__media {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.98),
    0 0 0 6px rgba(124, 58, 237, 0.14),
    0 22px 48px rgba(30, 58, 95, 0.12);
}

.nest-feature__img {
  display: block;
  width: 100%;
  height: auto;
}
