/* =========================================
   CONFIDENCE SECTION - EDGE TO EDGE
========================================= */

.confidence-section-trek {
  position: relative;
  min-height: 110vh;
  padding: 120px 20px;
  color: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("../fotos/trek.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.confidence-section-route {
  position: relative;
  min-height: 110vh;
  padding: 120px 20px;
  color: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("../fotos/ruta.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.confidence-section {
  position: relative;
  min-height: 110vh;
  padding: 120px 20px;
  color: #ffffff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("../fotos/confidence.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.confidence-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.15) 20%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events: none;
}

.confidence-container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.confidence-heading {
  max-width: 760px;
  margin: 0 auto 70px auto;
  text-align: center;
}

.confidence-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 18px;
}

.confidence-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.confidence-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.84);
  max-width: 700px;
  margin: 0 auto;
}

/* GRID DE PILARES */

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.confidence-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 28px 22px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.confidence-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255,255,255,0.22);
}

.confidence-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

.confidence-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.confidence-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.confidence-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.80);
  text-align: center;
  margin: 0;
}

/* BLOQUE APP */

.confidence-app {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 30px;
  border-radius: 22px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.14);
  text-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

.confidence-app-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
  margin-bottom: 14px;
}

.confidence-app-title {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.confidence-app-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
  max-width: 680px;
  margin: 0 auto;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .confidence-section {
    min-height: 95vh;
    padding: 100px 20px;
  }

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

@media (max-width: 640px) {
  .confidence-section {
    min-height: auto;
    padding: 80px 18px;
    background-position: center center;
  }

  .confidence-heading {
    margin-bottom: 46px;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 42px;
  }

  .confidence-card {
    padding: 24px 18px;
  }

  .confidence-app {
    padding: 28px 20px;
    border-radius: 18px;
  }
}