:root {
  --ink: #12233d;
  --ink-soft: #4f6078;
  --paper: #f4f7fb;
  --white: #ffffff;
  --brand: #0c63e7;
  --brand-deep: #083f9e;
  --teal: #079a8b;
  --gold: #f2a100;
  --line: #d9e4f1;
  --radius: 18px;
  --shadow-soft: 0 18px 40px rgba(6, 29, 67, 0.08);
  --shadow-card: 0 18px 35px rgba(7, 42, 98, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-top: 0;
}

a {
  transition: all 0.25s ease;
}

.klee-main {
  overflow: hidden;
}

.klee-navbar {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  box-shadow: 0 3px 22px rgba(7, 26, 61, 0.08);
  backdrop-filter: blur(6px);
}

.klee-navbar .navbar-brand {
  padding-top: 7px;
}

.klee-navbar .navbar-brand img {
  height: 54px;
}

.klee-navbar .navbar-nav > li > a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding-top: 26px;
  padding-bottom: 24px;
}

.klee-navbar .navbar-nav > li > a:hover,
.klee-navbar .navbar-nav > li > a:focus {
  color: var(--brand);
}

.klee-navbar .navbar-toggle {
  margin-top: 16px;
  border: 0;
  background: #edf3ff;
  border-radius: 10px;
}

.klee-navbar .icon-bar {
  background: var(--ink);
}

.klee-navbar .menu-cta {
  padding-left: 10px;
  margin-top: 12px;
}

