.site-frame {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.94);
  backdrop-filter: blur(12px);
}

.site-header-inner,
.site-container,
.site-footer-inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  color: hsl(var(--foreground));
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a,
.site-mobile-nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  padding: 0.55rem 0.7rem;
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-mobile-nav a:hover,
.site-nav a[aria-current="page"],
.site-mobile-nav a[aria-current="page"] {
  color: hsl(var(--primary));
  background: hsl(var(--accent));
}

.site-header-actions,
.site-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header-actions {
  display: none;
}

.site-theme-toggle,
.site-menu-toggle {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.site-theme-toggle:hover,
.site-menu-toggle:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.site-theme-toggle svg,
.site-menu-toggle svg,
.site-icon svg,
.site-inline-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-mobile-nav {
  border-top: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem 1rem;
}

.site-mobile-nav[hidden] {
  display: none;
}

.site-mobile-nav nav {
  display: grid;
  width: min(100%, 1200px);
  margin-inline: auto;
  gap: 0.25rem;
}

.site-mobile-nav .site-button {
  margin-top: 0.35rem;
}

.site-main {
  flex: 1 0 auto;
  min-width: 0;
}

.site-page {
  overflow: hidden;
}

.site-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background:
    radial-gradient(ellipse at 75% 15%, hsl(var(--primary) / 0.1), transparent 38%),
    linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary) / 0.28));
}

.site-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.site-eyebrow {
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.site-hero-description {
  max-width: 760px;
  margin: 1.35rem auto 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.site-hero-actions,
.site-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.site-button {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.925rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-button:hover {
  transform: translateY(-1px);
  background: hsl(var(--primary) / 0.86);
  color: hsl(var(--primary-foreground));
}

.site-button-secondary {
  border-color: hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.site-button-secondary:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.site-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.site-section-muted {
  background: hsl(var(--secondary) / 0.28);
}

.site-section-heading {
  max-width: 790px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.site-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

.site-section-heading p {
  margin: 0.8rem auto 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.site-card {
  min-width: 0;
  border: 1px solid hsl(var(--border));
  border-radius: 0.9rem;
  padding: 1.4rem;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.site-card:hover,
.site-card:focus-within {
  border-color: hsl(var(--primary) / 0.55);
  box-shadow: 0 12px 32px hsl(var(--primary) / 0.08);
  transform: translateY(-2px);
}

.site-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 680;
  line-height: 1.35;
}

.site-card p {
  margin: 0.6rem 0 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.site-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}

.site-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: hsl(var(--primary));
  font-weight: 650;
  text-decoration: none;
}

.site-card-link:hover,
.site-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-card-image {
  display: grid;
  min-height: 5rem;
  margin: -0.2rem 0 1rem;
  place-items: center;
}

.site-card-image img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

.site-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.site-stat {
  position: relative;
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--background)));
  box-shadow: 0 10px 24px hsl(var(--foreground) / 0.04);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-stat::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: hsl(var(--primary));
  content: "";
}

.site-stat::after {
  position: absolute;
  top: -2.5rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.08);
  content: "";
}

.site-stat:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 14px 30px hsl(var(--foreground) / 0.08);
}

.site-stat strong {
  position: relative;
  z-index: 1;
  display: block;
  color: hsl(var(--primary));
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.site-stat span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.55rem;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.site-stat small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-service-card,
#custom-software-development,
#web-mobile-application-development,
#systems-integration-api-engineering,
#digital-transformation,
#devops-cloud-engineering,
#ux-ui-design-product-experience {
  scroll-margin-top: 5.5rem;
}

.site-card ul,
.site-copy-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  list-style: disc;
}

.site-card ol,
.site-ordered-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.35rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.site-rich-section {
  max-width: 900px;
  margin-inline: auto;
}

.site-rich-section > p {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.025rem;
  line-height: 1.8;
}

.site-rich-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.site-rich-section > p + h2 {
  margin-top: 2rem;
}

.site-cta {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse at 50% 0, hsl(var(--primary) / 0.13), transparent 55%),
    hsl(var(--secondary) / 0.4);
  text-align: center;
}

.site-cta h2 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 720;
  line-height: 1.2;
  text-wrap: balance;
}

.site-cta p {
  max-width: 780px;
  margin: 0.85rem auto 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-breadcrumbs {
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.site-breadcrumbs a {
  color: hsl(var(--primary));
}

.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}

.site-footer-inner {
  padding: 3rem 0 1.25rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer a:hover {
  color: hsl(var(--primary));
}

.site-footer-description {
  max-width: 290px;
  margin-top: 1rem;
}

.site-footer-list {
  display: grid;
  gap: 0.3rem;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1rem;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-contact-links {
  display: grid;
  gap: 0.45rem;
  overflow-wrap: anywhere;
}

.site-inline-link {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-faq {
  display: grid;
  gap: 1rem;
}

.site-faq article {
  border-bottom: 1px solid hsl(var(--border));
  padding: 0 0 1rem;
}

.site-faq h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 680;
}

.site-faq p {
  margin: 0.45rem 0 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.site-page :focus-visible,
.site-frame :focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 3px;
}

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

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

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .site-header-actions {
    display: flex;
  }

  .site-mobile-controls,
  .site-mobile-nav {
    display: none !important;
  }

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

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

  .site-footer-grid {
    grid-template-columns: 1.25fr 0.8fr 1fr 1.1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-button,
  .site-card,
  .site-stat,
  .site-nav a,
  .site-mobile-nav a {
    transition: none;
  }

  .site-button:hover,
  .site-card:hover,
  .site-stat:hover,
  .site-card:focus-within {
    transform: none;
  }
}
