/* --------------------------------------------------- Home - Top bar, Hero, Feature cards */


/* Hero section */
.section-banner-hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/bg-banner.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding: 80px 20px 60px;
  backdrop-filter: blur(10px);
}
.section-banner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}
.section-banner-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.section-banner-hero-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.section-banner-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.btn-hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background-color: #10642E;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-hero-cta:hover {
  background-color: #fff;
  color: #10642E !important;
  border-color: #fff;
}

/* Feature cards - superpuestas sobre el hero */
.section-feature-cards {
  padding: 0 15px 80px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #3f3f3f;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: #696969;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Responsive hero */
@media (max-width: 767px) {
  .section-banner-hero {
    min-height: 480px;
    padding: 60px 15px 50px;
  }
  .section-banner-hero-content h1 {
    font-size: 1.75rem;
  }
  .section-banner-hero-content p {
    font-size: 1rem;
  }
  .section-feature-cards {
    margin-top: -60px;
    padding: 0 15px 60px;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .section-banner-hero-content h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.5rem !important;
  }
}

/* --------------------------------------------------- Section Selección Oportunidades */

.section-seleccion {
  background: #fff;
  padding: 30px 15px;
  text-align: center;
}

.seleccion-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}
.seleccion-card:hover {
  background: linear-gradient(180deg, #90ce50 0%, #10642E 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(16,100,46,0.25);
}
.seleccion-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #90ce50;
  margin-bottom: 1rem;
}
.seleccion-card:hover h3 {
  color: #fff;
}
.seleccion-card p {
  font-size: 0.95rem;
  color: #696969;
  line-height: 1.6;
  margin: 0;
}
.seleccion-card:hover p {
  color: #fff;
}

.seleccion-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  border: 2px solid rgba(16,100,46,0.3);
  transition: all 0.3s ease;
}
.seleccion-card:hover .seleccion-icon-circle {
  background-color: #fff;
  color: #10642E;
  border-color: #10642E;
}

@media (max-width: 767px) {
  .section-seleccion {
    padding: 60px 15px;
  }
  .seleccion-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
  }
}

/* --------------------------------------------------- Section Four FAQ (rediseño) */

.section-four {
  background-color: #f8f8f8 !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 80px 15px !important;
}

.faq-column-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 1.5rem;
  height: 100%;
}

.section-four .faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
  text-decoration: none !important;
  color: inherit;
  transition: opacity 0.2s;
}

.section-four .faq-item:hover {
  opacity: 0.85;
}

.section-four .faq-column-card .faq-item:last-child {
  border-bottom: none;
}

.section-four .txt-faq-two {
  color: #3d8b3d !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  flex: 1;
  margin: 0;
}

.section-four .txt-faq-two:hover {
  color: #2d6b2d !important;
}

.section-four .faq-arrow {
  color: #3d8b3d;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

@media (max-width: 767px) {
  .section-four {
    padding: 60px 15px !important;
  }
  .faq-column-card {
    margin-bottom: 1rem;
  }
}

/* --------------------------------------------------- Section Five Partners (rediseño) */

.section-five {
  background-color: #fff !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 80px 15px !important;
}

.section-five .title-box {
  display: none !important;
}

.section-five-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-five-subtitle {
  color: #6ab04c;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.section-five-title {
  color: #333 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  margin-bottom: 0.75rem;
}

.section-five-dots {
  color: #6ab04c;
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.section-five-desc {
  color: #696969;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.section-five-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  overflow: visible;
}

.section-five-logo-wrap {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-five .img-partner {
  max-width: 220px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  display: block;
}

.section-five .img-partner:hover {
  transform: scale(1.05) !important;
}

@media (max-width: 767px) {
  .section-five {
    padding: 60px 15px !important;
  }
  .section-five-logos {
    gap: 2rem;
    flex-direction: column;
  }
  .section-five .img-partner {
    max-width: 180px;
  }
}

/* --------------------------------------------------- Section Six Testimonios (rediseño) */

.section-six {
  position: relative;
  padding: 80px 15px;
  overflow: hidden;
  background-color: #0d4d24;
}

.section-six-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/bg-testimonial.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.section-six-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 77, 36, 0.40);
}

.section-six .container {
  position: relative;
  z-index: 1;
}

.section-six-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-six-subtitle {
  color: #6ab04c;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.section-six-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-six-dots {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 0;
}

.section-six .testimonials {
  padding: 30px 0 20px;
  position: relative;
}

.section-six .testimonials::before {
  display: none;
}

.section-six .testi .item {
  background: transparent;
  padding: 0 10px 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 2rem 2rem 1.5rem;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.testimonial-quote {
  color: #696969;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Bloque usuario: foto semi-oval con fondo gris oscuro + nombre/rol alineados */
.testimonial-user-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.testimonial-photo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50% 50%;
  overflow: hidden;
  background: #3d3d3d;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.testimonial-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.testimonial-user-info {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  color: #333;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.testimonial-role {
  color: #6ab04c;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Owl Carousel dots - verde activo, blanco inactivo */
.section-six .owl-dots {
  margin-top: 1.5rem;
}

.section-six .owl-dots .owl-dot span {
  background: #fff !important;
  opacity: 0.7;
}

.section-six .owl-dots .owl-dot.active span,
.section-six .owl-dots .owl-dot:hover span {
  background: #6ab04c !important;
  opacity: 1;
}

@media (max-width: 767px) {
  .section-six {
    padding: 60px 15px;
  }
  .testimonial-card {
    min-height: 240px;
    padding: 1.5rem;
  }
}