.klee-navbar .menu-cta > a.btn-demo-nav {
  color: #fff;
  background: linear-gradient(125deg, var(--brand) 0%, var(--brand-deep) 100%);
  border: 0;
  border-radius: 30px;
  padding: 10px 18px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.hero {
  position: relative;
  padding: 150px 0 85px;
  background: radial-gradient(circle at 20% 20%, #dce9ff 0%, #eef4ff 46%, #f4f7fb 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-backdrop::before {
  width: 430px;
  height: 430px;
  right: -120px;
  top: -50px;
  background: radial-gradient(circle at 35% 35%, rgba(12, 99, 231, 0.28), rgba(12, 99, 231, 0));
}

.hero-backdrop::after {
  width: 370px;
  height: 370px;
  left: -120px;
  bottom: -130px;
  background: radial-gradient(circle at 40% 40%, rgba(7, 154, 139, 0.22), rgba(7, 154, 139, 0));
}

.hero .eyebrow {
  margin: 0 0 16px;
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: 49px;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero .hero-description {
  font-size: 18px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 24px;
}

.btn-primary-hero,
.btn-secondary-hero,
.btn-link-panel {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary-hero {
  color: #fff;
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 12px 26px rgba(12, 99, 231, 0.25);
}

.btn-primary-hero:hover,
.btn-primary-hero:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(12, 99, 231, 0.32);
}

.btn-primary-hero.full {
  width: 100%;
}

.btn-secondary-hero {
  color: var(--brand-deep);
  border-color: #b9cff8;
  background: #edf4ff;
}

.btn-secondary-hero:hover,
.btn-secondary-hero:focus {
  color: var(--brand-deep);
  background: #ddeaff;
}

.hero-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d7e3f5;
  border-radius: 14px;
  padding: 12px 15px;
  min-width: 170px;
}

.metric-card strong {
  display: block;
  color: var(--brand-deep);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.metric-card span {
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-panel {
  background: #0f2648;
  color: #d4e2fb;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-card);
  padding: 30px;
  margin-top: 8px;
}

.hero-panel h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.hero-panel-kicker {
  margin: 0 0 8px;
  color: #65e2d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-ai-brief {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 22px;
  padding: 12px;
  border: 1px solid rgba(101, 226, 214, 0.34);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(7, 154, 139, 0.25), rgba(12, 99, 231, 0.18));
}

.hero-ai-icon,
.ai-journey-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.hero-ai-icon {
  width: 38px;
  height: 38px;
  background: #65e2d6;
  color: #0f2648;
  font-size: 20px;
}

.hero-ai-brief p {
  margin: 0 0 1px;
  color: #91efe6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-ai-brief strong {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.hero-solution-links {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.hero-solution-finder {
  scroll-margin-top: 92px;
}

.hero-solution-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  text-decoration: none;
}

.hero-solution-links a:hover,
.hero-solution-links a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(101, 226, 214, 0.7);
  transform: translateX(2px);
}

.hero-solution-links a > .fa:first-child {
  width: 28px;
  margin: 0;
  color: #65e2d6;
  font-size: 17px;
  text-align: center;
}

.hero-solution-links a > .fa:last-child {
  margin: 0;
  color: #a9c4ea;
}

.hero-solution-links span,
.hero-solution-links strong,
.hero-solution-links small {
  display: block;
}

.hero-solution-links strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.hero-solution-links small {
  margin-top: 2px;
  color: #b9cdeb;
  font-size: 12px;
}

.hero-panel p {
  margin-bottom: 14px;
}

.hero-panel ul {
  padding: 0;
  list-style: none;
  margin: 0 0 16px;
}

.hero-panel li {
  margin-bottom: 8px;
  font-size: 15px;
}

.hero-panel i {
  color: #59e0d3;
  margin-right: 8px;
}

.hero-ai-icon i {
  margin: 0;
  color: currentColor;
}

.btn-link-panel {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-link-panel:hover,
.btn-link-panel:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.trust-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.trust-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #607797;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.trust-logos img {
  max-width: 100%;
  max-height: 48px;
  filter: grayscale(100%);
  opacity: 0.86;
  margin: 0 auto;
}

.trust-logos img.logo-on-light {
  filter: brightness(0);
  opacity: 0.7;
}

.section-block {
  padding: 86px 0;
  background: var(--paper);
}

.section-alt {
  background: #ecf3fb;
}

.section-heading {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 38px;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.section-heading .kicker {
  margin: 0 0 10px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.section-heading h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 17px;
  margin: 0;
}

.challenge-card,
.product-card,
.solution-card,
.tech-card,
.case-box,
.timeline-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.challenge-card {
  padding: 26px 22px;
  min-height: 200px;
  margin-bottom: 18px;
}

.challenge-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ecosystem-points {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

.ecosystem-points li {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 500;
}

.ecosystem-points i {
  color: var(--brand);
  margin-right: 8px;
}

.ecosystem-map {
  position: relative;
  min-height: 390px;
  border-radius: 24px;
  border: 1px dashed #aac2ea;
  background: linear-gradient(130deg, #f6fbff 0%, #e8f1fd 100%);
  overflow: hidden;
}

.ecosystem-map::before,
.ecosystem-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ecosystem-map::before {
  background:
    linear-gradient(transparent 49%, rgba(117, 145, 191, 0.16) 50%, transparent 51%) center/100% 58px,
    linear-gradient(90deg, transparent 49%, rgba(117, 145, 191, 0.16) 50%, transparent 51%) center/58px 100%;
}

.ecosystem-map::after {
  background: radial-gradient(circle at 50% 50%, rgba(12, 99, 231, 0.15), transparent 58%);
}

.ecosystem-node {
  position: absolute;
  border-radius: 30px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #bdd0ed;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  z-index: 1;
}

.ecosystem-node.hub {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-color: transparent;
}

.ecosystem-node.n1 {
  left: 18%;
  top: 18%;
}

.ecosystem-node.n2 {
  right: 14%;
  top: 22%;
}

.ecosystem-node.n3 {
  left: 20%;
  bottom: 20%;
}

.ecosystem-node.n4 {
  right: 12%;
  bottom: 18%;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
}

.product-grid > [class*="col-"] {
  display: flex;
}

.product-grid .col-md-6 {
  margin-bottom: 18px;
}

.product-card {
  width: 100%;
  height: 100%;
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
}

.product-logo {
  display: flex;
  align-items: center;
  height: 58px;
  margin-bottom: 18px;
}

.product-logo img {
  display: block;
  max-width: 166px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.product-logo-medklee {
  height: 66px;
  margin-bottom: 10px;
}

.product-logo-medklee img {
  max-height: 66px;
}

.product-card .product-tag {
  display: inline-block;
  margin-bottom: 10px;
  background: #eaf2ff;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.product-card p {
  margin-bottom: 12px;
}

.product-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
}

.product-card li {
  margin-bottom: 4px;
  color: var(--ink);
}

.product-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 700;
}

.product-card a:hover,
.product-card a:focus {
  color: var(--brand-deep);
  text-decoration: none;
}

.solution-grid .col-md-4 {
  margin-bottom: 16px;
}

.solution-card {
  height: 100%;
  padding: 24px;
}

.solution-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.solution-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--brand);
  font-weight: 700;
}

.solution-card a:hover,
.solution-card a:focus {
  color: var(--brand-deep);
  text-decoration: none;
}

.blog-preview-grid .col-md-4 {
  margin-bottom: 18px;
}

.blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.blog-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.blog-card a {
  color: var(--brand);
  font-weight: 700;
}

.section-cta-center {
  text-align: center;
  margin-top: 10px;
}

.blog-page-hero {
  padding: 140px 0 70px;
  background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
}

.blog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 24px 0 0;
}

