/**
 * Invoicing View Stylesheet
 *
 * @author 					Luis F Real
 * @copyright 				Copyright (c) 2017. Inttechs, Internet Technologies
 * @creation date 			February 1, 2022
*/
/* -------------------------------------------------------------------------
* Intro
* -------------------------------------------------------------------------
*/

#intro {
  background-color: #ffffff;
  background-image: url("../../images/apls/header.png");
  background-size: cover;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: bottom right;
  position: relative;
  max-height: 550px;
}

#intro .backdrop {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  z-index: 0;
}

#intro div.title-container {
  padding-top: 60px;
}

#intro div.title-container div.icon {
  width: 60px;
  height: 60px;
  background-image: url("../../images/faqs/icon_white.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}

#intro div.title-container h1 {
  color: #ffffff;
  text-align: center;
  font-size: 50px;
  text-shadow: 1px 3px 2px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 1024px) {
  #intro div.title-container h1 {
    font-size: 45px;
  }
}

@media only screen and (max-width: 991px) {
  #intro {
    height: 300px !important;
  }

  #intro div.title-container {
    margin-top: 0px;
  }
}

@media only screen and (max-width: 550px) {
  #intro div.title-container {
    margin-top: 0px;
  }

  #intro div.title-container div.icon {
    width: 50px;
    height: 50px;
  }

  #intro div.title-container h1 {
    font-size: 32px;
  }
}

/* -------------------------------------------------------------------------
 * Secciones Generales APLS
 * -------------------------------------------------------------------------
 */

.apls-section {
  padding: 60px 0;
}

.apls-section--white {
  background-color: #ffffff;
}

.apls-section--light {
  background-color: #ffffff;
}

.apls-section--gray {
  background-color: #f0f1f3;
}

/* -------------------------------------------------------------------------
 * Sección Intro
 * -------------------------------------------------------------------------
 */

.apls-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
}

.apls-intro-text {
  font-size: 16px;
  line-height: 1.75;
  color: #444444;
  max-width: 960px;
}

/* -------------------------------------------------------------------------
 * Sección Tarjetas (Valor + Cómo Ayudan)
 * -------------------------------------------------------------------------
 */

.apls-cards-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.apls-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 36px;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); */
  transition: box-shadow 0.3s ease;
}

.apls-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.apls-card__icon {
  margin-bottom: 24px;
}

.apls-card__icon svg {
  display: block;
}

.apls-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.35;
}

.apls-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 12px;
}

.apls-card__text:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .apls-cards-row {
    flex-direction: column;
    gap: 24px;
  }

  .apls-card {
    padding: 30px 24px;
  }

  .apls-card__title {
    font-size: 20px;
  }
}

/* -------------------------------------------------------------------------
 * Sección Equipo
 * -------------------------------------------------------------------------
 */

.apls-team__title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 12px;
}

.apls-team__subtitle {
  font-size: 15px;
  color: #666666;
  text-align: center;
  margin-bottom: 48px;
}

.apls-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  max-width: 820px;
  margin: 0 auto 50px auto;
}

.apls-team__grid:last-child {
  margin-bottom: 0;
}

.apls-member {
  text-align: center;
}

.apls-member__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px auto;
  background-color: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

/* Placeholder cuando no hay imagen */
.apls-member__photo img[src*="placeholder"],
.apls-member__photo img:not([src]),
.apls-member__photo img[src=""] {
  opacity: 0;
}


/* Ocultar placeholders cuando hay imagen real */
.apls-member__photo img:not([src*="placeholder"]):not([src=""]) ~ ::before,
.apls-member__photo img:not([src*="placeholder"]):not([src=""]) ~ ::after {
  display: none;
}

.apls-member__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.apls-member__role {
  font-size: 13px;
  color: #1fb5b5;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media only screen and (max-width: 768px) {
  .apls-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .apls-member__photo {
    width: 140px;
    height: 140px;
  }

  .apls-team__title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 480px) {
  .apls-team__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .apls-member__photo {
    width: 160px;
    height: 160px;
  }
}

/* -------------------------------------------------------------------------
 * Sección Servicios
 * -------------------------------------------------------------------------
 */

#apls-services {
  padding: 70px 0 80px;
}

.apls-services__title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
}

.apls-services__intro {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 28px;
}

.apls-services__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.apls-services__list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 6px;
}

.apls-services__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #444444;
  font-size: 16px;
}

.apls-services__closing {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  max-width: 960px;
  margin-top: 12px;
}
