/* Hugent — /products/ai-receptionist */

.page-ai {
  padding-top: 4px;
}

section + section {
  margin-top: 84px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 8px;
}

.hero__eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 12px;
}

.hero__tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero__copy {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}

/* ---------- Dark feature panel ---------- */

.panel-dark {
  background: var(--ink-card);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 44px 44px;
}

.panel-dark h2 {
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.panel-dark__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 58ch;
  margin-bottom: 30px;
}

.agent-card {
  border-radius: var(--radius-md);
  padding: 22px 24px 24px;
}

.agent-card + .agent-card {
  margin-top: 14px;
}

.agent-card--outline {
  border: 1px solid var(--line-on-dark);
}

.agent-card--light {
  background: var(--cream);
  color: var(--ink);
}

.agent-card h3 {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 12px 0 10px;
}

.agent-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

.agent-card--light p {
  color: var(--muted);
}

/* ---------- Capability grid ---------- */

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.card__foot {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Visual card with photo + chat overlay */

.visual-card {
  position: relative;
  z-index: 0;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #2b2b2b;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
    160deg,
    rgba(70, 184, 166, 0.35),
    rgba(20, 20, 20, 0.1) 45%,
    rgba(20, 20, 20, 0.5)
  );
}

.visual-card__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card__chat {
  position: absolute;
  inset: 18px 18px auto 18px;
  display: grid;
  gap: 10px;
}

.bubble {
  border-radius: 14px;
  padding: 10px 13px 12px;
  max-width: 88%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.bubble__who {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.7;
}

.bubble p {
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 500;
}

.bubble--dark {
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
}

.bubble--light {
  background: #fff;
  color: var(--ink);
  justify-self: start;
}

/* Feature list pills */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.42;
  color: #34322e;
}

.feature-list svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.6;
}

/* Booking confirmation card */

.booking {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 16px 18px 18px;
}

.booking__time {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.booking__doctor {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 5px;
}

.booking__status {
  font-size: 11.5px;
  color: var(--muted);
}

.stat-number {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 30px;
}

/* ---------- Centered statement ---------- */

.statement {
  text-align: center;
  padding: 26px 0 4px;
}

.statement h2 {
  font-size: clamp(30px, 4.4vw, 47px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 0 auto 20px;
}

.statement p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Split cards ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 16px;
  align-items: stretch;
}

.split-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}

.split-card--dark {
  background: var(--ink-card);
  color: #fff;
}

.split-card--light {
  background: var(--cream-card);
}

.split-card h3 {
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.chat-thread .bubble {
  max-width: 84%;
  box-shadow: none;
}

.chat-thread .bubble--patient {
  background: #2c2c2c;
  color: #fff;
}

.chat-thread .bubble--agent {
  background: #2c2c2c;
  color: #fff;
}

.chat-thread .bubble__who {
  color: var(--teal);
  opacity: 1;
}

.split-card__note {
  font-size: 12px;
  color: var(--muted-on-dark);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-pills span {
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  color: #34322e;
  white-space: nowrap;
}

/* ---------- Stat row ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.stat-card--dark {
  background: var(--ink-card);
  color: #fff;
}

.stat-card h3 {
  font-size: clamp(24px, 2.6vw, 33px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.stat-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: auto;
}

.stat-card--dark p {
  color: var(--muted-on-dark);
}

/* ---------- Closing CTA ---------- */

.cta {
  background: var(--ink-card);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }
  .visual-card {
    grid-column: 1 / -1;
    min-height: 340px;
  }
  .split-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  section + section {
    margin-top: 56px;
  }
  .hero {
    padding: 62px 0 4px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .panel-dark,
  .cta {
    padding: 30px 22px;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .card,
  .split-card {
    padding: 24px 22px;
  }
}
