*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --primary-deep: #0284c7;
  --secondary: #0f172a;
  --accent: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f0f9ff;
  --text: var(--secondary);
  --muted: #64748b;
  --line: rgba(14, 165, 233, 0.2);
  --accent-ring: rgba(14, 165, 233, 0.28);
  --surface-tint: #e0f2fe;
  --btn-shadow: 0 4px 18px rgba(14, 165, 233, 0.38);
  --btn-shadow-hover: 0 6px 24px rgba(14, 165, 233, 0.48);
  --header-height: 74px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --elev-sm: 0 2px 10px rgba(14, 165, 233, 0.08);
  --elev: 0 8px 26px rgba(14, 165, 233, 0.12);
  --elev-lg: 0 14px 40px rgba(14, 165, 233, 0.14);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .btn-primary:hover,
  .btn-secondary-light:hover,
  .card:hover,
  .step:hover,
  .premium-card:hover,
  .blog-card:hover,
  .portfolio-card:hover,
  .tech-card:hover,
  .testimonial-card:hover,
  .metric:hover,
  .value-card:hover,
  .security-card:hover {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14, 165, 233, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sub-header {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-tint) 100%);
  border-bottom: 1px solid var(--line);
}

.sub-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.sub-header-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.sub-header-text span {
  color: var(--secondary);
  font-weight: 600;
}

.sub-header-cta {
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--primary-hover);
  box-shadow: inset 0 -2px 0 var(--primary-hover);
}

.site-nav a[aria-current="page"] {
  color: var(--primary-deep);
  box-shadow: inset 0 -2px 0 var(--primary);
}

.site-nav a.btn,
.site-nav a.btn:hover,
.site-nav a.btn:focus-visible {
  color: #ffffff;
}

.site-nav a.btn[aria-current="page"] {
  color: #ffffff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.55);
}

.site-nav .nav-lang {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: #ffffff;
  background: linear-gradient(165deg, #38bdf8 0%, var(--primary) 38%, var(--primary-hover) 72%, var(--primary-deep) 100%);
  box-shadow: var(--btn-shadow);
}

.site-nav .nav-lang:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: var(--btn-shadow-hover);
}

.nav-toggle {
  display: none;
}

.nav-toggle-icon {
  display: block;
}

.btn,
.btn-primary,
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(165deg, #38bdf8 0%, var(--primary) 38%, var(--primary-hover) 72%, var(--primary-deep) 100%);
  color: #ffffff;
  box-shadow: var(--btn-shadow);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  min-height: 44px;
  gap: 8px;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary-light:hover {
  filter: brightness(1.05);
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-1px);
}

.btn:active,
.btn-primary:active,
.btn-secondary-light:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring), var(--btn-shadow);
}
.btn-secondary-light {
  background: #ffffff;
  color: var(--primary-deep);
  border: 1px solid #bae6fd;
  box-shadow: var(--elev-sm);
}
.btn-secondary-light:hover {
  background: var(--bg-soft);
  border-color: #38bdf8;
  box-shadow: var(--elev);
}
.btn-secondary-light:active {
  filter: none;
  transform: translateY(0);
}
.site-nav a:focus-visible {
  outline: none;
  box-shadow: inset 0 -2px 0 var(--primary), 0 0 0 3px var(--accent-ring);
  border-radius: 6px;
}
.site-nav .btn.btn-small {
  border-color: transparent;
  padding-inline: 18px;
}

.site-nav .nav-lang {
  flex-shrink: 0;
}

.btn-small {
  padding: 10px 16px;
}

.hero {
  padding: 90px 0 60px;
}

.page-hero {
  padding: 72px 0 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, var(--surface-tint) 100%);
}

.page-hero p {
  margin: 16px 0 0;
  max-width: 68ch;
  color: var(--muted);
}

.page-hero a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero a:hover {
  color: var(--primary-hover);
}

.page-hero--contact {
  padding: 48px 0 22px;
}

