/* AI Agents & Agentic Development — detail page */

.agentic-page {
  overflow-x: hidden;
}

/* Hero — breadcrumb row + content row (no absolute overlap) */
.agentic-page .agentic-hero {
  position: relative;
  min-height: 380px;
  height: auto;
  padding-bottom: 0;
}

.agentic-page .agentic-hero .container {
  position: relative;
  z-index: 2;
  min-height: 380px;
  padding-top: 28px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.agentic-page .agentic-hero .nav-breadcrumb {
  position: relative;
  top: auto;
  left: auto;
  z-index: 3;
  margin: 0 0 28px;
  padding: 0 15px 0 0;
  flex-shrink: 0;
  text-align: left;
  line-height: 1.6;
}

.agentic-page .agentic-hero .nav-breadcrumb li {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}

.agentic-page .agentic-hero .nav-breadcrumb li:last-child a {
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  cursor: default;
}

.agentic-page .agentic-hero .inner-quote {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  padding: 0 15px;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.agentic-page .agentic-hero .main-title {
  font-size: 38px;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.agentic-page .agentic-hero .tag-line {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.agentic-page .agentic-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(211, 47, 47, 0.9);
  border-radius: 2px;
}

.agentic-page .agentic-hero-cta {
  margin-top: 8px;
}

/* Stats strip */
.agentic-page .agentic-stats {
  background: #121212;
  color: #fff;
  padding: 36px 0;
  margin-top: -1px;
}

.agentic-page .agentic-stats ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  list-style: none;
}

.agentic-page .agentic-stats li {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.agentic-page .agentic-stats li:last-child {
  border-right: none;
}

.agentic-page .agentic-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  line-height: 1.1;
}

.agentic-page .agentic-stat-value em {
  font-style: normal;
  color: #ef5350;
}

.agentic-page .agentic-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

/* Section headers */
.agentic-page .agentic-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.agentic-page .agentic-section-head .section-title {
  margin-bottom: 14px;
}

.agentic-page .agentic-section-head .section-description {
  width: 100%;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.65;
}

/* Lead & highlight */
.agentic-page .agentic-lead-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: stretch;
}

.agentic-page .agentic-lead-main {
  flex: 1 1 58%;
  min-width: 280px;
  padding: 0 15px;
}

.agentic-page .agentic-lead-aside {
  flex: 1 1 38%;
  min-width: 260px;
  padding: 0 15px;
}

.agentic-page .agentic-lead-main p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.agentic-page .agentic-highlight-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 28px 24px;
  border-radius: 4px;
  border-left: 4px solid #d32f2f;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.agentic-page .agentic-highlight-box h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.agentic-page .agentic-highlight-box p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
}

.agentic-page .agentic-highlight-box strong {
  color: #ff8a80;
}

.agentic-page mark.agentic-mark {
  background: #fff3e0;
  color: #e65100;
  padding: 2px 6px;
  font-weight: 600;
}

/* Service cards */
.agentic-page .agentic-service-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.agentic-page .agentic-service-card {
  flex: 1 1 22%;
  min-width: 220px;
  padding: 0 12px 24px;
  box-sizing: border-box;
}

.agentic-page .agentic-service-card-inner {
  background: #fff;
  border-radius: 4px;
  padding: 28px 20px 24px;
  height: 100%;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #d32f2f;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agentic-page .agentic-service-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.agentic-page .agentic-service-card-inner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
}

.agentic-page .agentic-service-card-inner h3 {
  font-size: 17px;
  font-weight: 700;
  color: #121212;
  margin: 0 0 12px;
  line-height: 1.3;
}

.agentic-page .agentic-service-card-inner p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Pattern cards */
.agentic-page .agentic-patterns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.agentic-page .agentic-pattern-card {
  flex: 1 1 46%;
  min-width: 280px;
  padding: 0 12px 24px;
  box-sizing: border-box;
}

