/* =============================================
   CONÓCENOS PAGE
   ============================================= */

/* ---- active nav ---- */
.cnc-nav-active {
  color: #01579e !important;
  font-weight: 700 !important;
}

/* ---- HERO ---- */
.cnc-hero {
  position: relative;
  min-height: clamp(320px, 45vw, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cnc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cnc-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  opacity: 0.55;
}

.cnc-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 120px) clamp(20px, 8vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 1100px;
  width: 100%;
}

.cnc-hero__label {
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #f0eade;
  font-size: clamp(14px, 1.5vw, 24px);
  letter-spacing: 0.1em;
  margin: 0;
}

.cnc-hero__title {
  font-family: var(--h-2-font-family);
  font-weight: var(--h-2-font-weight);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.cnc-hero__claim {
  font-family: "DM Serif Display", Helvetica;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 32px);
  color: #f0eade;
  margin: 0;
}

/* ---- HISTORIA ---- */
.cnc-historia__inner {
  display: flex;
  gap: clamp(32px, 5vw, 80px);
  align-items: flex-start;
}

.cnc-historia__text {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cnc-historia__image {
  flex: 0 0 clamp(260px, 40%, 620px);
  border-radius: 32px;
  overflow: hidden;
}

.cnc-historia__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- VALORES / 4 PUNTOS ---- */
.cnc-valores {
  background-color: #f0eade80;
}

.cnc-valores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}

.cnc-valor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 24px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  font-family: var(--subtitulo-font-family);
  font-weight: var(--subtitulo-font-weight);
  font-size: clamp(15px, 1.4vw, 24px);
  line-height: 1.3;
  color: #000;
}

.cnc-valor-item:last-child {
  border-right: none;
}

.cnc-valor-icon {
  width: clamp(72px, 7vw, 112px);
  height: clamp(72px, 7vw, 112px);
  object-fit: contain;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .cnc-historia__inner {
    flex-direction: column;
  }

  .cnc-historia__image {
    flex: none;
    width: 100%;
    max-width: 600px;
    align-self: center;
  }

  .cnc-valores__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cnc-valor-item:nth-child(2) {
    border-right: none;
  }
  .cnc-valor-item:nth-child(3) {
    border-bottom: none;
    border-right: 1px solid #ccc;
  }
  .cnc-valor-item:nth-child(4) {
    border-bottom: none;
    border-right: none;
  }
}

@media (max-width: 640px) {
  .cnc-hero__content {
    padding-inline: 20px;
    padding-block: 40px;
  }

  .cnc-hero__title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .cnc-historia__image {
    max-width: 100%;
  }

  .cnc-valores__grid {
    grid-template-columns: 1fr;
    border-top: 1px solid #ccc;
  }

  .cnc-valor-item {
    border-right: none !important;
    border-bottom: 1px solid #ccc;
    padding: 28px 16px;
  }

  .cnc-valor-item:last-child {
    border-bottom: none;
  }
}
