/*
Theme Name: Yagyax Technologies
Theme URI: https://www.yagyax.com/
Author: GitHub Copilot
Description: A custom WordPress theme based on the Yagyax Technologies HTML website.
Version: 1.0.0
Text Domain: yagyax
*/

:root {
  --bg: #f6f8fd;
  --bg-2: #eef3fb;
  --card: rgba(255, 255, 255, 0.9);
  --text: #14213d;
  --muted: #5f6f93;
  --white: #ffffff;
  --border: rgba(93, 118, 191, 0.16);
  --accent: #3e7cff;
  --accent-2: #ec4dff;
  --grad: linear-gradient(135deg, #ed4cff 0%, #6b4dff 42%, #1d7fff 100%);
  --grad-dark: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 246, 255, 0.98) 100%);
  --radius: 20px;
  --shadow: 0 18px 44px rgba(32, 54, 110, 0.08);
  --glow: 0 18px 42px rgba(72, 98, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(237, 76, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(29, 127, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(92, 76, 255, 0.06), transparent 24%),
    var(--bg);
}

.home .site-shell {
  background: var(--bg);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-main {
  display: block;
}

.badge,
.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(93, 118, 191, 0.16);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(32, 54, 110, 0.06);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
}

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

.section-head-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin: 16px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--text);
}