.agentic-page .agentic-pattern-inner {
  background: #fff;
  padding: 24px 22px;
  border-radius: 4px;
  height: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #43445c;
}

.agentic-page .agentic-pattern-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: #d32f2f;
  margin: 0 0 10px;
}

.agentic-page .agentic-pattern-inner > p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.agentic-page .agentic-pattern-inner .common-list {
  margin: 0;
  padding-left: 18px;
}

.agentic-page .agentic-pattern-inner .common-list li {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 6px;
}

/* Tech stack pills */
.agentic-page .agentic-stack-wrap {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.agentic-page .agentic-stack-wrap > p {
  font-size: 17px;
  margin-bottom: 24px;
}

.agentic-page .agentic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agentic-page .agentic-pills li {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #121212;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.agentic-page .agentic-pills li:hover {
  border-color: #d32f2f;
  color: #d32f2f;
}

.agentic-page .agentic-pills li.agentic-pill--primary {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #fff;
}

/* Use cases */
.agentic-page .agentic-use-grid .ad-blcoks {
  background: #fff;
  padding: 24px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  min-height: 200px;
  transition: box-shadow 0.25s ease;
}

.agentic-page .agentic-use-grid .ad-blcoks:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.agentic-page .agentic-use-grid .ad-title {
  font-size: 17px;
  font-weight: 700;
  color: #121212;
  margin: 12px 0 8px;
}

.agentic-page .agentic-use-grid .ad-blcoks p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Why + CTA */
.agentic-page .agentic-why-section {
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
}

.agentic-page .agentic-why-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: center;
}

.agentic-page .agentic-why-content {
  flex: 1 1 55%;
  min-width: 280px;
  padding: 0 15px;
}

.agentic-page .agentic-why-content .section-description {
  width: 100%;
  max-width: 100%;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.agentic-page .agentic-why-cta-box {
  flex: 1 1 40%;
  min-width: 260px;
  padding: 0 15px;
}

.agentic-page .agentic-why-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.agentic-page .agentic-why-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 16px;
  line-height: 1.55;
  border-bottom: 1px solid #eee;
}

.agentic-page .agentic-why-list li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background: #d32f2f;
  border-radius: 50%;
}

.agentic-page .agentic-cta-panel {
  background: #121212;
  color: #fff;
  padding: 36px 28px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.agentic-page .agentic-cta-panel h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.35;
}

.agentic-page .agentic-cta-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.agentic-page .agentic-cta-panel .link-btn {
  display: inline-block;
  margin-top: 4px;
}

.agentic-page .common-sections.agentic-tight-top {
  padding-top: 70px;
}

@media screen and (max-width: 991px) {
  .agentic-page .agentic-hero .main-title {
    font-size: 28px;
  }

  .agentic-page .agentic-stats li {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    max-width: none;
  }

  .agentic-page .agentic-service-card {
    flex: 1 1 48%;
  }

  .agentic-page .agentic-pattern-card {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 767px) {
  .agentic-page .agentic-hero,
  .agentic-page .agentic-hero .container {
    min-height: 420px;
  }

  .agentic-page .agentic-hero .nav-breadcrumb {
    margin-bottom: 20px;
    padding-right: 0;
  }

  .agentic-page .agentic-hero .nav-breadcrumb a {
    font-size: 13px;
    margin-right: 6px;
  }

  .agentic-page .agentic-hero .main-title {
    font-size: 24px;
  }

  .agentic-page .agentic-hero .tag-line {
    font-size: 16px;
  }

  .agentic-page .agentic-lead-main,
  .agentic-page .agentic-lead-aside {
    flex: 1 1 100%;
  }

  .agentic-page .agentic-lead-aside {
    margin-top: 20px;
  }

  .agentic-page .agentic-service-card {
    flex: 1 1 100%;
  }

  .agentic-page .agentic-stat-value {
    font-size: 26px;
  }
}
