@import url('./cosi-theme.css');
@import url('./app-support-footer.css');

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-height: 100vh;
  font-family: var(--cosi-font-body);
  color: var(--cosi-black);
  background: var(--cosi-gray);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-name, .section-head h2, .page-title h1 {
  font-family: var(--cosi-font);
}

a {
  color: var(--cosi-blue);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--cosi-border);
  box-shadow: 0 2px 12px rgba(0, 46, 130, 0.08);
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cosi-black);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }

.brand-logo {
  height: 80px;
  width: auto;
  max-width: min(280px, 46vw);
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  justify-content: center;
}

.site-header .brand-text {
  display: none;
}

.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cosi-blue-dark);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--cosi-muted);
  max-width: 240px;
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 10px 16px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .brand-logo { height: 64px; }
  .nav-links {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
  }

  .nav-pills {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .nav-tab {
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .nav-actions {
    order: 2;
    margin-left: auto;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-pills {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--cosi-gray);
  border: 1px solid var(--cosi-border);
  flex-shrink: 0;
  max-width: 100%;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--cosi-font);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--cosi-muted);
  white-space: nowrap;
  border: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  --nav-tab-accent: var(--cosi-blue);
}

.nav-tab:hover {
  text-decoration: none;
  color: var(--nav-tab-accent);
  background: color-mix(in srgb, var(--nav-tab-accent) 12%, transparent);
}

.nav-tab[aria-current="page"] {
  background: var(--nav-tab-accent);
  color: #fff;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--nav-tab-accent) 38%, transparent);
}

.nav-tab[aria-current="page"]:hover {
  background: var(--nav-tab-accent);
  color: #fff;
}

.nav-tab--home { --nav-tab-accent: var(--cosi-blue-dark); }
.nav-tab--lab { --nav-tab-accent: var(--cosi-blue); }
.nav-tab--bank { --nav-tab-accent: var(--cosi-red); }
.nav-tab--vet { --nav-tab-accent: var(--cosi-vet); }
.nav-tab--his { --nav-tab-accent: #312e81; }
.nav-tab--bpm { --nav-tab-accent: #b45309; }
.nav-tab--planes { --nav-tab-accent: #1d4ed8; }
.nav-tab--contacto { --nav-tab-accent: #475569; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header .nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--cosi-font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cosi-blue);
  border: 1px solid rgba(0, 93, 255, 0.35);
}
.btn-ghost:hover { background: rgba(0, 93, 255, 0.06); }

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-primary {
  background: var(--cosi-gradient);
  color: var(--cosi-white);
  box-shadow: 0 6px 18px rgba(0, 93, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0, 93, 255, 0.38); }

.btn-accent {
  background: var(--cosi-red);
  color: var(--cosi-white);
  box-shadow: 0 6px 18px rgba(231, 29, 43, 0.25);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px 64px;
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px 48px; }
}

.hero {
  padding: 56px 0 32px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 992px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 72px 0 40px;
  }
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cosi-blue-dark);
  margin-bottom: 18px;
}

.hero-eyebrow {
  font-family: var(--cosi-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cosi-blue);
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--cosi-muted);
  max-width: 34rem;
  margin-bottom: 28px;
}

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

.hero-visual {
  background: var(--cosi-white);
  border-radius: var(--cosi-radius-lg);
  padding: 32px;
  border: 1px solid var(--cosi-border);
  box-shadow: var(--cosi-shadow);
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.hero-visual-item {
  background: var(--cosi-gray);
  border-radius: 12px;
  padding: 20px 14px;
}
.hero-visual-item i {
  font-size: 1.6rem;
  color: var(--cosi-blue);
  margin-bottom: 8px;
}
.hero-visual-item span {
  display: block;
  font-family: var(--cosi-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cosi-black);
}

.section { margin-top: 48px; }

.section-head { margin-bottom: 24px; }
.section-head h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cosi-blue-dark);
}
.section-head p {
  margin-top: 10px;
  color: var(--cosi-muted);
  max-width: 42rem;
}

.grid-3, .grid-4 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-card, .solution-card {
  background: var(--cosi-white);
  border-radius: var(--cosi-radius);
  padding: 24px;
  border: 1px solid var(--cosi-border);
  box-shadow: 0 4px 16px rgba(0, 46, 130, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cosi-shadow);
}

