/* ==================== terminos.css ==================== */
@import "./variables.css";

/** TABLE OF CONTENTS PC
------------------------------------------------------------/

1 - Trabajamos Container.............................. 19-27
2 - Terminos Header................................... 29-80
3 - Terminos BreadCrumb.............................. 82-103
4 - Terminos Tabs................................... 105-156
  4.1 - Tabs Content................................ 148-156
5 - Terminos Seccion Img y Txt...................... 158-280
6 - Terminos Footer................................. 282-314
7 - Terminos BackGround y Style..................... 316-348
    
/// END TABLE OF CONTENTS PC
------------------------------------------------------------*/

/* ==================== 1 - Trabajamos Container ==================== */
.trabajamos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: white;
}

/* ==================== 2 - Terminos Header ==================== */
.trabajamos-header {
  background: var(--secundary-color);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding-bottom: 15px;
  width: 100%;
}

.trabajamos-header-content {
  background: var(--bg-gradient2);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 13rem 5rem 0rem 5rem;
  color: white;
  text-align: left;
  flex-direction: column;
}

.trabajamos-header-text {
  max-width: 800px;
  color: #fff;
}

.trabajamos-header-text h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.15;
  padding-top: 2rem;
}

.trabajamos-header-text p {
  color: #fff;
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.6;
}

.trabajamos-header-text.align-left {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ==================== 3 - Terminos BreadCrumb ==================== */
.breadcrumb {
  color: #eaf6fa;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-family: "Montserrat", Arial, sans-serif;
  opacity: 0.95;
}

.breadcrumb-link {
  color: #eaf6fa;
  transition: opacity 0.3s ease;
}

.breadcrumb-link:hover {
  opacity: 0.7;
}

.breadcrumb-current {
  font-weight: 700;
  text-decoration: underline;
}

/* ==================== 4 - Terminos Tabs ==================== */
.trabajamos-tabs {
  padding-top: 3rem;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 100%;
}

.tab-buttons {
  margin: 0 auto;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  background: transparent;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

.tab-button.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.tab-button i {
  font-size: 1.1rem;
}

/* ==================== 4.1 - Tabs Content ==================== */
.tab-content {
  display: none;
  width: 100%;
}

.tab-content.active {
  display: block;
}

/* ==================== 5 - Terminos Seccion Img y Txt ==================== */
.trabajamos-section-white {
  background: white;
  padding: 5rem 4rem;
  width: 100%;
}

.trabajamos-section-primary {
  background: var(--primary-color);
  padding: 5rem 4rem;
  width: 100%;
  color: white;
}

.trabajamos-section-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.trabajamos-section-content.reverse {
  flex-direction: row-reverse;
}

.trabajamos-text {
  flex: 1;
  padding-left: 3rem;
}

.trabajamos-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--secundary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--secundary-color);
}

.trabajamos-icon i {
  font-size: 1.5rem;
  color: white;
}

.trabajamos-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.trabajamos-section-primary .trabajamos-text h2 {
  color: white;
}

.trabajamos-text h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--secundary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trabajamos-section-primary .trabajamos-text h3 {
  color: var(--secundary-color);
}

.trabajamos-text h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  color: var(--primary-color);
}

.trabajamos-section-primary .trabajamos-text h4 {
  color: white;
}

.trabajamos-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1rem;
}

.trabajamos-section-primary .trabajamos-text p {
  color: #e0e0e0;
}

.trabajamos-text ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.trabajamos-text ol li {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0.5rem;
}

.trabajamos-section-primary .trabajamos-text ol li {
  color: #e0e0e0;
}

.trabajamos-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trabajamos-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* ==================== 6 - Terminos Footer ==================== */
.trabajamos-footer {
  background: var(--secundary-color);
  padding: 4rem 2rem;
  width: 100%;
  text-align: center;
}

.trabajamos-footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.trabajamos-footer h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}

.trabajamos-footer h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.trabajamos-footer p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
  opacity: 0.9;
}

/* ==================== 7 - Terminos BackGround y Style ==================== */
.fondo-seccion {
  width: 100%;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding-bottom: 20px;
  /* El gradiente está en el atributo style del componente */
}

.tabs-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 2.5rem auto 0 auto;
  background: transparent;
  box-shadow: none;
}

.fondo-seccion {
  position: relative;
  padding-bottom: 2.5rem;
}

.tab-buttons {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  display: flex;
  gap: 1rem;
}

/* =================== trabajamos-tablet.css =================== */
/* ------------------------------------------------------------ */
/* Estilos para la Página Cómo Trabajamos en tablet */
/* ------------------------------------------------------------ */

@media (max-width: 992px) {
  .trabajamos-header-content {
    padding: 8rem 3rem 0rem 3rem;
  }

  .trabajamos-header-text h1 {
    font-size: 2.2rem;
  }

  .trabajamos-header-text p {
    font-size: 0.9rem;
  }

  .trabajamos-section-content {
    flex-direction: row;
    gap: 2rem;
  }
  .trabajamos-section-content.reverse {
    flex-direction: column;
  }

  .trabajamos-text {
    padding-left: 0;
  }

  .trabajamos-image {
    order: -1;
  }
}

/* =================== trabajamos-mobile.css =================== */
/* ------------------------------------------------------------ */
/* Estilos para la Página Cómo Trabajamos en mobile */
/* ------------------------------------------------------------ */

@media (max-width: 767px) {
  .trabajamos-header-content {
    padding: 6rem 2rem 0rem 2rem;
  }

  .trabajamos-header-text h1 {
    font-size: 2rem;
    padding-top: 0rem;
  }

  .trabajamos-header-text p {
    font-size: 0.8rem;
  }

  .trabajamos-tabs {
    padding-top: 2rem;
  }

  .tab-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .trabajamos-section-white,
  .trabajamos-section-primary {
    padding: 3rem 2rem;
  }

  .trabajamos-section-content {
    gap: 1.5rem;
    flex-direction: column;
  }

  .trabajamos-text h2 {
    font-size: 1.8rem;
  }

  .trabajamos-text h3 {
    font-size: 0.9rem;
  }

  .trabajamos-text h4 {
    font-size: 1.1rem;
  }

  .trabajamos-text p {
    font-size: 0.9rem;
  }

  .trabajamos-text ol li {
    font-size: 0.8rem;
  }

}