/*
 * home.css
 * Home page (front-page.php) components: agent cards and click-to-call.
 * Moved from an inline <style> in front-page.php; loaded only on the home page, after style.css.
 */

@media (min-width: 768px) {
  .metrics-mobile-btn{
     display:none;
  }
}
/*
.video-wrapper {
    position: relative;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    cursor: pointer;
    transition: opacity .3s ease, visibility .3s ease;
}

.video-play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
}

.video-play-btn.playing {
    opacity: 0;
    visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .video-wrapper:hover .video-play-btn.playing {
        opacity: 1;
        visibility: visible;
    }
}

.video-play-btn.playing::before {
    width: 18px;
    height: 20px;
    left: 50%;
    border: none;
    background: linear-gradient(
        to right,
        #fff 0 6px,
        transparent 6px 12px,
        #fff 12px 18px
    );
}
*/


	.bookmyCTA{
    display: flex;
    position: absolute;
    bottom: 20px; 
	flex-direction: column;
	width: 87%;
/*     min-width: 160px;
    max-width: 220px; */
	}
/* Click-to-call inline CTA */
.bookmyCTA .ac-call-label{
  display:block;font-size:14px;font-weight:600;color:#111;
  margin-bottom:6px;letter-spacing:.01em; text-align:left;
}
.bookmyCTA .ac-call-form{display:flex;gap:8px;align-items:stretch;width:100%}
.bookmyCTA .ac-call-input-wrap{
  flex:1;display:flex;align-items:center;gap:6px;
  background:#fff;border:1px solid #d4d4d1;border-radius:10px;padding:0 10px;
  transition:border-color .2s;min-width:0;
}
.bookmyCTA .ac-call-input-wrap:focus-within{border-color:#16a34a}
.bookmyCTA .ac-call-cc{color:#111;font-size:13px;font-weight:600;flex:0 0 auto}
.bookmyCTA .ac-call-input{
  flex:1;min-width:0;background:transparent;border:0;outline:none;
  color:#111;font-size:16px;font-weight:600;padding:10px 0;letter-spacing:.4px; /* 16px: iOS zooms on focus below this */
}
.bookmyCTA .ac-call-input::placeholder{color:#8a8a8a;font-weight:500;letter-spacing:normal}
.bookmyCTA .ac-call-connect{
  flex:0 0 auto;width:46px;border:0;cursor:pointer;
  background:#000;color:#fff;border-radius:10px;transition:background .2s,transform .1s;
  display:inline-flex;align-items:center;justify-content:center;
}
.bookmyCTA .ac-call-connect.is-ready{background:#16a34a}
.bookmyCTA .ac-call-connect:active{transform:scale(.95)}
.bookmyCTA .ac-call-connect:disabled{cursor:default;opacity:.95}
.bookmyCTA .ac-call-connect.is-connected{background:#0f7a37}
.bookmyCTA .ac-call-phone{width:20px;height:20px;display:block}
.bookmyCTA .ac-call-dots{display:inline-flex;gap:4px;align-items:center;height:14px}
.bookmyCTA .ac-call-dots b{
  width:5px;height:5px;border-radius:50%;background:#fff;display:block;
  animation:acDot 1s infinite ease-in-out both;
}
.bookmyCTA .ac-call-dots b:nth-child(2){animation-delay:.16s}
.bookmyCTA .ac-call-dots b:nth-child(3){animation-delay:.32s}
@keyframes acDot{0%,72%,100%{transform:translateY(0);opacity:.35}36%{transform:translateY(-5px);opacity:1}}
.bookmyCTA .ac-call-msg{
  position:absolute;top:100%;left:0;margin-top:1px;
  font-size:11.5px;line-height:1.35;
}
.bookmyCTA .ac-call-msg.is-info{color:#111}
.bookmyCTA .ac-call-msg.is-error{color:#dc2626}
.bookmyCTA .ac-call-msg.is-success{color:#16a34a}
@media (prefers-reduced-motion:reduce){.bookmyCTA .ac-call-dots b{animation-duration:0s}}
/* ═══════════════════════════════════════════════════════════
   AI ASSISTANTS — Agent Cards Section
═══════════════════════════════════════════════════════════ */

.agent-cards-section {
  background-color: var(--surface, #f6f6f5);
  padding: 100px 0 80px;
}

/* ── Header ── */
.agent-cards__header {
  margin: 48px auto 48px;
  text-align: center;
}
.agent-cards__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs, 12px);
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle, #717182);
  border: 1px solid var(--color-border, #dbdbdb);
  padding: 5px 14px;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 16px;
}
.agent-cards__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-semibold, 600);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text, #111111);
  margin-bottom: 14px;
}
.agent-cards__heading em {
  font-style: italic;
  background: none;
  color: var(--color-accent, #3b82f6);
  padding: 0;
  border-radius: 0;
}
.agent-cards__subtext {
  font-family: var(--font-body);
  font-size: var(--fs-base, 16px);
  color: var(--color-text-muted, #555555);
  line-height: var(--lh-relaxed, 1.6);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Grid ── */
.agent-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border, #d4d4d1);
  overflow: hidden;
  background: var(--surface-2, #f8f8f7);
}

/* ── Card ── */
.agent-card {
  position: relative;
  padding: 20px;
  border-right: 1px solid var(--border-soft, #dfdfdc);
  background: var(--surface-2, #f8f8f7);
  transition: background 0.3s ease;
  overflow: hidden;
}
.agent-card:last-child { border-right: none; }
.agent-card.is-active  { background: var(--white, #ffffff); }

/* ── Industry labels ── */
.agent-card__industry-label {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light, #8a8a8a);
}
.agent-card__industry-tl {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light, #8a8a8a);
}

/* ── Avatar row ── */
.agent-card__avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.agent-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
}
.agent-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.agent-card__avatar-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: var(--fw-bold, 700);
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ── Name block ── */
.agent-card__name-block { flex: 1; min-width: 0; }
.agent-card__name {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: var(--fw-semibold, 600);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text, #111111);
  margin-bottom: 5px;
}
.agent-card__industry-sub {
  font-family: var(--font-body);
  font-size: var(--fs-xs, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light, #8a8a8a);
}

/* ── Play / Wave button ── */
.agent-card__play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #4a4a5a, #1a1a22 55%, #0d0d12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.45),
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.08);
}
.agent-card__play-btn:hover {
  transform: scale(1.07);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.08);
}
.ac-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  line-height: 0;
}
.ac-play-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Wave bars */
.ac-btn-wave {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}
.ac-btn-wave b {
  width: 2.5px;
  border-radius: 2px;
  background: #ffffff;
  display: block;
}
.agent-card.is-active .ac-play-icon  { display: none; }
.agent-card.is-active .ac-btn-wave   { display: flex; }
.agent-card.is-active .ac-btn-wave b { animation: spotify-wave 0.9s ease-in-out infinite; }
.agent-card.is-active .ac-btn-wave b:nth-child(1) { height: 4px;  animation-delay: 0s;    }
.agent-card.is-active .ac-btn-wave b:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.agent-card.is-active .ac-btn-wave b:nth-child(3) { height: 14px; animation-delay: 0.3s;  }
.agent-card.is-active .ac-btn-wave b:nth-child(4) { height: 10px; animation-delay: 0.15s; }
.agent-card.is-active .ac-btn-wave b:nth-child(5) { height: 4px;  animation-delay: 0s;    }
@keyframes spotify-wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1);  }
}

/* Mobile speaking state */
.agent-card.speaking { background: var(--white, #ffffff); }
.agent-card.speaking .ac-play-icon { display: none; }
.agent-card.speaking .ac-btn-wave  { display: flex; }
.agent-card.speaking .ac-btn-wave b { animation: spotify-wave 0.9s ease-in-out infinite; }
.agent-card.speaking .ac-btn-wave b:nth-child(1) { height: 4px;  animation-delay: 0s;    }
.agent-card.speaking .ac-btn-wave b:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.agent-card.speaking .ac-btn-wave b:nth-child(3) { height: 14px; animation-delay: 0.3s;  }
.agent-card.speaking .ac-btn-wave b:nth-child(4) { height: 10px; animation-delay: 0.15s; }
.agent-card.speaking .ac-btn-wave b:nth-child(5) { height: 4px;  animation-delay: 0s;    }

/* ── Tags ── */
.agent-card__tags {
  display: flex; 
  flex-wrap: wrap; 
  gap: 6px; 
  margin-bottom: 30px;
  padding-bottom: 64px;
}
.agent-card__tag {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 4px 12px;
  border: 1px solid var(--border-soft, #dfdfdc);
  border-radius: var(--radius-full, 9999px);
  color: #000000;
  background: #dbeafe;
  transition: border-color 0.2s, color 0.2s;
}
.agent-card.is-active .agent-card__tag,
.agent-card.speaking  .agent-card__tag {
  border-color: rgba(109,120,255,0.4);
  color: var(--color-text, #111111);
}

/* ── Description ── */
.agent-card__desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted, #555555);
  margin-bottom: 80px;
}

/* ── Custom scrollbar (hidden on desktop) ── */
.agent-cards__scrollbar { display: none; }
.agent-cards__header br { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .agent-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .agent-card:nth-child(2) { border-right: none; }
  .agent-card:nth-child(1),
  .agent-card:nth-child(2) { border-bottom: 1px solid var(--border-soft, #dfdfdc); }
}

@media (max-width: 767px) {
	
.agent-card__desc{
     line-height: 1.6;
}
.agent-card__tags{
    margin-bottom: 20px;
}
  .agent-cards__header br { display: block; }
  .agent-cards__scrollbar {
    display: block;
    margin: 14px 0 0;
    height: 12px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8e8e8;
  }
  .agent-cards__scrollbar-thumb {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: #9fb2bf;
    border-radius: 999px;
    transition: width 0.1s ease, left 0.1s ease;
  }
  .agent-cards-section {
    padding: 50px 0 50px;
    overflow: hidden;
  }
  .agent-cards__header {
    margin-top: 20px;
    margin-bottom: 28px;
  }
  .agent-cards__grid {
    margin: 0 -15px;
    padding: 0 15px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 15px;
    scrollbar-width: none;
    border: none;
  }
  .agent-cards__grid::-webkit-scrollbar { display: none; }
  .agent-card {
    min-width: 78vw;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid var(--border-soft, #dfdfdc) !important;
  }
  .agent-cards__heading { font-size: 30px; }
}

@media (max-width: 480px) { .agent-card { min-width: 86vw; } }