.section-title span,
.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  margin: 16px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(71, 97, 255, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  border-color: rgba(93, 118, 191, 0.22);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(93, 118, 191, 0.4);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.nav.scrolled {
  background: rgba(246, 248, 253, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px rgba(32, 54, 110, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(120, 144, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.logo-image {
  width: 174px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  flex: none;
}

.footer-logo-image {
  width: 186px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.mobile-menu a {
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 99px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 16px 24px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-cta {
  margin-top: 12px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(88, 114, 255, 0.08) 0%, transparent 72%);
}

.home .hero-bg {
  background: var(--bg);
}

.hero-grid,
.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(237, 76, 255, 0.16);
  top: -100px;
  left: -150px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(29, 127, 255, 0.12);
  right: -100px;
  bottom: -80px;
}

.home .blob {
  display: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero-title {
  margin: 0 0 24px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-desc {
  max-width: 620px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust-item {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(120, 144, 255, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
}

.stat-item {
  padding: 18px 20px;
  border: 1px solid rgba(120, 144, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(32, 54, 110, 0.06);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.stat-num span,
.ams-val span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label,
.f-label,
.about-tagline,
.ams-lab {
  color: var(--muted);
}

.stat-label {
  margin-top: 4px;
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}

.hero-brand-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(120, 144, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 255, 0.98) 100%);
  box-shadow: var(--shadow);
}

.hero-brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(237, 76, 255, 0.18), transparent 34%), radial-gradient(circle at bottom left, rgba(29, 127, 255, 0.18), transparent 34%);
  pointer-events: none;
}

.hero-panel-top,
.hero-brand-copy,
.hero-signal-grid {
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.hero-brand-logo-shell {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-brand-logo {
  width: 230px;
  max-width: 100%;
}

.hero-panel-badge {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 144, 255, 0.16);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-title {
  margin-bottom: 12px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-visual-sub {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-signal-card {
  min-height: 118px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(120, 144, 255, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.hero-signal-card.wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.signal-label {
  display: block;
  margin-bottom: 10px;
  color: #91a7e8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-signal-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.f-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: float 4s ease-in-out infinite;
}

.f-card:nth-child(2) {
  animation-delay: 1.3s;
}

.f-card:nth-child(3) {
  animation-delay: 2.6s;
}

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

.f-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.4rem;
  flex: none;
}

.f-icon.web {
  background: rgba(91, 33, 182, 0.25);
}

.f-icon.bot {
  background: rgba(6, 182, 212, 0.2);
}

.f-icon.mob {
  background: rgba(245, 158, 11, 0.2);
}

.f-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.marquee-wrap {
  overflow: hidden;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.services,
.why,
.testimonials,
.about {
  padding: 100px 0;
}

.industries,
.process,
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(240, 244, 252, 0.92) 0%, rgba(249, 251, 255, 0.98) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card,
.industry-card,
.testi-card,
.contact-form,
.about-main-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.service-card,
.industry-card,
.testi-card {
  position: relative;
  overflow: hidden;
}

.service-card {
  padding: 36px 32px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 144, 255, 0.35);
  box-shadow: var(--glow);
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.8rem;
}

.service-name,
.industry-name,
.feature-title,
.step-title,
.testi-name,
.cta-title,
.about-company-name,
.form-title,
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
}

.service-name {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.service-desc,
.industry-desc,
.feature-desc,
.step-desc,
.testi-text,
.about-text,
.footer-desc,
.cta-sub,
.page-meta,
.policy-section p,
.policy-section li {
  color: var(--muted);
}

.service-desc {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.industry-card {
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 118, 255, 0.42);
  box-shadow: 0 18px 34px rgba(34, 66, 180, 0.22);
}

.industry-icon {
  margin-bottom: 14px;
  font-size: 2.2rem;
}

.industry-name {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.industry-desc {
  font-size: 0.8rem;
  line-height: 1.5;
}

.why-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.why-grid,
.about-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-grid {
  grid-template-columns: 1fr 1.4fr;
}

.why-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-big-circle {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at center, rgba(93, 118, 191, 0.06), transparent 62%);
}

.why-big-circle::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(93, 118, 191, 0.24);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.why-center {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-size: 2.8rem;
  box-shadow: var(--glow);
}

.orbit-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.od1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.od2 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.od3 {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.od4 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.why-features,
.about-values,
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item,
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon,
.ci-icon,
.value-check {
  display: grid;
  place-items: center;
  flex: none;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(93, 118, 191, 0.16);
  font-size: 1.2rem;
}

.feature-title {
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text);
}

.feature-desc {
  font-size: 0.88rem;
  line-height: 1.6;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.step-card {
  position: relative;
  text-align: center;
}

.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0a0a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.step-title {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.step-desc {
  font-size: 0.87rem;
  line-height: 1.6;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  padding: 32px;
}

.testi-stars {
  margin-bottom: 16px;
  color: var(--accent-2);
  letter-spacing: 2px;
}

.testi-text {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
}

.testi-name {
  margin-bottom: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.cta-banner {
  padding: 80px 0;
  background: transparent;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 56px;
  border-radius: 24px;
  border: 1px solid rgba(120, 144, 255, 0.18);
  background: var(--grad-dark);
  box-shadow: var(--shadow);
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(237, 76, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text,
.cta-actions {
  position: relative;
}

.cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--text);
}

.cta-sub {
  margin: 0;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

.about-img-wrap {
  position: relative;
}

.about-main-card {
  padding: 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 247, 255, 0.98) 100%);
}

.about-logo-big {
  width: min(100%, 320px);
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-logo-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.about-tagline {
  margin-top: 6px;
  font-size: 0.9rem;
}

.about-mini-stats {
  display: flex;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.about-mini-stat {
  flex: 1;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}

.about-mini-stat:last-child {
  border-right: 0;
}

.ams-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.ams-lab {
  margin-top: 2px;
  font-size: 0.76rem;
}

.about-float-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(32, 54, 110, 0.1);
}

.afb-1 {
  top: -20px;
  right: -20px;
}

.afb-2 {
  bottom: -20px;
  left: -20px;
}

.about-text {
  margin: 0 0 16px;
  line-height: 1.8;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.75rem;
}

.value-text {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-info a {
  color: var(--text);
}

.ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 1.2rem;
}

.ci-label {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ci-val {
  color: var(--text);
  font-weight: 600;
}

.contact-form {
  padding: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 255, 0.98) 100%);
}

.form-title {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(120, 144, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(82, 117, 255, 0.16);
}

.form-group select option {
  background: #ffffff;
}

.form-submit-btn {
  width: 100%;
  min-height: 52px;
  padding: 15px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #0a0a0a;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.form-status {
  min-height: 24px;
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: #86efac;
}

.form-status.is-error {
  color: #fca5a5;
}

.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.form-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

.footer {
  padding: 72px 0 32px;
  background: rgba(248, 250, 255, 0.96);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-desc {
  max-width: 300px;
  margin: 16px 0 24px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(93, 118, 191, 0.28);
  color: var(--text);
}

.footer-col h4 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-copy,
.footer-legal a {
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-copy span {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--text);
}

.back-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(64, 94, 255, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.home .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.home .why-big-circle::before {
  animation: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 72px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.wa-badge {
  margin-bottom: 24px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.page-title {
  margin: 0 0 16px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
}

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

.page-meta {
  margin: 0;
  font-size: 0.9rem;
}

.policy-body {
  padding: 0 0 100px;
}

.case-studies-preview {
  padding: 24px 0 12px;
}

.blog-preview {
  padding: 64px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  min-width: 0;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--grad-dark);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(32, 54, 110, 0.12);
  border-color: rgba(93, 118, 191, 0.32);
}

.blog-card-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62, 124, 255, 0.14), rgba(236, 77, 255, 0.14));
}

.blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

.blog-card-date {
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-card-title {
  margin: 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  line-height: 1.2;
}

.blog-card-excerpt {
  margin: 0;
  color: var(--muted);
}

.blog-card-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
}

.blog-single {
  padding: 140px 0 80px;
}

.blog-single-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--grad-dark);
  box-shadow: var(--shadow);
}

.blog-single-date {
  color: var(--muted);
}

.blog-single-title {
  margin: 12px 0 24px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
}

.blog-single-thumb {
  width: 100%;
  max-height: 480px;
  margin-bottom: 28px;
  border-radius: 12px;
  object-fit: cover;
}

.blog-single-content {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.blog-single-content > :first-child {
  margin-top: 0;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.blog-single-content a {
  color: var(--accent);
  text-decoration: underline;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-study-card {
  min-width: 0;
}

.case-study-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--grad-dark);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(32, 54, 110, 0.12);
  border-color: rgba(93, 118, 191, 0.32);
}

.case-study-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62, 124, 255, 0.14), rgba(236, 77, 255, 0.14));
}

.case-study-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
}

.case-study-card-meta,
.case-study-hero-meta,
.case-study-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study-card-meta span,
.case-study-hero-meta span,
.case-study-detail-list span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(93, 118, 191, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.case-study-card-title,
.case-study-single-title,
.case-study-section-title,
.case-study-sidebar-title,
.case-study-empty-title {
  margin: 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.case-study-card-title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.case-study-card-excerpt,
.case-study-single-excerpt,
.case-study-section-copy,
.case-study-body,
.case-study-empty-copy {
  margin: 0;
  color: var(--muted);
}

.case-study-card-result,
.case-study-metric {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.case-study-card-result strong,
.case-study-metric-value {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
}

.case-study-card-result span,
.case-study-metric-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.case-study-card-cta {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.case-study-preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.case-study-archive,
.case-study-single {
  padding-top: 120px;
}

.case-study-archive .page-hero,
.case-study-single .page-hero {
  padding-bottom: 48px;
}

.case-study-hero-meta {
  justify-content: center;
  margin-top: 20px;
}

.case-study-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 40px;
}

.case-study-single-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 100px;
}

.case-study-main,
.case-study-sidebar,
.case-study-empty,
.case-study-feature-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.case-study-main,
.case-study-sidebar,
.case-study-empty {
  padding: 32px;
}

.case-study-body {
  font-size: 1rem;
  line-height: 1.8;
}

.case-study-body > :first-child {
  margin-top: 0;
}

.case-study-body h2,
.case-study-body h3,
.case-study-body h4 {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.case-study-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-study-content-stack,
.case-study-sidebar-stack,
.case-study-metrics {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-study-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-study-section-title,
.case-study-sidebar-title,
.case-study-empty-title {
  font-size: 1.35rem;
}

.case-study-feature-media {
  overflow: hidden;
}

.case-study-feature-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-study-metric {
  padding: 20px 22px;
  border: 1px solid rgba(93, 118, 191, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.case-study-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.case-study-results-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ed4cff, #1d7fff);
  flex: none;
}

.case-study-quote {
  margin: 0;
  padding: 24px;
  border-radius: 18px;
  background: rgba(62, 124, 255, 0.08);
  color: var(--text);
}

.case-study-quote p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.8;
}

.case-study-quote cite {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.case-study-sidebar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-study-sidebar-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-sidebar-value,
.case-study-sidebar-value a {
  color: var(--text);
  font-weight: 600;
}

.case-study-sidebar-value a:hover {
  color: var(--accent);
}

.case-study-pagination {
  display: flex;
  justify-content: center;
  padding: 8px 0 100px;
}

.case-study-pagination .nav-links,
.case-study-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-study-pagination .page-numbers a,
.case-study-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 600;
}

.case-study-pagination .page-numbers.current {
  background: var(--grad);
  border-color: transparent;
  color: var(--white);
}

.case-study-empty {
  text-align: center;
}

.case-study-empty-copy {
  margin: 16px auto 24px;
  max-width: 560px;
}

.toc-card {
  margin-bottom: 56px;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.toc-card h2 {
  margin: 0 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  flex: none;
}

.toc-list a {
  color: var(--muted);
  font-size: 0.92rem;
}

.toc-list a:hover {
  color: var(--text);
}

.policy-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366;
  font-size: 0.78rem;
  font-weight: 700;
  flex: none;
}

.policy-section p,
.policy-section li {
  font-size: 0.97rem;
  line-height: 1.8;
}

.policy-section p {
  margin: 0 0 14px;
}

.policy-section ul,
.policy-section ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.policy-section ul li,
.policy-section ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.policy-section ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: #25d366;
  flex: none;
}

.policy-section ol {
  counter-reset: policy-counter;
}

.policy-section ol li {
  counter-increment: policy-counter;
}

.policy-section ol li::before {
  content: counter(policy-counter) '.';
  min-width: 20px;
  color: #25d366;
  font-size: 0.85rem;
  font-weight: 700;
}

.policy-section a {
  color: #25d366;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-section a:hover {
  opacity: 0.82;
}

.highlight-box {
  margin: 18px 0;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  background: rgba(37, 211, 102, 0.06);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.info-item {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.info-item .label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-item .value {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.generic-page {
  padding-top: 120px;
}

@media (max-width: 1024px) {
  .hero-shell,
  .why-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .case-study-grid,
  .case-study-archive-grid,
  .case-study-single-wrap {
    grid-template-columns: 1fr;
  }

  .why-visual {
    display: none;
  }

  .hero-content {
    max-width: none;
  }

  .hero-visual {
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .logo-image {
    width: 148px;
  }

  .footer-logo-image {
    width: 172px;
  }

  .logo {
    padding: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 136px 0 72px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero-brand-panel {
    padding: 22px;
  }

  .hero-signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-signal-card.wide {
    grid-column: auto;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }

  .cta-actions {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-legal {
    gap: 16px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .services,
  .industries,
  .why,
  .process,
  .testimonials,
  .about,
  .contact,
  .cta-banner,
  .footer {
    padding-top: 72px;
  }

  .page-hero {
    padding: 120px 0 56px;
  }

  .case-study-card-body,
  .blog-single-article,
  .case-study-main,
  .case-study-sidebar,
  .case-study-empty {
    padding: 24px;
  }

  .toc-card {
    padding: 22px 20px;
  }

  .policy-section h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 132px;
  }

  .footer-logo-image {
    width: 156px;
  }

  .hero-brand-logo {
    width: 190px;
  }

  .about-logo-big {
    width: min(100%, 250px);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    padding: 10px 14px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-stats,
  .footer-socials {
    gap: 16px;
  }

  .about-mini-stats {
    flex-direction: column;
  }

  .about-mini-stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .about-mini-stat:last-child {
    border-bottom: 0;
  }
}
