/* WEBSOLVERZ — Stable responsive layout matching design.png */

:root {
  --green: #a3e635;
  --green-hover: #b8f048;
  --bg: #000000;
  --bg-card: #111111;
  --bg-card-2: #0e0e0e;
  --border: #1f1f1f;
  --border-light: #2a2a2a;
  --text: #ffffff;
  --text-muted: #999999;
  --text-dim: #666666;
  --text-nav: #888888;
  --container: 1200px;
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --font: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --brand: #A3FF12;
  --brand-hover: #91E20E;
  --card: #13151A;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* Accessibility utilities (SEO / a11y — no visual change to layout) */
.sr-only {
  position: absolute !important;
  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;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--green);
  color: #0B0C0E;
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-green { color: var(--green); }

.arrow {
  display: inline-block;
  margin-left: 2px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
  align-items: center;
}

.section-header .section-title {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #000000;
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: #3a3a3a;
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  transition: var(--transition);
}

.link-arrow:hover { gap: 12px; }

.logo__img {
  height: 35px;
  width: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.header__inner .logo { justify-self: start; }
.header__inner .nav { justify-self: center; }
.header__inner .header__cta { justify-self: end; }

/* Mobile-only CTA inside the dropdown (hidden on desktop) */
.nav__cta { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-nav);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav__link:hover,
.nav__link--active { color: var(--text); }

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Hero */
.hero {
  padding: 48px 0 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
  min-width: 0;
}

.hero__devices {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}

.stats__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}

.stats__item:last-child { border-right: none; }

.stats__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.stats__icon svg {
  width: 28px;
  height: 28px;
}

.stats__text {
  display: flex;
  flex-direction: column;
}

.stats__number {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.stats__label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
}

/* Trusted — logo slider */
.trusted {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-slider {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-slider__track {
  display: flex;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}

.logo-slider:hover .logo-slider__track {
  animation-play-state: paused;
}

.logo-slider__group {
  flex-shrink: 0;
  padding: 0 32px;
}

.logo-slider__img {
  height: 42px;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(100%) brightness(1.2);
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Services */
.services {
  padding: 80px 0;
}

.services__inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 48px;
  align-items: start;
}

.services__header {
  position: sticky;
  top: 96px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}

.service-card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* Projects */
.projects {
  padding: 80px 0;
}

.projects__inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 48px;
  align-items: start;
}

.projects__header {
  position: sticky;
  top: 96px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  display: block;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: top center;
}

/* Show full image without cropping (home page only) */
.projects__grid--square .project-card__image {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.project-card__body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-card__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.project-card__desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.project-card__arrow {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: 50%;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.project-card:hover .project-card__arrow {
  transform: scale(1.06);
}

/* Why us */
.why-us {
  padding: 80px 0;
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-us__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--green);
  box-shadow:
    0 0 16px rgba(163, 230, 53, 0.45),
    0 0 32px rgba(163, 230, 53, 0.2),
    -6px 6px 24px rgba(163, 230, 53, 0.35);
}

.why-us__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

.checklist__icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonials__header {
  margin-bottom: 40px;
}

.testimonials__slider {
  container-type: inline-size;
  overflow: hidden;
  width: 100%;
}

.testimonials__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 calc((100cqw - 32px) / 3);
  width: calc((100cqw - 32px) / 3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.testimonial-card__quote {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-card__text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-card__author span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
  transition: var(--transition);
}

.dot--active {
  background: var(--green);
  width: 22px;
  border-radius: 4px;
}

/* Process */
.process {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process__glow {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 288px;
  height: 288px;
  background: rgba(163, 255, 18, 0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.process__hint {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 12px auto 0;
}

.process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.process__rail { display: none; }

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0;
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.process__circle {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.process__step:hover .process__circle {
  border-color: rgba(163, 255, 18, 0.6);
  color: var(--text);
}

.process__step.is-active .process__circle {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(163, 255, 18, 0.3);
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--transition);
}

.process__step.is-active .process__step-title,
.process__step:hover .process__step-title {
  color: var(--brand);
}

.process__step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 200px;
}

.process__panel {
  max-width: 48rem;
  margin: 0 auto;
  padding: 24px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.process__panel-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(34, 37, 44, 0.4);
}

.process__panel-phase {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 800;
  color: rgba(163, 255, 18, 0.3);
  display: block;
}

.process__panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.process__panel-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 4px 12px;
  background: rgba(163, 255, 18, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: 6px;
}

.process__panel-intro {
  font-size: 14px;
  margin-bottom: 16px;
}

.process__panel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
}

.process__panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(34, 37, 44, 0.4);
  border-radius: var(--radius-xl);
  font-size: 12px;
  color: var(--text-muted);
  transition: border-color var(--transition);
}

.process__panel-list li:hover {
  border-color: rgba(163, 255, 18, 0.2);
}

.process__panel-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(163, 255, 18, 0.1);
  border: 1px solid rgba(163, 255, 18, 0.2);
  border-radius: 50%;
  color: var(--brand);
  font-size: 10px;
}

/* Tech stack */
.tech-stack {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-stack__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.tech-stack__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.tech-stack__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.92;
}

.tech-stack__icon--svg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.tech-stack__icon--svg svg {
  width: 44px;
  height: 44px;
}

.tech-stack__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* Team */
.team {
  padding: 80px 0;
}

.team__inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 48px;
  align-items: start;
}

.team__header {
  position: sticky;
  top: 96px;
}

.team__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.team-member__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* CTA */
.cta-banner {
  padding: 64px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  flex-wrap: wrap;
}

.cta-banner__logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.cta-banner__text {
  flex: 1;
  min-width: 220px;
}

.cta-banner__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.cta-banner__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact */
.contact {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.contact__glow {
  position: absolute;
  top: 10%;
  left: -120px;
  width: 360px;
  height: 360px;
  background: rgba(163, 230, 53, 0.07);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 8px 0 28px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--green);
  transition: border-color var(--transition), transform 0.3s var(--ease-out, ease);
}

.contact__detail-icon svg { width: 18px; height: 18px; }

.contact__details li:hover .contact__detail-icon {
  border-color: rgba(163, 230, 53, 0.4);
  transform: translateY(-2px);
}

.contact__details a { transition: color var(--transition); }
.contact__details a:hover { color: var(--green); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.form-field__optional {
  color: var(--text-dim);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-field select option { color: #fff; background: #111; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.15);
}

.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid {
  border-color: #e5533c;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-form__status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.contact-form__status.is-success { color: var(--green); }
.contact-form__status.is-error { color: #e5533c; }

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer__copy {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer__links a:hover { color: var(--green); }

.footer__social {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  transition: var(--transition);
}

.footer__social a:hover { background: var(--green); }

.footer__contact {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--green);
}

.footer__contact svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Large screens — 4 service cards in one row like the design */
@media (min-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 640px) {
  .process__panel-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .process__panel-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process__timeline {
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
  }

  .process__rail {
    display: block;
    position: absolute;
    top: 22px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }

  .process__step {
    align-items: flex-start;
    text-align: left;
  }

  .process__step-desc {
    margin: 0;
  }
}

@media (max-width: 1100px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s var(--ease-out, ease),
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__list li { width: 100%; }

  .nav__link {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
  }

  /* Underline affordance is replaced by a left accent bar on mobile */
  .nav__link::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.3s var(--ease-out, ease);
  }

  .nav__link:hover::after,
  .nav__link--active::after {
    transform: scaleY(1);
  }

  .nav__cta {
    display: flex;
    width: calc(100% - 48px);
    margin: 18px 24px 4px;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

  .nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }

  .nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions { justify-content: center; }

  .hero__visual {
    order: -1;
    justify-content: center;
  }

  .hero__devices {
    margin: 0 auto;
    max-width: min(100%, 520px);
    object-position: center center;
  }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .stats__item:nth-child(2) { border-right: none; }
  .stats__item { border-bottom: 1px solid var(--border); }
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) { border-bottom: none; }

  .services__inner,
  .projects__inner,
  .why-us__inner,
  .team__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services__header,
  .projects__header,
  .team__header { position: static; }

  .checklist { grid-template-columns: 1fr; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials__slider {
    max-width: 100%;
  }

  .testimonials__track {
    gap: 0;
  }

  .testimonial-card {
    flex: 0 0 100cqw;
    width: 100cqw;
  }

  .tech-stack__row {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 28px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tech-stack__row::-webkit-scrollbar {
    display: none;
  }

  .tech-stack__item {
    flex: 0 0 auto;
    min-width: 72px;
  }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section-header { margin-bottom: 40px; }

  .cta-banner__inner { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .logo-slider__img {
    height: 32px;
  }

  .logo-slider__group {
    padding: 0 20px;
  }

  .hero { padding-top: 32px; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn { justify-content: center; }

  .cta-banner__actions { width: 100%; flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }

  .stats { grid-template-columns: 1fr; }

  .stats__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stats__item:last-child { border-bottom: none; }

  .services,
  .projects,
  .why-us,
  .testimonials,
  .process,
  .team,
  .contact { padding: 56px 0; }

  .services__grid,
  .projects__grid { grid-template-columns: 1fr; }

  .team__grid { grid-template-columns: 1fr 1fr; }

  .contact-form { padding: 24px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__submit { align-self: stretch; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .nav__link { padding: 15px 16px; }
  .nav__cta { width: calc(100% - 32px); margin: 16px 16px 4px; }

  .services,
  .projects,
  .why-us,
  .testimonials,
  .process,
  .team,
  .contact { padding: 48px 0; }

  .service-card { padding: 22px 18px; }

  .contact-form { padding: 20px; }

  .cta-banner__inner { padding: 24px 18px; }

  .footer { padding: 48px 0 28px; }
}

@media (max-width: 400px) {
  .team__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PREMIUM ENHANCEMENTS — animations & micro-interactions
   Purely additive. Layout, structure & content unchanged.
   ========================================================= */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --glow-strong: rgba(163, 230, 53, 0.45);
  --glow-soft: rgba(163, 230, 53, 0.16);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 96px; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- Scroll reveal (fade-up) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

html.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Scroll reveal (staggered groups) ---------- */
html.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

html.js [data-reveal-group].in-view > * {
  opacity: 1;
  transform: none;
}

html.js [data-reveal-group].in-view > *:nth-child(1) { transition-delay: 0.04s; }
html.js [data-reveal-group].in-view > *:nth-child(2) { transition-delay: 0.10s; }
html.js [data-reveal-group].in-view > *:nth-child(3) { transition-delay: 0.16s; }
html.js [data-reveal-group].in-view > *:nth-child(4) { transition-delay: 0.22s; }
html.js [data-reveal-group].in-view > *:nth-child(5) { transition-delay: 0.28s; }
html.js [data-reveal-group].in-view > *:nth-child(6) { transition-delay: 0.34s; }
html.js [data-reveal-group].in-view > *:nth-child(7) { transition-delay: 0.40s; }
html.js [data-reveal-group].in-view > *:nth-child(8) { transition-delay: 0.46s; }

/* ---------- Header: glassmorphism on scroll ---------- */
.header {
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.header.is-scrolled {
  background: rgba(8, 8, 8, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: rgba(163, 230, 53, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

/* ---------- Navigation: animated underline ---------- */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
  border-radius: 2px;
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* ---------- Buttons: lift + glow ---------- */
.btn {
  transition:
    transform 0.3s var(--ease-out),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.35s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary:hover {
  box-shadow:
    0 0 26px rgba(163, 230, 53, 0.4),
    0 8px 22px rgba(163, 230, 53, 0.22);
}

.btn--outline:hover {
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.14);
}

.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow { transform: translateX(4px); }

/* Soft neon pulse on the key conversion CTAs only */
@media (prefers-reduced-motion: no-preference) {
  .hero__actions .btn--primary,
  .cta-banner__actions .btn--primary {
    animation: cta-pulse 3s var(--ease-soft) infinite;
  }
  .hero__actions .btn--primary:hover,
  .cta-banner__actions .btn--primary:hover {
    animation-play-state: paused;
  }
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(163, 230, 53, 0),
      0 6px 18px rgba(163, 230, 53, 0.12);
  }
  50% {
    box-shadow:
      0 0 22px 2px rgba(163, 230, 53, 0.32),
      0 8px 22px rgba(163, 230, 53, 0.2);
  }
}

/* ---------- Hero: animated gradient backdrop ---------- */
.hero { position: relative; }

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  width: 1100px;
  max-width: 120%;
  height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(163, 230, 53, 0.16), rgba(163, 230, 53, 0) 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: hero-drift 16s var(--ease-soft) infinite; }
}

@keyframes hero-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateX(-46%) translateY(22px) scale(1.06); opacity: 1; }
}

.hero > .container { position: relative; z-index: 1; }

/* ---------- Hero: gentle float on device mockups ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__devices { animation: float-soft 6.5s var(--ease-soft) infinite; }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Hero: mouse parallax wrapper ---------- */
/* Uses the independent `translate` property so it never collides
   with the float animation (transform) on the inner mockups. */
.hero__visual {
  translate: var(--parallax-x, 0) var(--parallax-y, 0);
  transition: translate 0.45s var(--ease-out);
  will-change: translate;
}

/* ---------- Stats: stable counter width + icon polish ---------- */
.stats__number { font-variant-numeric: tabular-nums; }

.stats__item { transition: background 0.35s ease; }
.stats__icon { transition: color 0.3s ease, transform 0.3s var(--ease-out); }
.stats__item:hover .stats__icon { color: var(--green); transform: translateY(-2px); }

/* ---------- Service cards: lift + border glow + soft shadow ---------- */
.service-card {
  position: relative;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out),
    background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(163, 230, 53, 0.4);
  background: var(--bg-card-2);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px rgba(163, 230, 53, 0.12),
    0 14px 36px rgba(163, 230, 53, 0.08);
}

.service-card__icon { transition: transform 0.35s var(--ease-out), filter 0.35s ease; }
.service-card:hover .service-card__icon {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.45));
}

.service-card__link .arrow { transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-card__link .arrow { transform: translateX(4px); }

/* ---------- Project cards: lift, glow, image zoom, detail reveal ---------- */
.project-card {
  position: relative;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px rgba(163, 230, 53, 0.12),
    0 14px 36px rgba(163, 230, 53, 0.08);
}

.project-card__image {
  transition: transform 0.6s var(--ease-out), filter 0.5s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.05);
}

.project-card__title { transition: color 0.3s ease; }
.project-card:hover .project-card__title { color: var(--green); }

.project-card__arrow {
  transform: translateY(6px);
  opacity: 0.85;
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover .project-card__arrow {
  transform: translateY(0) scale(1.08);
  opacity: 1;
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.5);
}

/* Reveal the project description as a refined detail on hover */
.project-card__desc {
  max-height: 1.2em;
  opacity: 0.75;
  transition: max-height 0.45s var(--ease-out), opacity 0.4s ease, color 0.3s ease;
}

.project-card:hover .project-card__desc {
  max-height: 3em;
  opacity: 1;
  color: var(--text);
}

/* ---------- Testimonials: smooth transitions + hover ---------- */
.testimonials__track {
  transition: transform 0.55s var(--ease-out);
}

.testimonial-card {
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 230, 53, 0.32);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px rgba(163, 230, 53, 0.1);
}

/* ---------- Team cards: subtle lift ---------- */
.team-member { transition: transform 0.4s var(--ease-out); }
.team-member__photo {
  transition: border-color 0.35s ease, box-shadow 0.4s var(--ease-out);
}
.team-member:hover { transform: translateY(-5px); }
.team-member:hover .team-member__photo {
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(163, 230, 53, 0.12);
}

/* ---------- Glassmorphism accents ---------- */
.process__panel {
  background: rgba(19, 21, 26, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.cta-banner__inner {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.35s ease, box-shadow 0.4s var(--ease-out);
}

.cta-banner__inner:hover {
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 0 40px rgba(163, 230, 53, 0.1);
}

.cta-banner__logo img { transition: transform 0.5s var(--ease-out); }
.cta-banner__inner:hover .cta-banner__logo img { transform: scale(1.05) rotate(-2deg); }

/* ---------- Process step micro-interaction ---------- */
.process__step .process__circle { transition: transform 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.process__step:hover .process__circle { transform: translateY(-3px); }

/* ---------- Footer link micro-interaction ---------- */
.footer__social a { transition: transform 0.3s var(--ease-out), background 0.25s ease; }
.footer__social a:hover { transform: translateY(-3px); }

/* ---------- Tech stack icon hover ---------- */
.tech-stack__item { transition: transform 0.35s var(--ease-out); }
.tech-stack__item:hover { transform: translateY(-4px); }
.tech-stack__icon { transition: opacity 0.3s ease, filter 0.35s ease; }
.tech-stack__item:hover .tech-stack__icon { opacity: 1; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4)); }

/* ---------- Reduced motion: disable all motion, keep content visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero::before,
  .hero__devices,
  .hero__actions .btn--primary,
  .cta-banner__actions .btn--primary,
  .logo-slider__track {
    animation: none !important;
  }

  .hero__visual {
    transform: none !important;
    translate: none !important;
    transition: none !important;
  }

  * { scroll-behavior: auto !important; }
}

/* =========================================================
   Inner / sub-page components (reuse theme variables)
   ========================================================= */

/* Breadcrumbs */
.breadcrumbs {
  font-size: 12px;
  color: var(--text-dim);
  padding: 22px 0 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--text-muted); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs li[aria-current="page"] { color: var(--text); }
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--text-dim);
}

/* Sub-page hero */
.subhero { padding: 48px 0 56px; position: relative; }
.subhero__inner { max-width: 760px; }
.subhero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}
.subhero__title .text-green { color: var(--green); }
.lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}
.subhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Generic sub-page section spacing */
.subsection { padding: 64px 0; }
.subsection--alt { background: var(--bg-card-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.subsection__head { max-width: 680px; margin-bottom: 40px; }
.subsection__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Feature / value grid (built on the existing card look) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.feature-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(163, 230, 53, 0.1);
  color: var(--green);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Prose blocks (about, blog, long-form) */
.prose { max-width: 760px; }
.prose p { color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; font-size: 15px; }
.prose h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); margin: 36px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose ul { margin: 0 0 20px; display: grid; gap: 10px; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}
.prose ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Numbered steps */
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li {
  position: relative;
  padding: 18px 20px 18px 66px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
}
.steps li strong { display: block; margin-bottom: 4px; font-size: 15px; }
.steps li span { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* FAQ (native details/summary — no JS required) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 20px;
  transition: var(--transition);
}
.faq details[open] { border-color: var(--border-light); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.faq__answer { padding: 0 0 18px; color: var(--text-muted); line-height: 1.75; font-size: 14px; }

/* CTA strip */
.cta-strip {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 56px 32px;
  max-width: 920px;
  margin: 0 auto;
}
.cta-strip h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-strip p { color: var(--text-muted); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Blog post cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: var(--transition);
}
.post-card:hover { border-color: var(--border-light); transform: translateY(-4px); }
.post-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.post-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; }
.post-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.post-card .service-card__link { margin-top: auto; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.chip:hover { border-color: var(--green); color: var(--text); }

/* Two-column info layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .subsection { padding: 48px 0; }
}

/* Single service (CPT) */
.single-service__media {
  margin: 0 0 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.single-service__image { display: block; width: 100%; height: auto; }
.service-card__thumb { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
