.hero {
  background: var(--bg);
  padding: 15px 0;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  background: var(--bg);
  padding: 15px 0;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner {
  margin: 20px 313px 20px 313px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-soft);
}
.hero-media {
  width: 100%;
  max-width: 1488px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-content h3 {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  padding: 0;
  margin: 0 0 10px;
}

.hero-content p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 0 10px;
}
.carousel {
  position: relative;
  width: 100%;
  max-width: 1488px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #dbe4ee;
}

.carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-ui {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-caption {
  margin-left: auto;
  text-align: right;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background-color: #001c762d;
  padding: 10px;
  border-radius: 1000px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
  background-color: #001c762d;
  padding: 10px;
  border-radius: 1000px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot.active {
  background: #001c76;
  box-shadow: 0 0 0 3px rgba(50, 146, 255, 0.25);
}

.hero-btn {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  position: relative;
  z-index: 30;
}

.hero-btn a {
  position: relative;
  z-index: 31;
  display: inline-flex;
}

.hero-content {
  width: 100%;
  max-width: 1488px;
  margin-top: -20px;
  text-align: left;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-content-C {
  width: 100%;
  max-width: 1488px;
  margin-top: 10px;
  text-align: left;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-content-C h3 {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  padding: 0;
  margin: 0 0 10px;
}

.hero-content-C p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 10px;
}
.hero-content h3,
.hero-content p,
.hero-content .section-kicker {
  pointer-events: auto;
}
.carousel {
  position: relative;
  width: 100%;
  max-width: 1488px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #dbe4ee;
}

.carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-overlay-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 50px;
  height: auto;
  z-index: 3;
}

.carousel-ui {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-caption {
  margin-left: auto;
  text-align: right;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background-color: #001c762d;
  padding: 10px;
  border-radius: 1000px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
  background-color: #001c762d;
  padding: 10px;
  border-radius: 1000px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot.active {
  background: #001c76;
  box-shadow: 0 0 0 3px rgba(50, 146, 255, 0.25);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-card {
  display: flex;
  gap: 18px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-media {
  margin-top: 2px;
}

.feature-card-media img {
  width: 100%;
  max-width: 120px;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 66%;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-card-video {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card-video .feature-card-media {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.feature-card-video .feature-card-body {
  width: 100%;
  align-items: center;
}
/* TRABAJA CON NOSOTROS */
.work-section {
  padding: 50px 0 70px;
}

.work-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  padding: 32px;
}

.work-content h2 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 900;
  color: #111827;
}

.work-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.work-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.work-image {
  border-radius: 18px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
}
/* ===================== */
/* NUEVO CALL CENTER */
/* ===================== */

.callcenter-section {
  padding: 50px 0 70px;
}

.callcenter-box {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: center;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  padding: 32px;
  margin: 0 0 0 0;
  overflow: hidden;
}

.callcenter-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 310px;
  background: #eef2f7;
}

.callcenter-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 28, 118, 0.18),
    rgba(0, 28, 118, 0.03)
  );
  pointer-events: none;
}

.callcenter-image img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  display: block;
}

.callcenter-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.callcenter-content h2 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  color: #111827;
  line-height: 1.15;
}

.callcenter-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.callcenter-content strong {
  color: #001c76;
  font-weight: 900;
}

.callcenter-highlights {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 20px;
}

.callcenter-highlight {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
}

.callcenter-highlight span {
  display: block;
  margin-top: -6px;
  margin-bottom: 6px;
  color: #001c76;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.callcenter-highlight p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.callcenter-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* BANNER INSTITUCIONAL */
.banner-section {
  padding: 28px 0 20px;
}


.institutional-banner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0 0 22px 0;
}

.institutional-logo-item {
  display: flex;
  align-items: center;
  justify-content:center;
  gap: 60px;
  width: 100%;
}

.institutional-logo-item img {
  max-height: 82px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.institutional-banner-text {
  border-top: 1px solid #eef2f7;
  padding-top: 18px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 10px;
}
.feature-card-media video {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: -20.8px;
  margin-bottom: 10px;
}
/* ===================== */
/* RESPONSIVE INDEX */
/* ===================== */
@media (max-width: 860px) {
  .institutional-banner {
    padding: 24px 22px 20px;
  }

  .institutional-banner-logos {
    gap: 24px;
  }

  .institutional-logo-item img {
    max-height: 64px;
  }

  .institutional-banner-text p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding: 20px 0;
  }

  .hero-content {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
  }

  .hero-content h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .section-kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .section {
    margin: 0 0 10px 0;
    padding: 0;
  }
  .hero-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

  .hero-btn a {
    width: auto;
  }
  .button-secondary {
    margin-top: 10px;
  }
  hr {
    margin: 0 auto 0 auto;
    padding: 0;
  }
  /* BANNER */
  .banner {
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .institutional-logo-item img {
    max-height: 52px;
  }

  .institutional-banner-text {
    font-size: 13px;
  }

  /* CARRUSEL */
  .carousel {
    height: 240px;
    border-radius: 18px;
  }

  .carousel-caption {
    font-size: 11px;
    padding: 8px 12px;
  }

  /* CARDS */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-card-media {
    display: none;
  }

  .feature-card-body {
    width: 100%;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .feature-card-media video {
    max-width: 100%;
    height: 180px;
  }

  /* TRABAJA CON NOSOTROS */
  .work-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px;
  }

  .work-content {
    display: contents;
  }

  .work-content h2 {
    order: 1;
    text-align: center;
    font-size: 26px;
  }

  .work-content p {
    order: 1;
    text-align: center;
    font-size: 15px;
  }

  .work-image {
    order: 2;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .work-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .work-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }
    /* TEXTO INICIO - AUTO RECAMBIOS VILBER Y CERDÁ */
  .hero-content-C {
    margin-top: 8px;
    text-align: center;
    padding: 0 8px;
    pointer-events: auto;
  }

  .hero-content-C h3 {
    font-size: 24px;
    line-height: 1.22;
    margin: 0 0 10px;
    text-align: center;
  }

  .hero-content-C p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto 16px;
    max-width: 92%;
    text-align: center;
  }

  /* NUEVO CALL CENTER */
  .callcenter-section {
    padding: 34px 0 44px;
  }

  .callcenter-section .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .callcenter-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
    margin: 0;
  }

  .callcenter-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .callcenter-content h2 {
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 12px;
  }

  .callcenter-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
  }

  .callcenter-highlights {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 16px;
  }

  .callcenter-highlight {
    padding: 9px 6px;
    border-radius: 10px;
  }

  .callcenter-highlight span {
    font-size: 18px;
    margin: 0 0 4px;
    line-height: 1;
  }

  .callcenter-highlight p {
    font-size: 10px;
    line-height: 1.25;
    margin: 0;
  }

  .callcenter-actions {
    width: 100%;
    justify-content: center;
    margin-top: 2px;
  }
}