.feature-card .icon,
.solution-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 93, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--cosi-blue);
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.feature-card h3,
.solution-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--cosi-blue-dark);
}
.feature-card p,
.solution-card p {
  color: var(--cosi-muted);
  font-size: 0.95rem;
}

.benefit-card {
  text-align: center;
  padding: 24px 16px;
}
.benefit-card i {
  font-size: 1.8rem;
  color: var(--cosi-blue);
  margin-bottom: 12px;
}
.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--cosi-muted);
}

.cta-banner {
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: var(--cosi-radius-lg);
  background: var(--cosi-gradient);
  color: var(--cosi-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.cta-banner p {
  opacity: 0.92;
  margin-bottom: 22px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary {
  background: var(--cosi-white);
  color: var(--cosi-blue-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cta-banner .btn-primary:hover { background: var(--cosi-gray); }

/* —— Banners corporativos —— */
.hero-banner-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}
@media (max-width: 768px) {
  .hero-banner-wrap { padding: 0 20px; }
}

.hero-banner {
  position: relative;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  box-shadow: var(--cosi-shadow);
  margin-top: 20px;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 20px 0 8px;
}

.hero-banner-cta .btn-ghost {
  background: var(--cosi-white);
  border-color: rgba(0, 93, 255, 0.35);
}

.intro-after-hero {
  margin-top: 28px;
  font-size: 1.05rem;
  color: var(--cosi-muted);
  max-width: 44rem;
}

.section-banner {
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 46, 130, 0.08);
  margin-bottom: 28px;
}

.section-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-feature {
  position: relative;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  min-height: 200px;
  margin: 28px 0;
  box-shadow: var(--cosi-shadow);
}

.banner-feature img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.banner-feature-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px;
  max-width: min(520px, 90%);
  background: linear-gradient(
    90deg,
    rgba(0, 46, 130, 0.88) 0%,
    rgba(0, 46, 130, 0.55) 55%,
    transparent 100%
  );
  color: var(--cosi-white);
}

.banner-feature-caption h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin-bottom: 8px;
  color: inherit;
  border: none;
  padding: 0;
}

.banner-feature-caption p {
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
  margin: 0;
}

/* COSI LAB — showcase WhatsApp + QR */
.lab-showcase {
  position: relative;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: url('/backgound-lab-sin-texto.png') center / cover no-repeat;
  box-shadow: var(--cosi-shadow);
  margin: 28px 0 36px;
}

.lab-showcase__overlay {
  min-height: 420px;
  padding: 36px 40px;
  background: linear-gradient(
    105deg,
    rgba(0, 11, 41, 0.93) 0%,
    rgba(0, 46, 130, 0.78) 45%,
    rgba(0, 93, 255, 0.32) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.lab-showcase__intro .page-eyebrow {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.lab-showcase__intro h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 8px 0 0;
  border: none;
  padding: 0;
}

.lab-showcase__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lab-highlight-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--cosi-radius-lg);
  padding: 24px;
  border-left: 4px solid var(--cosi-blue);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
}

.lab-highlight-card--whatsapp { border-left-color: #25d366; }
.lab-highlight-card--qr { border-left-color: var(--cosi-blue); }

.lab-highlight-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.lab-highlight-card--whatsapp .lab-highlight-card__icon {
  background: rgba(37, 211, 102, 0.16);
  color: #128c7e;
}

.lab-highlight-card--qr .lab-highlight-card__icon {
  background: rgba(0, 93, 255, 0.12);
  color: var(--cosi-blue-dark);
}

.lab-highlight-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--cosi-blue-dark);
}

.lab-highlight-card p {
  font-size: 0.92rem;
  color: var(--cosi-muted);
  margin: 0;
  line-height: 1.55;
}

.lab-highlight-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lab-highlight-card--whatsapp .lab-highlight-tag {
  background: rgba(37, 211, 102, 0.16);
  color: #0d6b4d;
}

.lab-highlight-card--qr .lab-highlight-tag {
  background: rgba(0, 93, 255, 0.12);
  color: var(--cosi-blue-dark);
}

@media (max-width: 768px) {
  .lab-showcase__overlay {
    padding: 24px 20px;
    min-height: auto;
  }
  .lab-showcase__cards {
    grid-template-columns: 1fr;
  }
}

.lab-integrations-section {
  margin: 8px 0 32px;
}

.lab-integrations-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--cosi-muted);
  line-height: 1.5;
}