.blog-search,
.blog-filter {
  border: 1px solid #ccdcef;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.article-grid .col-md-4 {
  margin-bottom: 18px;
}

.article-meta {
  color: #6b7a90;
  font-size: 13px;
  margin-bottom: 8px;
}

.article-keyword {
  display: block;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
}

.blog-article-body {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.blog-article-body .article-meta {
  margin-bottom: 18px;
}

.tech-card {
  padding: 26px;
  height: 100%;
  margin-bottom: 16px;
}

.tech-card h3 {
  margin-bottom: 16px;
}

.tech-card ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

.tech-card li {
  margin-bottom: 10px;
  color: var(--ink);
}

.tech-card i {
  width: 20px;
  color: var(--brand);
}

.case-section {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3fb 100%);
}

.success-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.success-story {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.success-story-featured {
  grid-row: span 2;
  background: linear-gradient(145deg, #fff 0%, #f3f8ff 100%);
  border-color: #bfd5f4;
}

.success-story-brand {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.success-story-brand img {
  width: 124px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.success-story-brand img.logo-on-light {
  filter: brightness(0);
  opacity: 0.7;
}

.success-story-brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.75px;
  line-height: 1.25;
  text-transform: uppercase;
}

.success-story h3 {
  font-size: 23px;
  line-height: 1.35;
  margin-bottom: 13px;
}

.success-story p {
  margin: 0;
}

.success-story-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.success-story-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  color: var(--ink);
}

.success-story-list i {
  width: 18px;
  margin-top: 5px;
  color: var(--brand);
  text-align: center;
}

.case-impact-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #0f2648;
  color: #cfe0fa;
}

.case-impact-note strong,
.case-impact-note span {
  display: block;
}

.case-impact-note strong {
  margin-bottom: 2px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
}

.btn-case-cta {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 24px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
}

.btn-case-cta:hover,
.btn-case-cta:focus {
  background: #dceaff;
  color: var(--brand-deep);
  text-decoration: none;
}

.kpi-list {
  background: #0f2648;
  border-radius: 22px;
  padding: 24px;
  color: #d2e4ff;
  box-shadow: var(--shadow-card);
}

.kpi-list div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
}

.kpi-list div:last-child {
  border-bottom: 0;
}

.kpi-list strong {
  display: block;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-grid article {
  padding: 22px;
}

.timeline-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(130deg, var(--teal) 0%, #047065 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.demo-section {
  background: #f5f9ff;
}

.demo-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.demo-points li {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink);
}

.demo-points i {
  margin-right: 7px;
  color: var(--teal);
}

.direct-contact {
  border-left: 3px solid #bdd4f8;
  padding-left: 12px;
}

.demo-form {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #d8e5f5;
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.demo-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #5f7390;
}

.demo-form .optional-label {
  color: #8291a7;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.demo-form input,
.demo-form textarea,
.demo-form select {
  width: 100%;
  border: 1px solid #ccdcef;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fdfefe;
}

.demo-form input:focus,
.demo-form textarea:focus,
.demo-form select:focus {
  border-color: #97b7ea;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(12, 99, 231, 0.12);
}

.demo-form select {
  min-height: 42px;
}

.consent-group {
  margin-top: 4px;
}

.demo-form .consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.demo-form .consent-label input {
  width: auto;
  margin-top: 3px;
}

.form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #5f7390;
}

.demo-status {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  display: none;
  font-size: 14px;
}

.demo-status.success {
  display: block;
  background: #e5faef;
  color: #16653b;
  border: 1px solid #9de3bc;
}

.demo-status.error {
  display: block;
  background: #ffecee;
  color: #8a2030;
  border: 1px solid #f6b2bb;
}

.site-footer {
  background: #0f2648;
  color: #c0d4f2;
  padding: 62px 0 24px;
}

.site-footer a {
  color: #deebff;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #65d6cc;
  text-decoration: none;
}

.footer-brand img {
  max-width: 200px;
  margin-bottom: 16px;
}

