/*taegetas principales*/
.target {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 40px;
  gap: 30px;
}

.target-1 {
  flex: 1;
  padding: 0;
  border: 2px solid #000000;
  border-radius: 12px;
  background-color: #ffdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.target-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.target-2 {
  flex: 1;
  padding: 0;
   border: 2px solid #000000;
  border-radius: 12px;
  background-color: #ffdcdc;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow: hidden;
}

.target-2 h1,
.target-2 p {
  padding: 0 25px;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.target-2 h1 {
  padding-top: 15px;
}

.target-2 p:last-child {
  padding-bottom: 15px;
}

.target-2 img {
  max-width: 100%;
  height: auto;
}

/*logos de las marcas*/
.brands-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.brands-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  align-items: center;
}

.brand-item {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 15px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.brand-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), trans
parent);                                                                          transition: left 0.6s ease;
}

.brand-item:hover::before {
  left: 100%;
}

.brand-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.08);
  transform: translateY(-2px);
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0;
  text-align: center;
  font-weight: 700;
}

/* Sección paralela: segunda + misión/visión/valores */
.paralelo-section {
  display: flex;
  padding: 60px 40px;
  gap: 40px;
  background: var(--bg-white);
  align-items: flex-start;
}

.paralelo-section .segunda {
  flex: 1;
}

.paralelo-section .segunda .izquierda {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.paralelo-section .segunda .texto {
  color: var(--text-dark);
  line-height: 1.6;
}

.paralelo-section .segunda .texto p {
  margin-bottom: 20px;
}

.paralelo-section .segunda .texto p:last-child {
  margin-bottom: 0;
}

.paralelo-section .cards-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Responsive: stack cards and adjust spacing on small screens */
@media (max-width: 768px) {
  .paralelo-section {
    flex-direction: column;
  }

  .target {
    flex-direction: column;
    padding: 30px 0;
  }

  .target-1,
  .target-2 {
    min-height: auto;
  }

  .target-1 img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
  }

  .target-2 {
    padding-top: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .segunda .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .segunda img {
    max-width: 200px;
    margin-bottom: 18px;
  }

  .segunda .texto {
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .target-1 img {
    height: 200px;
  }
}

.card-container-standalone {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card {
  flex: none;
  width: 100%;
  padding: 30px;
  border-radius: 12px;
  background-color: #fff;
  border: 2px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 15px;
  text-align: center;
}

.card h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.card p {
  color: var(--text-dark);
  line-height: 1.7;
  text-align: justify;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  padding: 8px 0;
  color: var(--text-dark);
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}

.card ul li:last-child {
  border-bottom: none;
}

.card-mision {
  border-color: #25d366;
}

.card-vision {
  border-color: #3498db;
}

.card-valores {
  border-color: #f39c12;
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
}

/* ========== RESPONSIVE NOSOTROS COMPLETO ========== */

@media (max-width: 1024px) {
  .target {
    padding: 40px 30px;
    gap: 20px;
  }

  .paralelo-section {
    padding: 40px 30px;
    gap: 30px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .target {
    flex-direction: column;
    padding: 30px 20px;
  }

  .target-1,
  .target-2 {
    width: 100%;
  }

  .target-1 img {
    height: 300px;
  }

  .paralelo-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .paralelo-section .segunda,
  .paralelo-section .cards-container {
    width: 100%;
  }

  .brands-section {
    padding: 50px 0;
  }

  .brands-carousel {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .target {
    padding: 25px 15px;
    gap: 15px;
  }

  .target-1 img {
    height: 250px;
  }

  .target-2 h1 {
    font-size: 24px;
    padding-top: 10px;
  }

  .target-2 p {
    font-size: 14px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .brands-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .brand-item {
    height: 70px;
    padding: 10px;
  }

  .paralelo-section {
    padding: 25px 15px;
    gap: 25px;
  }

  .paralelo-section .segunda .izquierda img {
    max-width: 150px;
  }

  .paralelo-section .segunda .texto p {
    font-size: 14px;
  }

  .card {
    padding: 20px;
  }

  .card-icon {
    font-size: 36px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
  }

  .card ul li {
    font-size: 14px;
    padding: 6px 0;
  }
}

@media (max-width: 480px) {
  .target {
    padding: 20px 10px;
  }

  .target-1 img {
    height: 200px;
  }

  .target-2 h1 {
    font-size: 20px;
  }

  .target-2 p {
    font-size: 13px;
  }

  .section-title {
    font-size: 20px;
  }

  .brands-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-item {
    height: 60px;
    padding: 8px;
  }

  .paralelo-section {
    padding: 20px 10px;
  }

  .paralelo-section .segunda .izquierda img {
    max-width: 120px;
  }

  .card {
    padding: 15px;
  }

  .card-icon {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 13px;
  }

  .card ul li {
    font-size: 13px;
  }
}