.page-hero--contact p {
  margin-top: 12px;
  max-width: 60ch;
}

.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #c8d7fa;
  border-radius: var(--radius);
  padding: 22px;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: #7aa3ff;
  box-shadow: 0 10px 30px rgba(10, 73, 226, 0.12);
}

.blog-card time {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-hover);
}

.blog-card h2 {
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.blog-card p {
  margin: 0 0 14px;
  color: var(--muted);
  flex: 1;
  font-size: 0.98rem;
}

.blog-card .read-more {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-teaser-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-teaser-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.blog-teaser-list li:last-child {
  border-bottom: 0;
  padding-top: 18px;
}

.blog-teaser-list a {
  font-weight: 700;
  color: var(--text);
}

.blog-teaser-list a:hover {
  color: var(--primary);
}

.blog-teaser-list .link-more {
  color: var(--primary);
}

.article-wrap {
  max-width: 720px;
  margin-inline: auto;
}

.article-meta {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.article-prose h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin: 28px 0 12px;
}

.article-prose p {
  margin: 0 0 16px;
  color: var(--muted);
}

.article-prose ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-prose li {
  margin-bottom: 8px;
}

.back-to-blog {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  max-width: 15ch;
  font-weight: 900;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.9rem);
  margin-bottom: 26px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.hero-text {
  margin: 22px 0 26px;
  color: var(--muted);
  max-width: 54ch;
}

.hero-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-text a:hover {
  color: var(--primary-hover);
}

.hero-pricing-teaser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--primary-deep);
  font-size: 0.92rem;
}

.hero-pricing-teaser strong {
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.section-image {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #bae6fd;
  margin-bottom: 14px;
}

.hero-card-kicker {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0f2fe;
}

.hero-card li:last-child {
  border-bottom: 0;
}

.hero-card span {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 9vw, 85px) 0;
  border-top: 1px solid var(--line);
}

.section-lead {
  margin: -12px 0 28px;
  color: var(--muted);
  max-width: 62ch;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}

.section-muted {
  background: linear-gradient(180deg, var(--surface-tint) 0%, #f0f9ff 50%, #ffffff 100%);
}

.section-lead-on-dark {
  color: var(--muted);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06) 0%, #ffffff 18%, #ffffff 82%, rgba(14, 165, 233, 0.06) 100%);
}

.trust-inner {
  padding: 18px 0;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.trust-list li {
  position: relative;
  padding-left: 22px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.section-metrics {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.stat {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 26px rgba(14, 165, 233, 0.08);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-value {
  display: inline-block;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.95rem;
}

.metric {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 26px rgba(14, 165, 233, 0.12);
}

.metric-value {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
  margin-bottom: 10px;
  line-height: 1.2;
}

.metric-label {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.value-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.security-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover,
.security-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.12);
}

.value-card h3,
.security-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.value-card p,
.security-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tech-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tech-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover,
.testimonial-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 26px rgba(14, 165, 233, 0.12);
}

.tech-card h3,
.testimonial-card h3 {
  font-size: 1.06rem;
  margin-bottom: 10px;
}

.tech-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.tech-card li {
  margin-bottom: 7px;
}

.tech-card li:last-child {
  margin-bottom: 0;
}

.testimonial-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.testimonial-card h3 {
  margin: 0;
  color: var(--secondary);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-chip {
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  background: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.industry-chip:hover {
  background: var(--surface-tint);
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.18);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border-color: #38bdf8;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.14);
}

.pricing-label {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-hover);
  font-weight: 700;
}

.pricing-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  color: var(--primary-deep);
}

.pricing-copy {
  margin: 0 0 14px;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.pricing-card li {
  margin-bottom: 6px;
}

.pricing-card li:last-child {
  margin-bottom: 0;
}

.pricing-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pricing-note p {
  margin: 0;
  color: var(--muted);
}

.delivery-grid,
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.delivery-card,
.standard-item {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-card:hover,
.standard-item:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.12);
}

.delivery-card h3,
.standard-item h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.delivery-card p,
.standard-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.ops-banner {
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(56, 189, 248, 0.18) 0%, rgba(14, 165, 233, 0.12) 45%, rgba(2, 132, 199, 0.2) 100%);
  padding: clamp(24px, 4vw, 34px);
}