/* COSI BANK — showcase slider (módulos + beneficios) */
.bank-showcase {
  margin: 8px 0 36px;
}

.bank-showcase__shell {
  position: relative;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  padding: 36px 64px 40px;
  box-shadow: var(--cosi-shadow);
  background: #eef1f5;
}

.bank-showcase__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/backgound-bank.png') center / cover no-repeat;
  opacity: 0.80;
  pointer-events: none;
  z-index: 0;
}

.bank-showcase__shell > * {
  position: relative;
  z-index: 1;
}

.bank-showcase__head {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 36px;
}

.bank-showcase__head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: #111;
  margin-bottom: 10px;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.95),
    0 1px 4px rgba(255, 255, 255, 0.9),
    0 2px 10px rgba(255, 255, 255, 0.75);
}

.bank-showcase__desc {
  max-width: 42rem;
  margin: 0 auto;
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.55;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(255, 255, 255, 0.65);
}

.bank-showcase__viewport {
  overflow: hidden;
}

.bank-showcase__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.bank-showcase__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.bank-showcase__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #8b0000;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bank-showcase__nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 28px rgba(139, 0, 0, 0.24);
  background: #fff;
}

.bank-showcase__nav:focus-visible {
  outline: 2px solid #8b0000;
  outline-offset: 2px;
}

.bank-showcase__nav--prev {
  left: 16px;
  transform: translateY(-50%);
}

.bank-showcase__nav--next {
  right: 16px;
  transform: translateY(-50%);
}

.bank-showcase__nav--prev:hover {
  transform: translateY(-50%) scale(1.06);
}

/* COSI BANK — módulos principales (infografía + texto) */
.bank-modules-section {
  margin: 8px 0 32px;
}

.bank-modules-section .section-head {
  margin-bottom: 24px;
}

.bank-modules,
.bank-benefits,
.bank-reports {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background: transparent;
}

