
.services-overview { background: white; }
.overview-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.4rem; margin-top: 3.5rem;
}
.overview-card {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.overview-card:hover { box-shadow: 0 12px 40px rgba(26,39,68,0.12); transform: translateY(-4px); }
.card-top {
  background: var(--navy); padding: 2.2rem 2rem 2rem;
  position: relative; overflow: hidden;
}
.card-top::after {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(61,127,138,0.2);
}
.card-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700;
  color: rgba(255,255,255,0.1); line-height: 1; margin-bottom: 1rem;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(61,127,138,0.3); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--teal-light); fill: none; stroke-width: 1.8; }
.card-top h3 { color: white; font-size: 1.35rem; }
.card-body { padding: 2rem; background: var(--off-white); flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--text-light); font-size: 0.93rem; line-height: 1.75; margin-bottom: 1.5rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.tag {
  background: white; border: 1px solid var(--border); border-radius: 3px;
  padding: 0.25rem 0.65rem; font-size: 0.77rem; font-weight: 600; color: var(--teal);
  letter-spacing: 0.04em;
}
.card-link {
  color: var(--navy); font-size: 0.87rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  letter-spacing: 0.03em; transition: color 0.2s, gap 0.2s;
  margin-top: auto; align-self: flex-start;
}
.card-link:hover { color: var(--teal); gap: 0.7rem; }

.service-keywords {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: var(--mist);
}
.service-keywords h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.service-keywords > p {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 1.6rem;
}
.service-keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.service-keyword-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 104px;
}
.service-keyword-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,39,68,0.08);
}
.service-keyword-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.service-keyword-card span {
  display: block;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.55;
}
.website-service-callout {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.website-service-callout h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.website-service-callout p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.website-service-callout .btn-teal-outline {
  white-space: nowrap;
}

.pilot-offer { background: var(--off-white); }
.pilot-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(26,39,68,0.06);
}
.pilot-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}
.pilot-head p {
  color: var(--text-light);
  line-height: 1.75;
  margin-top: 0.8rem;
}
.pilot-summary {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.pilot-summary strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.pilot-summary span {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.pilot-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--off-white);
}
.pilot-item h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.pilot-item p,
.pilot-item li {
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.62;
}
.pilot-item ul {
  margin: 0;
  padding-left: 1.1rem;
}
.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.pilot-note {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.6;
}

[data-theme="dark"] .pilot-panel {
  background: #162030;
  border-color: rgba(255,255,255,0.14);
}
[data-theme="dark"] .pilot-summary,
[data-theme="dark"] .pilot-item {
  background: #0e1520;
  border-color: rgba(255,255,255,0.14);
}
[data-theme="dark"] .pilot-head p,
[data-theme="dark"] .pilot-summary span,
[data-theme="dark"] .pilot-item p,
[data-theme="dark"] .pilot-item li,
[data-theme="dark"] .pilot-note {
  color: rgba(255,255,255,0.82);
}
[data-theme="dark"] .pilot-summary strong,
[data-theme="dark"] .pilot-item h3 {
  color: #8edbe0;
}

/* COMPARISON TABLE */
.comparison { background: var(--off-white); }
.table-wrap {
  overflow-x: auto;
  margin: 3rem auto 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
}
table { width: 100%; min-width: 820px; table-layout: fixed; border-collapse: collapse; background: white; overflow: hidden; }
thead th:first-child,
tbody td:first-child { width: 36%; }
thead th:not(:first-child),
tbody td:not(:first-child) { width: 16%; text-align: center; }
thead { background: var(--navy); }
thead th { padding: 1.2rem 1.5rem; text-align: left; color: rgba(255,255,255,0.75); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
thead th:not(:first-child) { text-align: center; }
thead th:first-child { color: white; }
tbody tr { border-bottom: 1px solid var(--mist); transition: background 0.2s; }
tbody tr:hover { background: var(--mist); }
tbody td { padding: 1.1rem 1.5rem; font-size: 0.9rem; color: var(--text-body); }
tbody td:first-child { font-weight: 600; color: var(--navy); }
.check { color: var(--teal); font-size: 1.1rem; }
.dash { color: var(--text-light); }

/* FAQ */
.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem; }
.faq-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.97rem; font-weight: 600; color: var(--navy); margin-bottom: 0.75rem; }
.faq-item p { font-size: 0.91rem; color: var(--text-light); line-height: 1.72; }

@media(max-width:900px){
  .overview-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .service-keyword-grid { grid-template-columns: 1fr; }
  .website-service-callout { grid-template-columns: 1fr; }
  .pilot-head,
  .pilot-grid { grid-template-columns: 1fr; }
  .page-hero-inner,
  .section-inner,
  .overview-grid,
  .overview-card,
  .card-top,
  .card-body,
  .service-keywords,
  .service-keyword-grid,
  .service-keyword-card,
  .website-service-callout,
  .pilot-panel,
  .faq-grid,
  .faq-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .page-hero h1,
  .section-title,
  .card-body p,
  .service-keyword-card span,
  .website-service-callout p,
  .pilot-item p,
  .pilot-item li,
  .faq-item p {
    overflow-wrap: anywhere;
  }
}
@media(min-width:901px) and (max-width:1200px){
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:768px){
  .table-wrap { overflow-x: visible; background: transparent; border: 0; border-radius: 0; }
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .table-wrap thead { display: none; }
  .table-wrap tbody tr {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .table-wrap tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--mist);
    text-align: left;
  }
  .table-wrap tbody td:first-child {
    display: block;
    width: 100%;
    background: var(--navy);
    color: white;
    font-size: 0.98rem;
    line-height: 1.45;
  }
  .table-wrap tbody td:not(:first-child) {
    width: 100%;
  }
  .table-wrap tbody td:last-child { border-bottom: none; }
  .table-wrap tbody td:nth-child(2)::before { content: "AI Training"; }
  .table-wrap tbody td:nth-child(3)::before { content: "AI Audit"; }
  .table-wrap tbody td:nth-child(4)::before { content: "Ongoing Support"; }
  .table-wrap tbody td:nth-child(5)::before { content: "AI Agents"; }
  .table-wrap tbody td:not(:first-child)::before {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: 'DM Sans', sans-serif;
  }
}
@media(max-width:480px){
  .card-top,
  .card-body,
  .faq-item {
    padding: 1.5rem;
  }
  .tag {
    font-size: 0.75rem;
    line-height: 1.25;
  }
}