.ops-banner h2 {
  margin-bottom: 14px;
}

.ops-banner .section-lead-on-dark {
  margin: 0 0 18px;
  max-width: 62ch;
}

.ops-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.ops-points span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.24);
}

.premium-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.12);
}

.premium-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.premium-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 14px 40px rgba(14, 165, 233, 0.14);
}

.portfolio-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-hover);
  margin-bottom: 8px;
}

.portfolio-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.portfolio-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
  flex: 1;
}

.portfolio-actions {
  margin-top: auto;
}

.portfolio-btn {
  width: 100%;
  text-align: center;
  min-height: 48px;
  padding-left: 16px;
  padding-right: 16px;
}

.works-foot {
  margin: 28px 0 0;
  text-align: center;
}

.recent-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.link-inline-on-dark {
  color: var(--primary-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-inline-on-dark:hover {
  color: var(--primary-deep);
}

.about-bullets {
  margin: 18px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.about-bullets li {
  margin-bottom: 8px;
}

.about-bullets li:last-child {
  margin-bottom: 0;
}

.cards,
.work-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.work-item,
.step {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.work-item:hover,
.step:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.12);
}

.blog-card,
.premium-card,
.tech-card,
.testimonial-card,
.portfolio-card,
.metric,
.value-card,
.security-card,
.stat {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover,
.premium-card:hover,
.tech-card:hover,
.testimonial-card:hover,
.portfolio-card:hover,
.metric:hover,
.value-card:hover,
.security-card:hover,
.stat:hover {
  transform: translateY(-2px);
}

.card p,
.step p {
  color: var(--muted);
  margin: 10px 0 0;
}

.step > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 12px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  box-shadow: 0 2px 8px rgba(10, 73, 226, 0.35);
}

.section-dark {
  background: linear-gradient(165deg, var(--surface-tint) 0%, #ffffff 55%, #f0f9ff 100%);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.section-dark h2,
.section-dark h3,
.section-dark strong {
  color: var(--text);
}

.section-dark .eyebrow,
.section-dark .work-item span {
  color: var(--primary-hover);
}

.section-dark .work-item,
.section-dark .step,
.section-dark .card {
  background: #ffffff;
  border-color: #bae6fd;
}

.section-dark .contact-links a,
.section-dark .form-status,
.section-dark .card p,
.section-dark .step p {
  color: var(--muted);
}

.section-dark .portfolio-body h3 {
  color: var(--text);
}

.work-item span {
  display: block;
  color: var(--primary-hover);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.work-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid #bae6fd;
  margin-bottom: 12px;
}

.about p {
  color: var(--muted);
  max-width: 64ch;
  margin: 16px 0 0;
}

.about p a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about p a:hover {
  color: var(--primary-hover);
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.about-visual {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid #c8d7fa;
}

.legal-main {
  padding: 64px 0 82px;
}

.legal-shell {
  max-width: 860px;
}

.legal-content {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 34px);
}

.legal-content .eyebrow {
  margin-bottom: 10px;
}

.legal-content h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: 12px;
}

.legal-content h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin: 26px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a.btn,
.legal-content a.btn:hover {
  color: #ffffff;
  text-decoration: none;
}

.legal-actions {
  margin-top: 24px;
}

.contact-teaser {
  padding: clamp(40px, 6vw, 64px) 0;
}

.contact-teaser-inner {
  max-width: 42rem;
}

.contact-teaser .section-lead-on-dark {
  margin: 14px 0 22px;
}

.contact-page-highlight {
  padding: clamp(40px, 6vw, 64px) 0;
}

.contact-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.contact-page-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid #bae6fd;
}

.contact-detail-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.contact-detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0f2fe;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-detail-list li:last-child {
  border-bottom: 0;
}

.contact-detail-list strong {
  display: block;
  color: var(--secondary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-highlight-lead {
  margin-top: 12px;
}

.contact-form-intro {
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-section {
  padding: clamp(36px, 5vw, 56px) 0;
}

.contact-section .eyebrow {
  margin-bottom: 8px;
}

.contact-section h2 {
  margin-bottom: 10px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-form {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-form select {
  min-height: 40px;
}

.contact-form textarea {
  line-height: 1.45;
  resize: vertical;
  min-height: 6.5rem;
}

.contact-form .check-line {
  margin-top: 2px;
  font-size: 0.875rem;
}

.contact-form .btn {
  padding: 10px 20px;
  margin-top: 4px;
  justify-self: start;
}

.contact-form .form-status {
  font-size: 0.875rem;
  margin-top: 2px;
}

@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 8px;
  }

  .contact-form textarea,
  .contact-form .check-line,
  .contact-form .btn,
  .contact-form .form-status {
    grid-column: 1 / -1;
  }
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #7dd3fc;
}

.contact-form input:disabled,
.contact-form select:disabled,
.contact-form textarea:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.check-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--muted);
}

.check-line input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-status {
  color: var(--muted);
  margin: 0;
}

.hide {
  position: absolute;
  left: -9999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--secondary);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Soft section divider for long pages */
.section-divider {
  height: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0.0) 100%);
}

.section-divider--soft {
  height: 18px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0.0) 100%);
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #38bdf8 0%, var(--primary) 38%, var(--primary-hover) 72%, var(--primary-deep) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--btn-shadow);
  z-index: 140;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.floating-wa:focus-visible {
  outline: 3px solid var(--accent-ring);
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(16, 17, 20, 0.45);
  z-index: 90;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-backdrop.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-wrap {
    gap: 16px;
  }

  .contact-highlight-grid {
    grid-template-columns: 1fr;
  }

  .sub-header-inner {
    padding: 12px 0;
  }

  .contact-wrap,
  .cards,
  .work-grid,
  .steps,
  .about,
  .pricing-grid,
  .delivery-grid,
  .standards-grid,
  .premium-grid,
  .portfolio-grid,
  .tech-grid,
  .testimonial-grid,
  .metrics-grid,
  .value-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .floating-wa {
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner {
    gap: 12px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.93rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .container {
    width: min(1120px, 94%);
  }

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 10px;
    line-height: 0;
    background: linear-gradient(165deg, #38bdf8 0%, var(--primary) 38%, var(--primary-hover) 72%, var(--primary-deep) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--primary-deep);
    outline-offset: 2px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: #ffffff;
    border-bottom: 1px solid #dde1e9;
    padding: 18px 4%;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 110;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-nav .btn-small {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    padding: 72px 0 52px;
  }

  .hero-grid {
    gap: 24px;
    align-items: start;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid,
  .testimonial-grid,
  .portfolio-grid,
  .pricing-grid,
  .cards,
  .work-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: clamp(44px, 8vw, 62px) 0;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h2 {
    margin-bottom: 20px;
  }

  .sub-header-inner {
    align-items: flex-start;
  }

  .sub-header-text {
    width: 100%;
  }

  .sub-header-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary-light {
    width: 100%;
  }

  .hero-pricing-teaser {
    display: flex;
    width: 100%;
    border-radius: 14px;
  }

  .recent-cta .btn {
    width: 100%;
  }

  .footer-links {
    gap: 10px 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(1120px, 92%);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 10px;
    font-size: 1rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-card,
  .card,
  .work-item,
  .step,
  .premium-card,
  .tech-card,
  .testimonial-card,
  .portfolio-body,
  .value-card,
  .security-card,
  .metric,
  .faq-item {
    padding: 16px;
  }
}
