/**
 * REATS · עמוד הוספה לאתר — mobile-first · RTL
 */
.ats-page {
  --ats-pad: clamp(14px, 4vw, 28px);
}

.ats-wrap {
  width: min(1120px, 95%);
  margin-inline: auto;
}

.ats-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(47, 125, 63, 0.12);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ats-section-head {
  margin-bottom: clamp(18px, 4vw, 28px);
  text-align: center;
}

.ats-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--ink-0);
}

/* Hero */
.ats-hero {
  position: relative;
  min-height: clamp(320px, 52vh, 480px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 clamp(20px, 4vw, 36px) clamp(20px, 4vw, 36px);
}

.ats-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ats-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 60, 30, 0.15) 0%, rgba(12, 60, 30, 0.55) 100%);
}

.ats-hero__inner {
  position: relative;
  z-index: 1;
  width: min(900px, 92%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 48px) var(--ats-pad) clamp(32px, 7vw, 56px);
  color: #fff;
  text-align: center;
}

.ats-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  opacity: 0.92;
}

.ats-hero__crumbs a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ats-hero__kicker {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.ats-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 6vw, 2.75rem);
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.ats-hero__lead {
  margin: 0 auto 22px;
  max-width: 42ch;
  font-size: clamp(1rem, 2.8vw, 1.12rem);
  line-height: 1.6;
  opacity: 0.95;
}

.ats-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ats-hero__cta-ghost {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

.ats-hero__cta-ghost:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

/* Steps */
.ats-steps {
  padding: clamp(32px, 6vw, 56px) 0;
}

.ats-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 3vw, 18px);
}

@media (min-width: 720px) {
  .ats-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ats-step-card {
  padding: clamp(18px, 4vw, 24px);
  border-radius: var(--radius-lg);
  position: relative;
}

.ats-step-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.ats-step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink-0);
}

.ats-step-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 0.94rem;
}

/* Benefits */
.ats-benefits {
  padding: clamp(20px, 4vw, 40px) 0 clamp(36px, 6vw, 56px);
  background: var(--bg-1);
}

.ats-benefits__grid {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  align-items: start;
}

@media (min-width: 860px) {
  .ats-benefits__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.ats-benefits__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  line-height: 1.25;
}

.ats-benefits__list {
  margin: 0;
  padding: 0 1.2em 0 0;
  display: grid;
  gap: 10px;
  color: var(--ink-1);
  line-height: 1.55;
}

.ats-cta-card {
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.ats-cta-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.ats-cta-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
}

.ats-cta-card .btn {
  width: 100%;
}

.ats-cta-card__soft {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.ats-cta-card__soft:hover {
  text-decoration: underline;
}

/* Content from CMS */
.ats-content {
  padding: clamp(24px, 5vw, 48px) 0;
}

.ats-prose {
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
}

.ats-prose .prose {
  max-width: 72ch;
  margin-inline: auto;
}

/* Bottom CTA */
.ats-bottom-cta {
  padding: 0 0 clamp(40px, 8vw, 64px);
}

.ats-bottom-cta__inner {
  text-align: center;
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--radius-xl);
}

.ats-bottom-cta__inner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

.ats-bottom-cta__inner p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.ats-bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .ats-step-card {
    transition: none;
  }
}