.footer-nav h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin-bottom: 7px;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  font-size: 13px;
  color: #9eb4d8;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 41px;
  }

  .klee-navbar .navbar-nav > li > a {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .success-story-grid {
    grid-template-columns: 1fr;
  }

  .success-story-featured {
    grid-row: auto;
  }
}

@media (max-width: 991px) {
  .klee-navbar .navbar-nav > li > a {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .klee-navbar .menu-cta {
    margin-top: 0;
    padding-left: 0;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-panel {
    margin-top: 20px;
  }

  .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .ecosystem-map {
    min-height: auto;
    padding: 20px;
    display: grid;
    gap: 10px;
  }

  .ecosystem-node {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    text-align: center;
  }

  .ecosystem-node.hub {
    order: -1;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .hero-description,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary-hero,
  .btn-secondary-hero,
  .btn-link-panel {
    width: 100%;
    text-align: center;
  }

  .section-block {
    padding: 70px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .success-story {
    padding: 22px;
  }

  .success-story-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .success-story-brand span {
    padding: 0;
    border: 0;
  }

  .case-impact-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer {
    padding-top: 50px;
  }

  .footer-nav,
  .footer-brand {
    margin-bottom: 18px;
  }
}

/* ── Sobre Nosotros ── */
.nosotros-section .nosotros-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
}

.nosotros-why {
  background: var(--ink);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}

.nosotros-why h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.nosotros-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.nosotros-reasons li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.nosotros-reasons li .fa {
  color: var(--teal);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.nosotros-closing {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin: 0;
  font-style: italic;
}

/* ── Contenido AEO y páginas pilar ── */
.ai-journey {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin: 0 0 28px;
}

.ai-journey-core,
.ai-journey-step {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.ai-journey-core {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 175px;
  padding: 24px;
  background: linear-gradient(135deg, #083f9e 0%, #0c63e7 56%, #079a8b 100%);
  box-shadow: 0 16px 28px rgba(12, 99, 231, 0.2);
}

.ai-journey-core::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -54px;
  bottom: -86px;
  border: 24px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.ai-journey-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 20px;
}

.ai-journey-core > span:not(.ai-journey-icon) {
  color: #aeece7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ai-journey-core strong {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 21px;
  line-height: 1.28;
}

.ai-journey-step {
  padding: 21px 18px;
  border: 1px solid #cddcf0;
  background: rgba(255, 255, 255, 0.78);
}

.ai-journey-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #dceaff;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
}

.ai-journey-step h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.ai-journey-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.answer-grid {
  margin-top: 28px;
}

.answer-grid > div {
  margin-bottom: 20px;
}

.answer-card,
.faq-item,
.pillar-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(6, 29, 67, 0.06);
}

.answer-card h3,
.faq-item h3,
.pillar-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.answer-card p,
.faq-item p,
.pillar-card p {
  margin-bottom: 14px;
}

.answer-card a,
.pillar-card a,
.faq-item a {
  color: var(--brand-deep);
  font-weight: 700;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  height: auto;
}

.faq-item p:last-child,
.answer-card p:last-child,
.pillar-card p:last-child {
  margin-bottom: 0;
}

.pillar-hero {
  position: relative;
  padding: 148px 0 78px;
  background: radial-gradient(circle at 16% 16%, #dce9ff 0%, #eef4ff 48%, #f4f7fb 100%);
}

.pillar-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.12;
}

.pillar-hero .eyebrow {
  margin: 0 0 16px;
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 700;
}

.pillar-hero .lead {
  max-width: 790px;
  margin: 0;
  font-size: 18px;
}

.breadcrumb-line {
  margin: 0 0 16px;
  color: #526987;
  font-size: 14px;
}

.breadcrumb-line a {
  color: var(--brand-deep);
  font-weight: 600;
}

.entity-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.entity-map article {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d7e4f4;
}

.entity-map strong,
.entity-map span {
  display: block;
}

.entity-map strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.entity-map span {
  font-size: 14px;
}

@media (max-width: 991px) {
  .nosotros-why {
    margin-top: 36px;
    position: static;
  }

  .entity-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .faq-list,
  .entity-map {
    grid-template-columns: 1fr;
  }

  .pillar-hero {
    padding: 125px 0 58px;
  }

  .pillar-hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .ai-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-journey-core {
    grid-column: span 2;
    min-height: 150px;
  }
}

@media (max-width: 767px) {
  .ai-journey {
    grid-template-columns: 1fr;
  }

  .ai-journey-core {
    grid-column: auto;
  }
}
