﻿/* Home section â€” AI Competitive Visibility scorecard (ev-ai-scorecard) */

/* Section 3 — What Does AI Say About Your Practice? (Jun 5 mockup trace) */

.ev-ai-scorecard {
  background: #fff;
  padding: 56px 0 64px;
  border-top: 1px solid #e8eef4;
}

.ev-ai-scorecard .ev-wrap {
  max-width: 1250px;
}

.ev-ai-scorecard-eyebrow {
  display: table;
  margin: 0 auto 20px;
  padding: 8px 18px 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a5fa8;
  background: #eef6fc;
  border: 1px solid #cfe3f5;
  border-radius: 999px;
}

.ev-ai-scorecard-eyebrow-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ev-ai-scorecard-eyebrow svg {
  flex-shrink: 0;
}

.ev-ai-scorecard-title {
  margin: 0 auto 12px;
  max-width: var(--ev-section-title-max, 760px);
  text-align: center;
  font-family: var(--ev-section-title-font);
  font-size: var(--ev-section-title-size);
  font-weight: var(--ev-section-title-weight);
  line-height: var(--ev-section-title-line-height);
  letter-spacing: var(--ev-section-title-letter-spacing);
  color: var(--ev-section-title-color);
}

.ev-ai-scorecard-title .ev-accent {
  color: #2f80ff;
}

.ev-ai-scorecard-lead {
  margin: 0 auto 40px;
  max-width: var(--ev-section-lead-max, 760px);
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: #5c6b7a;
}

.ev-score-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 85%;
  max-width: 1060px;
  margin: 0 auto 32px;
  align-items: stretch;
}

.ev-score-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 18px 20px;
  text-align: left;
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(11, 22, 63, 0.07);
}

.ev-score-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.ev-score-card-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.ev-score-card--reviews .ev-score-card-icon-wrap {
  background: transparent;
}

.ev-score-card--ai .ev-score-card-icon-wrap {
  background: transparent;
}

.ev-score-card--search .ev-score-card-icon-wrap {
  background: transparent;
}

.ev-score-card-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.ev-score-card-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.ev-score-card-meta h3 {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #0b163f;
}

.ev-score-card-score {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ev-score-card-score em {
  font-style: normal;
  font-size: 0.42em;
  font-weight: 600;
  color: #94a3b8;
}

.ev-score-card--reviews .ev-score-card-score { color: #2f80ff; }
.ev-score-card--ai .ev-score-card-score { color: #7b4fbe; }
.ev-score-card--search .ev-score-card-score { color: #22a06b; }

.ev-score-card-badge-wrap {
  text-align: center;
  margin: 0 0 14px;
}

.ev-score-card-badge {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1;
}

.ev-score-card--reviews .ev-score-card-badge {
  color: #2f80ff;
  background: #eef6fc;
}

.ev-score-card--ai .ev-score-card-badge {
  color: #7b4fbe;
  background: #f3ebfc;
}

.ev-score-card--search .ev-score-card-badge {
  color: #22a06b;
  background: #e8f7ef;
}

.ev-score-card-rule {
  margin: 0 0 14px;
  border: 0;
  border-top: 1px solid #d3dde7;
}

.ev-score-card-desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #5c6b7a;
}

/* Three scores CTA band â€” match score-cards width */
.ev-three-scores-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 85%;
  max-width: 1060px;
  margin: 0 auto 48px;
  padding: 22px 24px;
  background: #f4f9fd;
  border: 1px solid #d9e8f5;
  border-radius: 16px;
}

.ev-three-scores-cta-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.ev-three-scores-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ev-three-scores-cta-copy h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #0b163f;
}

.ev-three-scores-cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5c6b7a;
}

.ev-three-scores-cta-action {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid #d3dde7;
  text-align: center;
}

.ev-three-scores-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 12px;
}

.ev-three-scores-cta-btn:hover {
  color: #fff;
}

.ev-three-scores-cta-note {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

/* Inside your report */
.ev-report-includes-title {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0b163f;
}

.ev-report-includes-title .ev-accent {
  color: #2f80ff;
}

.ev-report-includes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 85%;
  max-width: 1060px;
  margin: 0 auto;
}

.ev-report-include {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 18px;
  text-align: left;
  border-right: 1px solid #d3dde7;
}

.ev-report-include:first-child {
  padding-left: 0;
}

.ev-report-include:last-child {
  padding-right: 0;
  border-right: 0;
}

.ev-report-include img {
  flex-shrink: 0;
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.ev-report-include-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ev-report-include-copy h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #0b163f;
}

.ev-report-include-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5c6b7a;
}

.ev-three-scores-cta-copy a,
.ev-report-include-copy a {
  color: #2f80ff;
  font-weight: 600;
  text-decoration: none;
}

.ev-three-scores-cta-copy a:hover,
.ev-report-include-copy a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .ev-score-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .ev-report-includes {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    width: 100%;
    max-width: 640px;
  }

  .ev-report-include {
    padding: 0 16px 20px;
    border-right: 0;
    border-bottom: 1px solid #d3dde7;
  }

  .ev-report-include:nth-child(odd) {
    border-right: 1px solid #d3dde7;
  }

  .ev-report-include:nth-last-child(-n+2) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ev-three-scores-cta {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 22px 20px;
  }

  .ev-three-scores-cta-action {
    align-self: auto;
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid #d3dde7;
  }
}

@media (max-width: 600px) {
  .ev-ai-scorecard {
    padding: 44px 0 48px;
  }

  .ev-ai-scorecard-lead {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .ev-report-includes {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 0;
  }

  .ev-report-include {
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid #d3dde7;
  }

  .ev-report-include:nth-child(odd) {
    border-right: 0;
  }

  .ev-report-include:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .ev-three-scores-cta-btn {
    white-space: normal;
  }
}