.bank-modules__img,
.bank-benefits__img,
.bank-reports__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.bank-modules__grid {
  position: absolute;
  top: 4.6%;
  left: 4.1%;
  width: 91.8%;
  height: 90.4%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3.5% 3.8%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bank-module {
  padding: 27% 8% 7% 10%;
  overflow: hidden;
  min-width: 0;
}

.bank-module:nth-child(-n+3) {
  padding-top: calc(27% + 1.05em);
}

.bank-module:nth-child(n+4):nth-child(-n+6) {
  padding-top: calc(27% - 0.15em);
}

.bank-module:nth-child(n+7):nth-child(-n+9) {
  padding-top: calc(27% - 2.45em);
}

.bank-module:nth-child(3n + 1) {
  padding-left: 13%;
  padding-right: 5%;
}

.bank-module:nth-child(3n) {
  padding-left: calc(7% - 30px);
  padding-right: 12%;
}

.bank-module h3 {
  font-size: clamp(0.64rem, 1.08vw, 0.92rem);
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 0.4em;
  line-height: 1.24;
}

.bank-module p {
  font-size: clamp(0.56rem, 0.88vw, 0.78rem);
  color: #374151;
  margin: 0;
  line-height: 1.42;
}

.bank-module--blue { --bank-module-accent: var(--cosi-blue); }
.bank-module--green { --bank-module-accent: #1a9e6e; }
.bank-module--red { --bank-module-accent: var(--cosi-red); }

@media (max-width: 900px) {
  .bank-modules__grid {
    top: 4.4%;
    left: 3.8%;
    width: 92.4%;
    height: 91%;
    gap: 3.1% 3.4%;
  }

  .bank-module {
    padding-top: 28%;
    padding-left: 9%;
    padding-right: 7%;
  }

  .bank-module:nth-child(-n+3) {
    padding-top: calc(28% + 1.05em);
  }

  .bank-module:nth-child(n+4):nth-child(-n+6) {
    padding-top: calc(28% - 0.15em);
  }

  .bank-module:nth-child(n+7):nth-child(-n+9) {
    padding-top: calc(28% - 2.45em);
  }

  .bank-module:nth-child(3n + 1) {
    padding-left: 11%;
    padding-right: 4%;
  }

  .bank-module:nth-child(3n) {
    padding-left: calc(6% - 30px);
    padding-right: 10%;
  }

  .bank-module h3 {
    font-size: clamp(0.6rem, 2.15vw, 0.84rem);
  }

  .bank-module p {
    font-size: clamp(0.54rem, 1.8vw, 0.72rem);
  }
}

@media (max-width: 720px) {
  .bank-showcase__shell {
    padding: 24px 44px 28px;
  }

  .bank-showcase__head {
    padding: 0;
    margin-bottom: 16px;
  }

  .bank-showcase__nav {
    width: 36px;
    height: 36px;
  }

  .bank-showcase__nav--prev {
    left: 8px;
  }

  .bank-showcase__nav--next {
    right: 8px;
  }

  .bank-modules {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .bank-modules__img {
    display: none;
  }

  .bank-modules__grid {
    position: static;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bank-module {
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--cosi-radius-lg);
    box-shadow: var(--cosi-shadow);
    border-left: 4px solid var(--bank-module-accent, var(--cosi-blue));
  }

  .bank-module h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
  }

  .bank-module p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* COSI BANK — beneficios (infografía + texto) */
.bank-benefits-section {
  margin: 8px 0 36px;
}

.bank-benefits-section .section-head {
  margin-bottom: 24px;
}

.bank-benefits__grid,
.bank-reports__grid {
  position: absolute;
  top: 4.6%;
  left: 4.1%;
  width: 91.8%;
  height: 90.4%;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 3.5%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bank-benefit,
.bank-report {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 17% 0 21%;
  overflow: hidden;
  min-width: 0;
}

.bank-benefit:nth-child(3) {
  transform: translateY(-1.05em);
}

.bank-benefit:nth-child(4) {
  transform: translateY(-2.1em);
}

.bank-benefit h3,
.bank-report h3 {
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #0c2340;
  margin: 0 0 0.35em;
  line-height: 1.24;
}

.bank-report h3 {
  margin: 0;
}

.bank-benefit p {
  font-size: clamp(0.62rem, 0.95vw, 0.84rem);
  color: #374151;
  margin: 0;
  line-height: 1.42;
}

.bank-benefit--blue,
.bank-report--blue { --bank-benefit-accent: var(--cosi-blue); --bank-report-accent: var(--cosi-blue); }
.bank-benefit--green,
.bank-report--green { --bank-benefit-accent: #1a9e6e; --bank-report-accent: #1a9e6e; }
.bank-benefit--red,
.bank-report--red { --bank-benefit-accent: var(--cosi-red); --bank-report-accent: var(--cosi-red); }
.bank-benefit--indigo { --bank-benefit-accent: #1e3a8a; }

@media (max-width: 900px) {
  .bank-benefits__grid,
  .bank-reports__grid {
    top: 4.4%;
    left: 3.8%;
    width: 92.4%;
    height: 91%;
    gap: 3.1%;
  }

  .bank-benefit,
  .bank-report {
    padding: 0 15% 0 20%;
  }

  .bank-benefit h3,
  .bank-report h3 {
    font-size: clamp(0.68rem, 2.2vw, 0.92rem);
  }

  .bank-benefit p {
    font-size: clamp(0.58rem, 1.85vw, 0.78rem);
  }
}

@media (max-width: 720px) {
  .bank-benefits,
  .bank-reports {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .bank-benefits__img,
  .bank-reports__img {
    display: none;
  }

  .bank-benefits__grid,
  .bank-reports__grid {
    position: static;
    width: 100%;
    height: auto;
    gap: 14px;
  }

  .bank-benefit,
  .bank-report {
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--cosi-radius-lg);
    box-shadow: var(--cosi-shadow);
    border-left: 4px solid var(--bank-benefit-accent, var(--bank-report-accent, var(--cosi-blue)));
    transform: none;
  }

  .bank-benefit h3,
  .bank-report h3 {
    font-size: 1.02rem;
    margin-bottom: 8px;
  }

  .bank-report h3 {
    margin-bottom: 0;
  }

  .bank-benefit p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

.cta-banner-wave {
  background:
    linear-gradient(135deg, rgba(0, 46, 130, 0.78) 0%, rgba(0, 93, 255, 0.65) 100%),
    url('/abstract_wave_banner.png') center / cover no-repeat;
  color: var(--cosi-white);
}

.cta-banner-wave h2,
.cta-banner-wave p {
  color: var(--cosi-white);
  position: relative;
  z-index: 1;
}

.page-hero-banner {
  margin: 20px 0 32px;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  box-shadow: var(--cosi-shadow);
}

.page-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  margin-top: 64px;
  padding: 40px 50px 48px;
  border-top: 1px solid var(--cosi-border);
  background: var(--cosi-white);
}
@media (max-width: 768px) {
  .site-footer { padding: 32px 20px 40px; }
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer-inner { grid-template-columns: 1.2fr 1fr; }
}

.footer-brand { font-weight: 700; font-size: 1.1rem; color: var(--cosi-blue-dark); }
.footer-brand-row { display: flex; align-items: flex-start; gap: 14px; }
.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.footer-slogan {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cosi-muted);
  margin: 4px 0 8px;
}
.footer-brand-line {
  font-size: 0.88rem;
  color: var(--cosi-muted);
  max-width: 22rem;
}
.footer-note { color: var(--cosi-muted); font-size: 0.92rem; }
.footer-contact { font-size: 0.92rem; color: var(--cosi-black); }
.footer-contact a { word-break: break-word; }
.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.9rem;
}

.page-title { padding: 48px 0 12px; }
.page-title h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--cosi-blue-dark);
}
.page-title p {
  margin-top: 12px;
  color: var(--cosi-muted);
  max-width: 40rem;
}
.page-eyebrow {
  font-family: var(--cosi-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cosi-blue);
  margin-bottom: 10px;
}

.prose { margin-top: 28px; max-width: 44rem; }
.prose h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
  color: var(--cosi-blue-dark);
}
.prose p { color: #333; margin-bottom: 12px; }
.prose ul { margin: 12px 0 12px 1.4rem; color: #333; }

.values-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
.value-card {
  background: var(--cosi-white);
  border-radius: var(--cosi-radius);
  padding: 20px;
  border-left: 4px solid var(--cosi-blue);
  border: 1px solid var(--cosi-border);
  border-left: 4px solid var(--cosi-blue);
}
.value-card h3 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.92rem; color: var(--cosi-muted); }

.contact-grid {
  margin-top: 32px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}

.contact-form-card,
.contact-info-card {
  background: var(--cosi-white);
  border-radius: var(--cosi-radius);
  padding: 28px;
  border: 1px solid var(--cosi-border);
  box-shadow: 0 4px 16px rgba(0, 46, 130, 0.04);
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--cosi-font);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--cosi-black);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cosi-border);
  border-radius: 10px;
  font-family: var(--cosi-font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cosi-blue);
  box-shadow: 0 0 0 3px rgba(0, 93, 255, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: #166534; }
.form-status.error { color: var(--cosi-red); }

.plans-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  background: var(--cosi-white);
  border-radius: var(--cosi-radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--cosi-border);
  box-shadow: 0 4px 16px rgba(0, 46, 130, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.plan-card.featured {
  border-color: rgba(0, 93, 255, 0.45);
  box-shadow: var(--cosi-shadow);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cosi-red);
  color: var(--cosi-white);
  padding: 6px 10px;
  border-radius: 8px;
}
.plan-name { font-size: 1.15rem; font-weight: 700; color: var(--cosi-blue-dark); }
.plan-code { font-size: 0.75rem; color: var(--cosi-muted); font-weight: 600; }
.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cosi-blue);
  line-height: 1.2;
}
.plan-price span { font-size: 0.95rem; font-weight: 600; color: var(--cosi-muted); }
.plan-price-old { font-size: 0.9rem; color: var(--cosi-muted); text-decoration: line-through; }
.plan-desc { font-size: 0.92rem; color: var(--cosi-muted); flex: 1; }
.plan-meta {
  font-size: 0.88rem;
  color: #475569;
  padding-top: 8px;
  border-top: 1px dashed var(--cosi-border);
}
.plan-actions { margin-top: 8px; }
.plan-actions .btn { width: 100%; }
.plans-loading, .plans-error { padding: 32px; text-align: center; color: var(--cosi-muted); }
.plans-error { color: var(--cosi-red); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* —— Landing ecosistema de salud —— */
.ecosystem-body {
  background: var(--cosi-white);
}

.ecosystem-page {
  padding: 0;
  margin: 0;
}

.ecosystem-body .site-header {
  margin-bottom: 0;
}

.ecosystem-body main {
  margin: 0;
  padding: 0;
}

/* —— Paneles de producto (páginas LAB / BANK / VET) —— */
body.product-page--bank {
  background: #eef1f5;
}

.product-page-main {
  padding-top: 40px;
}

.page-title--compact {
  padding-top: 0;
}

.page-title--compact h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.product-panel--page {
  grid-area: unset;
  width: 100%;
  min-height: 240px;
  padding: 44px 50px;
  border-radius: 0;
}

.product-panel--page h1,
.product-panel--page h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.product-panel--page.product-panel--intro .product-panel-tagline {
  max-width: 22rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-panel--page.product-panel--intro .product-panel-desc {
  max-width: min(52rem, 100%);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.65;
  margin-bottom: 0;
}

.product-panel--intro .page-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .product-panel--page { padding: 36px 20px; min-height: 200px; }
}

.product-panel-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cosi-black);
  border: none;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Banner PNG del inicio — contenedor y paneles clicables */
