/* ========================================
   AI RECEPTIONIST PAGE HERO — real HTML text
   Photo shows the same story the copy tells:
   call answered -> lead qualified -> appointment booked
   ======================================== */

.ai-hero {
  margin: 72px 0 0;
  padding: 18px 12px 8px;
  min-height: 0;
  display: block;
  border-radius: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 48%, #f6f7f9 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ai-hero__shell {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 60px);
  padding: clamp(24px, 2.6vw, 40px) clamp(20px, 3.5vw, 56px);
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  border-radius: 34px;
  box-shadow: 0 22px 56px rgba(20, 38, 72, 0.08);
}

/* ---------- Visual ---------- */
.ai-hero__visual {
  position: relative;
  padding: 30px 0 30px;
}

.ai-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: 40% 20%; /* keep the technician's face and phone in view */
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(15, 26, 43, 0.14);
}

.ai-hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 11px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 26, 43, 0.14);
  line-height: 1.3;
}

.ai-hero__chip strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f1a2b;
}

.ai-hero__chip small {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: #5d6b85;
}

.ai-hero__chip-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.ai-hero__chip-icon i {
  display: block;
  line-height: 1;
}

/* Each step gets its own color */
.ai-hero__chip--answer { top: 0; right: 6%; }
.ai-hero__chip--answer .ai-hero__chip-icon { background: #e6f4ea; color: #1e8e3e; }

.ai-hero__chip--qualify { top: 46%; right: -4%; }
.ai-hero__chip--qualify .ai-hero__chip-icon { background: #fff4e0; color: #e37400; }

.ai-hero__chip--book { bottom: 0; left: 8%; }
.ai-hero__chip--book .ai-hero__chip-icon { background: #eaf0ff; color: #2f56c9; }

/* ---------- Copy ---------- */
.ai-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(47, 86, 201, 0.14);
  border-radius: 999px;
  color: #2f56c9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-hero__eyebrow i { font-size: 0.85rem; }

.ai-hero .ai-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 3.9vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #0f1a2b;
  text-shadow: none;
  filter: none;
}

.ai-hero__title-accent { color: #2f6bea; }

.ai-hero__subtitle {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
  color: #3d4a63;
}

.ai-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b6fe8 0%, #2f56c9 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(47, 86, 201, 0.3);
  transition: transform 0.2s ease;
}

.ai-hero__cta:hover { transform: translateY(-2px); color: #ffffff; }

.ai-hero__cta:focus-visible {
  outline: 3px solid rgba(47, 86, 201, 0.5);
  outline-offset: 3px;
}

.ai-hero__cta > i { font-size: 1.25rem; transform: none; }

.ai-hero__cta-stack {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
}

.ai-hero__cta-stack small {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ai-hero__cta-note {
  margin: 10px 0 24px;
  font-size: 0.88rem;
  color: #5d6b85;
}

.ai-hero__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-hero__steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 9px 12px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(47, 86, 201, 0.12);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: #31415f;
  box-shadow: 0 8px 20px rgba(15, 26, 43, 0.04);
}

.ai-hero__steps i { flex-shrink: 0; font-size: 1rem; }
.ai-hero__steps li:nth-child(1) i { color: #1e8e3e; }
.ai-hero__steps li:nth-child(2) i { color: #e37400; }
.ai-hero__steps li:nth-child(3) i { color: #2f56c9; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ai-hero__shell { grid-template-columns: 1fr; }
  .ai-hero__copy { order: -1; }
  .ai-hero__visual { max-width: 680px; width: 100%; margin: 0 auto; }
  .ai-hero__chip--qualify { right: 0; }
}

@media (max-width: 768px) {
  .ai-hero { margin-top: 60px; padding: 10px 8px 4px; }

  .ai-hero__shell {
    border-radius: 22px;
    padding: 26px 18px 30px;
    gap: 24px;
  }

  .ai-hero__subtitle { font-size: 1rem; }
  .ai-hero__cta { width: 100%; justify-content: center; }
  .ai-hero__photo { aspect-ratio: 4 / 3.3; border-radius: 22px; }

  .ai-hero__visual {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* On phones the step chips sit under the photo instead of on top of it */
  .ai-hero__chip {
    position: static;
    padding: 9px 14px 9px 9px;
  }

  .ai-hero__chip-icon { width: 34px; height: 34px; font-size: 0.95rem; }
}

@media (max-width: 560px) {
  .ai-hero__steps { grid-template-columns: 1fr; }
  .ai-hero__steps li { min-height: 0; }
}