.ecosystem-banner {
  position: relative;
  width: auto;
  max-width: min(100%, 1716px);
  margin: 0 auto;
  line-height: 0;
}

.ecosystem-banner__img {
  width: auto;
  max-width: min(100%, 1716px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.ecosystem-banner__panels {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ecosystem-banner__panel {
  position: absolute;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ecosystem-banner__panel:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ecosystem-banner__panel:focus-visible {
  outline: 2px solid var(--cosi-blue);
  outline-offset: -3px;
  background: rgba(0, 93, 255, 0.08);
}

.ecosystem-banner__panel--lab {
  left: 2.5%;
  top: 41.5%;
  width: 46%;
  height: 23%;
}

.ecosystem-banner__panel--bank {
  left: 51.5%;
  top: 41.5%;
  width: 46%;
  height: 23%;
}

.ecosystem-banner__panel--vet {
  left: 2.5%;
  top: 65.5%;
  width: 95%;
  height: 14.5%;
}

@media (max-width: 768px) {
  .ecosystem-banner__panel--lab,
  .ecosystem-banner__panel--bank {
    top: 40%;
    height: 24%;
  }

  .ecosystem-banner__panel--vet {
    top: 64.5%;
    height: 15%;
  }
}

.ecosystem-banner__orbs {
  position: absolute;
  top: 14%;
  right: 14%;
  left: auto;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: clamp(6px, 1vw, 16px);
  z-index: 2;
  line-height: normal;
}

.ecosystem-banner__orbs .product-orb {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
}

.ecosystem-banner__orbs .product-orb--image .product-orb__img {
  height: clamp(72px, 9.5vw, 132px);
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 46, 130, 0.35));
}

.ecosystem-banner__orbs .product-orb--bank {
  transform: translateY(12%);
}

.ecosystem-banner__orbs .product-orb--image:hover {
  transform: translateY(-4px) scale(1.04);
}

.ecosystem-banner__orbs .product-orb--bank:hover {
  transform: translateY(calc(12% - 4px)) scale(1.04);
}

@media (max-width: 991px) {
  .ecosystem-banner__orbs {
    top: 12%;
    right: 10%;
    gap: 4px;
  }

  .ecosystem-banner__orbs .product-orb--image .product-orb__img {
    height: clamp(56px, 14vw, 88px);
  }
}

@media (max-width: 640px) {
  .ecosystem-banner__orbs {
    top: 10%;
    right: 6%;
    gap: 2px;
  }

  .ecosystem-banner__orbs .product-orb--image .product-orb__img {
    height: clamp(48px, 12vw, 72px);
  }

  .ecosystem-banner__orbs .product-orb--bank {
    transform: translateY(10%);
  }

  .ecosystem-banner__orbs .product-orb--bank:hover {
    transform: translateY(calc(10% - 4px)) scale(1.04);
  }
}

.ecosystem-hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 720px);
  padding: 40px 0 56px;
  background: var(--cosi-hero-bg);
  color: #fff;
}

/* Banner PNG del inicio: pegado al menú, sin padding del hero genérico */
.ecosystem-hero.ecosystem-hero--banner {
  padding: 0;
  margin: 0;
  min-height: 0;
  overflow: visible;
  background: #001a3d;
  line-height: 0;
}

.ecosystem-hero.ecosystem-hero--banner .ecosystem-banner {
  position: relative;
  width: auto;
  max-width: min(100%, 1716px);
  margin: 0 auto;
  line-height: 0;
}

.ecosystem-hero.ecosystem-hero--banner .ecosystem-banner__img {
  width: auto;
  max-width: min(100%, 1716px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.ecosystem-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/backgound-sin-logo.png') center center / cover no-repeat;
}

.ecosystem-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 11, 41, 0.88) 0%,
    rgba(0, 11, 41, 0.55) 38%,
    rgba(0, 11, 41, 0.12) 62%,
    transparent 100%
  );
}

@media (max-width: 768px) {
  .ecosystem-hero-bg {
    background-position: 65% center;
  }
  .ecosystem-hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(0, 11, 41, 0.9) 0%,
      rgba(0, 11, 41, 0.65) 45%,
      rgba(0, 11, 41, 0.35) 100%
    );
  }
}

.ecosystem-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 50px;
  min-height: calc(min(92vh, 720px) - 96px);
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .ecosystem-hero-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .ecosystem-hero:not(.ecosystem-hero--banner) { min-height: auto; padding: 28px 0 40px; }
  .ecosystem-hero.ecosystem-hero--banner { padding: 0; min-height: 0; }
  .ecosystem-hero-inner { padding: 0 20px; min-height: auto; }
}

.ecosystem-kicker {
  font-family: var(--cosi-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}

.ecosystem-hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  line-height: 1.18;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 16px;
  font-weight: 700;
}

.ecosystem-hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.ecosystem-pillars {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ecosystem-pillars { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.ecosystem-pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ecosystem-pillar i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 93, 255, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  box-shadow: 0 0 20px rgba(0, 93, 255, 0.15);
}

.ecosystem-pillar strong {
  display: block;
  font-family: var(--cosi-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}

.ecosystem-pillar span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

/* Visual derecha: orbes sobre la plataforma del fondo */
.ecosystem-hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4%;
}

@media (max-width: 991px) {
  .ecosystem-hero-visual { min-height: 280px; margin-top: 8px; padding-bottom: 2%; }
}

.product-orbs--stage {
  position: relative;
  width: min(100%, 580px);
  height: clamp(220px, 28vw, 300px);
  display: block;
  padding: 0;
}

.product-orbs--stage .product-orb {
  position: absolute;
  border-width: 0;
}

.product-orbs--stage .product-orb--image {
  width: auto;
  max-width: none;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  gap: 0;
}

.product-orbs--stage .product-orb--image .product-orb__img {
  height: clamp(118px, 14vw, 188px);
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.product-orb--pos-left {
  left: 0;
  bottom: 8%;
  z-index: 2;
}

.product-orb--pos-center {
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  z-index: 3;
}

.product-orb--pos-center:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
}

.product-orb--pos-right {
  right: 0;
  bottom: 8%;
  z-index: 2;
}

.product-orbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
}

.product-orb {
  position: relative;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-orb:hover {
  transform: translateY(-3px) scale(1.03);
  text-decoration: none;
}

.product-orb-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  opacity: 0.65;
  filter: blur(18px);
  z-index: -1;
}

.product-orb i { font-size: 1.5rem; }

.product-orb strong {
  font-family: var(--cosi-font);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.product-orb small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.product-orb--image {
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  text-decoration: none;
  color: #fff;
  display: block;
  flex-direction: unset;
  align-items: unset;
  justify-content: unset;
  gap: 0;
}

.product-orb--image:hover {
  transform: translateY(-4px) scale(1.04);
  text-decoration: none;
  color: #fff;
}

.product-orb--image.product-orb--pos-center:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
}

.product-orb--image .product-orb-glow {
  display: none;
}

@media (max-width: 640px) {
  .product-orbs--stage {
    width: min(100%, 300px);
    height: 200px;
  }
  .product-orbs--stage .product-orb--image .product-orb__img {
    height: clamp(88px, 24vw, 118px);
  }
  .product-orb--pos-left { left: -4%; bottom: 4%; }
  .product-orb--pos-right { right: -4%; bottom: 4%; }
  .product-orb--pos-center { bottom: 18%; }
}

.product-panel {
  position: relative;
  min-height: 240px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-panel:hover { text-decoration: none; }

.product-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.product-panel > * {
  position: relative;
  z-index: 1;
}

.product-panel--lab { background-image: url('/backgound-lab-sin-texto.png'); }
.product-panel--bank { background-image: url('/abstract_wave_banner.png'); }
.product-panel--vet { background-image: url('/server_room_banner.png'); }

.product-panel h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.product-panel p {
  font-size: 0.92rem;
  max-width: 22rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-panel-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-panel-icons span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.product-panel--lab::before {
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.84) 0%, rgba(0, 46, 130, 0.58) 100%);
}
.product-panel--lab h2,
.product-panel--lab h1,
.product-panel--lab p,
.product-panel--lab .page-eyebrow,
.product-panel--lab .product-panel-icons span,
.product-panel--lab .product-panel-link { color: #fff; }

.product-panel--bank::before {
  background: linear-gradient(135deg, rgba(231, 29, 43, 0.86) 0%, rgba(153, 27, 27, 0.62) 100%);
}
.product-panel--bank h2,
.product-panel--bank h1,
.product-panel--bank p,
.product-panel--bank .product-panel-icons span,
.product-panel--bank .product-panel-link { color: #fff; }

.product-panel--vet::before {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.88) 0%, rgba(15, 118, 110, 0.65) 100%);
}
.product-panel--vet h2,
.product-panel--vet h1,
.product-panel--vet p,
.product-panel--vet .product-panel-icons span { color: #fff; }

.product-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* Infografías integraciones / decisiones */
.ecosystem-tech-section {
  padding: 40px 24px 48px;
  background: var(--cosi-gray);
}

.ecosystem-tech-section--alt {
  background: var(--cosi-white);
  border-top: 1px solid var(--cosi-border);
  padding-top: 48px;
  padding-bottom: 56px;
}

.ecosystem-tech-wide {
  width: min(100%, 1536px);
  margin: 0 auto;
}

.tech-visual {
  margin: 0;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
  box-shadow: var(--cosi-shadow);
  background: var(--cosi-white);
  border: 1px solid var(--cosi-border);
}

.tech-visual--wide img {
  width: 100%;
  height: auto;
  display: block;
}

.ecosystem-tech-page {
  padding-top: 48px;
  padding-bottom: 64px;
  min-height: calc(100vh - 220px);
}

@media (max-width: 1200px) {
  .site-header-inner { padding-left: 24px; padding-right: 24px; }
  .nav-links { gap: 0; }
  .nav-tab { font-size: 0.7rem; padding: 5px 10px; }
}

@media (max-width: 768px) {
  .ecosystem-tech-section,
  .ecosystem-tech-section--alt {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ecosystem-promo-section,
  .ecosystem-promo-section--alt {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tech-visual {
    border-radius: var(--cosi-radius);
  }
}

/* Promo Planes / HIS / BPM */
.ecosystem-promo-section {
  padding: 0 24px 48px;
  background: var(--cosi-white);
  border-top: 1px solid var(--cosi-border);
}

.ecosystem-promo-section--alt {
  background: var(--cosi-gray);
}

.ecosystem-promo-panel {
  text-decoration: none;
  border-radius: var(--cosi-radius-lg);
  overflow: hidden;
}

.ecosystem-promo-panel:hover {
  text-decoration: none;
}

.product-panel--plans {
  background-image: url('/abstract_wave_banner.png');
}
.product-panel--plans::before {
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.88) 0%, rgba(0, 46, 130, 0.72) 100%);
}
.product-panel--plans h2,
.product-panel--plans p,
.product-panel--plans .product-panel-icons span,
.product-panel--plans .product-panel-link { color: #fff; }

.product-panel--his {
  background-image: url('/global_network_banner.png');
}
.product-panel--his::before {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.9) 0%, rgba(0, 46, 130, 0.75) 100%);
}
.product-panel--his h2,
.product-panel--his p,
.product-panel--his .product-panel-icons span,
.product-panel--his .product-panel-link { color: #fff; }

.product-panel--bpm {
  background-image: url('/server_room_banner.png');
}
.product-panel--bpm::before {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.88) 0%, rgba(231, 29, 43, 0.72) 100%);
}
.product-panel--bpm h2,
.product-panel--bpm p,
.product-panel--bpm .product-panel-icons span,
.product-panel--bpm .product-panel-link { color: #fff; }

.ecosystem-promo-panel.product-panel--page {
  border-radius: var(--cosi-radius-lg);
}

.ecosystem-social {
  position: absolute;
  right: 50px;
  bottom: 18px;
  display: flex;
  gap: 12px;
}

@media (max-width: 768px) {
  .ecosystem-social {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
}

.ecosystem-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.15s;
}
.ecosystem-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.ecosystem-cta-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 50px 56px;
}

@media (max-width: 768px) {
  .ecosystem-cta-wrap { padding: 32px 20px 48px; }
}

.ecosystem-cta-wrap .cta-banner {
  margin-top: 0;
}

.ecosystem-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
